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: December 12th, 2017, 12:14 pm

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
Admin / PSXDEV
Admin / PSXDEV
Posts: 2233
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: cc1psx Error on real Windows XP Hardware

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), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: December 12th, 2017, 12:14 pm

Re: cc1psx Error on real Windows XP Hardware

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
Admin / PSXDEV
Admin / PSXDEV
Posts: 2233
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: cc1psx Error on real Windows XP Hardware

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

It's all explained perfectly clear right here: 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), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: December 12th, 2017, 12:14 pm

Re: cc1psx Error on real Windows XP Hardware

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

Shadow wrote:It's all explained perfectly clear right here: 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
Admin / PSXDEV
Admin / PSXDEV
Posts: 2233
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: cc1psx Error on real Windows XP Hardware

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), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

plumptree
Interested PSXDEV User
Interested PSXDEV User
Posts: 6
Joined: December 12th, 2017, 12:14 pm

Re: cc1psx Error on real Windows XP Hardware

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
Admin / PSXDEV
Admin / PSXDEV
Posts: 2233
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: cc1psx Error on real Windows XP Hardware

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), DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

Development Computer: Windows 98, Pentium 3 [400MHz], 128MB SDRAM, DTL-H2000, DTL-H201A, 21" Sony Trinitron CRT, CD-ROM burner, 3.25" and 5.25" Floppy Diskette Drives and a ZIP 100 Diskette Drive.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest