cc1psx Error on real Windows XP Hardware

General help for the PSY-Q SDK, such as setting the SDK up, compiling correctly, linking and debugging
Post Reply
plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: Dec 12, 2017

cc1psx Error on real Windows XP Hardware

Post by plumptree » December 12th, 2017, 12:31 pm

Ok, to start off I am running Windows XP Home Edition with SP3 installed.

I have installed the PSY-Q SDK to the C:\ directory and installed the Windows 7 Environment Variables (The Windows XP one wouldn't install for some strange reason) and I am now stuck at compiling the Hello World project. I director the cmd prompt to the correct directory and it starts to compile. This is what the cmd window says:

Code: Select all

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\MYNAME>cd C:\psyq\projects\hiworld\source

C:\psyq\projects\hiworld\source>psymake
PsyMake version 1.14  copyright SN Systems Software Ltd 1993
C:\psyq\bin\ccpsx.EXE -03 -Xo$80010000 main.c -omain.cpe,main.sym,mem.map
cc1psx: C:\TEMP/cta04020: No such file or directory
Bad return code - make aborted
I have looked up a previous topic discussion exactly like this that told me to delete the PSPATCH.BAT because they said it was useless. The topic is linked here

Can anyone help me with this as I am learning C for a class and want to use my knowledge to make some simple PSX games.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 12th, 2017, 2:56 pm

Your environment variables are setup wrong. Fix them, and that error will go.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: Dec 12, 2017

Post by plumptree » December 12th, 2017, 3:33 pm

Shadow wrote:Your environment variables are setup wrong. Fix them, and that error will go.
And how would I go about doing that? Are there other files that I would need to install or delete from the registry?

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 12th, 2017, 7:03 pm

It's all explained perfectly clear right here: http://www.psxdev.net/forum/viewtopic.php?f=49&t=206
If you still don't understand, Google 'Windows XP Environment Variables' and learn how to set them up.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: Dec 12, 2017

Post by plumptree » December 13th, 2017, 4:13 pm

Shadow wrote:It's all explained perfectly clear right here: http://www.psxdev.net/forum/viewtopic.php?f=49&t=206
If you still don't understand, Google 'Windows XP Environment Variables' and learn how to set them up.
Thank you for taking your time to help me, but it still doesn't work. I have manually added the Environment Variables and used both of the files and it did do something: change the directory of the error.

It went from "cc1psx: C:\TEMP/cta04020" to "cc1psx: C:\TEMP/cta02520"

I feel like an idiot but I unfortunately cannot do anything else to change in the Environment Variables

Also, thank you for reccommending that I research Environment Variables. I learned something new. *Queue the 'The More You Know' jingle

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 13th, 2017, 4:33 pm

Hmm. See if the directory C:\TEMP exists. If not, create it. If that still doesn't work, something is still wrong with the variables.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: Dec 12, 2017

Post by plumptree » December 13th, 2017, 5:41 pm

Shadow wrote:Hmm. See if the directory C:\TEMP exists. If not, create it. If that still doesn't work, something is still wrong with the variables.
I am idiot, there was no C:\TEMP\ directory.

Thank you for dealing with me.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 13th, 2017, 5:56 pm

No problem. Glad it's working now :)
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
MrQuetch
Active PSXDEV User
Active PSXDEV User
Posts: 42
Joined: Apr 01, 2018
I am a: Programmer and artist.
Motto: You can accomplish anything.
Location: United States

Post by MrQuetch » February 16th, 2020, 12:12 pm

I just recently had this happen... That's weird that a 'Temp' folder needs to exist in the C drive. Why is this?

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » February 16th, 2020, 3:36 pm

For creating temporary assembled and output files as the compiler processes up until the linking stage.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest