Agoln wrote:Your path is wrong. Check out wiki.pspdev.org/psp:programming_faq
I followed the instructions in the second post and checked my paths (in the start.bat at least) again and again. The path is correct, as he finds the make.exe
Do I need more stuff (cygwin?). I installed that and started cygwin.bat, but no difference.
I say your pathing is wrong becuase of that. There is no reason for a \/ in your -I. That is confusing it. Check out what your variable for PSPSDK. In http://wiki.pspdev.org/psp:programming_faq you will see that it tells you to set your variables to:
j@DESK /usr/local/pspdev/psp/sdk/samples/ir/sircs
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o mai
n.c
main.c:67: error: parse error before 'args'
main.c: In function 'main':
main.c:95: error: 'SceCtrlData' undeclared (first use in this function)
main.c:95: error: (Each undeclared identifier is reported only once
main.c:95: error: for each function it appears in.)
main.c:95: error: parse error before 'pad'
main.c:103: error: 'PSP_CTRL_MODE_DIGITAL' undeclared (first use in this functio
n)
main.c:113: error: 'pad' undeclared (first use in this function)
main.c:118: error: 'PSP_CTRL_CIRCLE' undeclared (first use in this function)
main.c:124: error: 'PSP_CTRL_CROSS' undeclared (first use in this function)
main.c:130: error: 'PSP_CTRL_SQUARE' undeclared (first use in this function)
make: *** [main.o] Error 1
j@DESK /usr/local/pspdev/psp/sdk/samples/controller/basic
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o ma
n.c
main.c:43: error: parse error before 'args'
main.c: In function 'main':
main.c:71: error: 'SceCtrlData' undeclared (first use in this function)
main.c:71: error: (Each undeclared identifier is reported only once
main.c:71: error: for each function it appears in.)
main.c:71: error: parse error before 'pad'
main.c:77: error: 'PSP_CTRL_MODE_ANALOG' undeclared (first use in this function
main.c:82: error: 'pad' undeclared (first use in this function)
main.c:88: error: 'PSP_CTRL_SQUARE' undeclared (first use in this function)
main.c:91: error: 'PSP_CTRL_TRIANGLE' undeclared (first use in this function)
main.c:94: error: 'PSP_CTRL_CIRCLE' undeclared (first use in this function)
main.c:97: error: 'PSP_CTRL_CROSS' undeclared (first use in this function)
main.c:101: error: 'PSP_CTRL_UP' undeclared (first use in this function)
main.c:104: error: 'PSP_CTRL_DOWN' undeclared (first use in this function)
main.c:107: error: 'PSP_CTRL_LEFT' undeclared (first use in this function)
main.c:110: error: 'PSP_CTRL_RIGHT' undeclared (first use in this function)
main.c:114: error: 'PSP_CTRL_START' undeclared (first use in this function)
main.c:117: error: 'PSP_CTRL_SELECT' undeclared (first use in this function)
main.c:120: error: 'PSP_CTRL_LTRIGGER' undeclared (first use in this function)
main.c:123: error: 'PSP_CTRL_RTRIGGER' undeclared (first use in this function)
make: *** [main.o] Error 1
Subzero: How old is your SDK? I would think about upgrading it, along with your toolchian.
Quetz67: Nem's HelloWorld is pretty dated, and is not really how developers develop the application. I would look into getting the SDK up and running before trying to mess with the hello world app.
hi, sorta new to programing the psp and i got a problem that i cant seem to figure out how to fix. im trying to compile that sdktest thing and when i try to this comes up:
C:\MinGW\bin\make.exe (2572): *** system shared memory version mismatch detected
- 0x75BE0074/0x75BE0081.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
btw im using dos to do this and i did install the pspsdk thing and did that extract and place thing and tried compiling, nothing.
i installed MinGW and tried compiling, nothing.
tried copying everything that was in PSPDev into MinGW, STILL NOTHING!
i dont want to try to install cygwin cus im on bellsouth dsl light and i know that it would take FOREVER to download and install.