please excuse my simple question, I'm a beginner in using psp toolchain ...
I have installed devkitpro on a Win XP (Ming) environment for NDS and PSP. the examples for NDS compile and execute fine. but this samples for PSP compiles but give errors while linking (many samples tested).
I think there is a lib file missing but which and why? could you help me? I don't have problems with C but with this Ming and Toolkit Environment.
libfile libpspdebug.a is in folder /d/Programme/devkitPro/devkitPSP/psp/sdk/lib and make utility already uses -L/d/Programme/devkitPro/devkitPSP/psp/sdk/lib and -lpspdebug
so I don't understand why linker won't bind this lib and resolve this externals?
// well check that your path is pointing to this
/d/Programme/devkitPro/devkitPSP/psp/sdk/lib
right click My Computer->Properties, Advanced TAB->Enviroment Variables
on the bottom of window that pops up you should see System Variables
scroll window to where you see Path for Variable, now click EDIT button
then add ; after last directory then paste
/d/Programme/devkitPro/devkitPSP/psp/sdk/lib;
// and
/d/Programme/devkitPro/devkitPSP/psp/sdk/include;
it should be something similar to like C:\DEVKITPRO\DEVKITPSP\psp\sdk\lib
and C:\DEVKITPRO\DEVKITPSP\psp\sdk\include;
i dont use devkitpsp so wouldnt know but it should be something very similar
to this
Have you had any luck with this? I tried switching to devkitPSP too, but ran into the same problem. My path and all that is fine, it's finding the libraries, they just don't seem to have the functions in them.
Looks like the supplied PSPSDK is old, but I'd like to verify that.
I had a chat with WinterMute, the guy that does devkitPSP. He reckons there's a problem with r10's PSPSDK, which causes the linking errors, and recommends using r9.
R9 worked much fine for the sample apps, but we got sound corruption in Quake. Probably something we're doing rather than a problem in the toolchain, but I couldn't track it down.
He says he's doing a new release soon.
I was using the precompiled setup from http://xorloser.com , but the SDK is from Dec 2006 and is a bit out of date.
In the end I installed cygwin again and updated to the latest PSPSDK from SVN.