Page 1 of 1

cc1psx Error on real Windows XP Hardware

Posted: December 12th, 2017, 12:31 pm
by plumptree
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.

Re: cc1psx Error on real Windows XP Hardware

Posted: December 12th, 2017, 2:56 pm
by Shadow
Your environment variables are setup wrong. Fix them, and that error will go.

Re: cc1psx Error on real Windows XP Hardware

Posted: December 12th, 2017, 3:33 pm
by plumptree
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?

Re: cc1psx Error on real Windows XP Hardware

Posted: December 12th, 2017, 7:03 pm
by Shadow
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.

Re: cc1psx Error on real Windows XP Hardware

Posted: December 13th, 2017, 4:13 pm
by plumptree
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

Re: cc1psx Error on real Windows XP Hardware

Posted: December 13th, 2017, 4:33 pm
by Shadow
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.

Re: cc1psx Error on real Windows XP Hardware

Posted: December 13th, 2017, 5:41 pm
by plumptree
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.

Re: cc1psx Error on real Windows XP Hardware

Posted: December 13th, 2017, 5:56 pm
by Shadow
No problem. Glad it's working now :)

Re: cc1psx Error on real Windows XP Hardware

Posted: February 16th, 2020, 12:12 pm
by MrQuetch
I just recently had this happen... That's weird that a 'Temp' folder needs to exist in the C drive. Why is this?

Re: cc1psx Error on real Windows XP Hardware

Posted: February 16th, 2020, 3:36 pm
by Shadow
For creating temporary assembled and output files as the compiler processes up until the linking stage.