I used svn to download then install :
psptoolchain
SDL
SDL_image
SDL_mixer
zlib
libpng
jpeg
All of theses libs are installed.
Then I download via SVN ; tinygl
After typing 'make' , compilation is good then the linking fails :
Code: Select all
psp-gcc -L`psp-config --pspsdk-path`/lib -L../lib mech.o sdl.o -o mech -lTinyGL -lTinyGLU -lSDL -lpsphprm -lpspdebug -lpspdisplay -lpspge -lpspaudio -lpspctrl -lpspsdk -lm -lc -lpspuser -lpsputility -lpspkernel -lm
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/libSDL.a(SDL_pspvideo.o): In function `init_gu':
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:206: undefined reference to `sceGuInit'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:207: undefined reference to `sceGuStart'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:208: undefined reference to `sceGuDispBuffer'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:213: undefined reference to `sceGuDrawBuffer'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:215: undefined reference to `sceGuClear'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:216: undefined reference to `sceGuDepthBuffer'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:217: undefined reference to `sceGuOffset'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:218: undefined reference to `sceGuViewport'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:219: undefined reference to `sceGuDepthRange'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:220: undefined reference to `sceGuScissor'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:221: undefined reference to `sceGuEnable'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:222: undefined reference to `sceGuFrontFace'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:224: undefined reference to `sceGuFinish'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:225: undefined reference to `sceGuSync'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:228: undefined reference to `sceGuDisplay'
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/libSDL.a(SDL_pspvideo.o): In function `PSP_SetVideoMode':
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:210: undefined reference to `sceGuDrawBuffer'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:211: undefined reference to `sceGuClutMode'
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/libSDL.a(SDL_pspvideo.o): In function `PSP_GuUpdateRects':
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:411: undefined reference to `sceGuStart'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:412: undefined reference to `sceGuEnable'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:413: undefined reference to `sceGuTexMode'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:414: undefined reference to `sceGuTexFunc'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:415: undefined reference to `sceGuTexFilter'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:416: undefined reference to `sceGuTexImage'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:417: undefined reference to `sceGuTexSync'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:461: undefined reference to `sceGuDrawArray'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:421: undefined reference to `sceGuGetMemory'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:461: undefined reference to `sceGuDrawArray'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:465: undefined reference to `sceGuFinish'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:466: undefined reference to `sceGuSync'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:468: undefined reference to `sceGuSwapBuffers'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:434: undefined reference to `sceGuTexImage'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:435: undefined reference to `sceGuTexSync'
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/libSDL.a(SDL_pspvideo.o): In function `PSP_SetColors':
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:484: undefined reference to `sceGuStart'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:485: undefined reference to `sceGuClutLoad'
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:486: undefined reference to `sceGuFinish'
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/libSDL.a(SDL_pspvideo.o): In function `PSP_VideoQuit':
/home/jsmadja/dev/SDL/src/video/psp/SDL_pspvideo.c:504: undefined reference to `sceGuTerm'
please help me and I promise you, I will soon release a Sudoku Homebrew :)
Thx
PS : I just download from SVN 'tests' to test if I can compile et create a SDL program for PSP and it works ... , but what the matter with TinyGL ?
[/b]