Quiest
I like turtles!
After lots of help from Alex., I was able to sort out most stuff, but
I still have the problem that my touchscreen is not working.
I got paeryns newest libs, and I got the devkit included in the RC7 code::blocks pack.
I copied the files over, but I cant use any of the functions from the sdl_gp2x.h,
like SDL_GP2X_MouseType() for example.
So guess I'm missing something here?
I'm getting the error:
CODE
error: 'SDL_GP2X_MouseType' was not declared in this scope
although the function shows up in code::blocks' code completion window.
If I include the "sdl_gp2x.h" I get the some of the following errors:
CODE
c:\devkitGP2X\lib\libSDL.a(SDL_gp2xvideo.o)||In function `SDL_GP2X_SetCursorColour'
\home\darius\svn\open2x\trunk\libs\SDL-1.2.9\src\video\gp2x\SDL_gp2xvideo.c|1274|multiple definition of `SDL_GP2X_SetCursorColour'|
c:\devkitGP2X\lib\libSDL_image.a(SDL_gp2xvideo.o):\home\Administrator\newtoolchain\SDL-1.2.9\src\video\gp2x\SDL_gp2xvideo.c|1171|first defined here|
||Warning: size of symbol `SDL_GP2X_SetCursorColour' changed from 212 in c:\devkitGP2X\lib\libSDL_image.a(SDL_gp2xvideo.o) to 220 in c:\devkitGP2X\lib\libSDL.a(SDL_gp2xvideo.o)|
Could someone shed some light on this?
I copied the .h in include\sdl\ (overwriting an older one), and the the .a to libs\ and libsgpl\
also overwriting the old ones.
My search dirs are:
Compiler:
CODE
c:\devkitGP2X\include
c:\devkitGP2X\include\SDL
c:\devkitGP2X\lib\gcc\arm-linux\4.0.2\include
Linker:
CODE
c:\devkitGP2X\lib
and my linker options are:
CODE
-static
-lfreetype
-lSDL_image
-ljpeg
-lpng12
-lz
-lSDL_mixer
-lvorbisidec
-lmikmod
-lmad
-lsmpeg
-lSDL
-lgcc
-lm
-lc
-lexpat
-lpthread
Thanks in advance for any help I can get!
I still have the problem that my touchscreen is not working.
I got paeryns newest libs, and I got the devkit included in the RC7 code::blocks pack.
I copied the files over, but I cant use any of the functions from the sdl_gp2x.h,
like SDL_GP2X_MouseType() for example.
So guess I'm missing something here?
I'm getting the error:
CODE
error: 'SDL_GP2X_MouseType' was not declared in this scope
although the function shows up in code::blocks' code completion window.
If I include the "sdl_gp2x.h" I get the some of the following errors:
CODE
c:\devkitGP2X\lib\libSDL.a(SDL_gp2xvideo.o)||In function `SDL_GP2X_SetCursorColour'
\home\darius\svn\open2x\trunk\libs\SDL-1.2.9\src\video\gp2x\SDL_gp2xvideo.c|1274|multiple definition of `SDL_GP2X_SetCursorColour'|
c:\devkitGP2X\lib\libSDL_image.a(SDL_gp2xvideo.o):\home\Administrator\newtoolchain\SDL-1.2.9\src\video\gp2x\SDL_gp2xvideo.c|1171|first defined here|
||Warning: size of symbol `SDL_GP2X_SetCursorColour' changed from 212 in c:\devkitGP2X\lib\libSDL_image.a(SDL_gp2xvideo.o) to 220 in c:\devkitGP2X\lib\libSDL.a(SDL_gp2xvideo.o)|
Could someone shed some light on this?
I copied the .h in include\sdl\ (overwriting an older one), and the the .a to libs\ and libsgpl\
also overwriting the old ones.
My search dirs are:
Compiler:
CODE
c:\devkitGP2X\include
c:\devkitGP2X\include\SDL
c:\devkitGP2X\lib\gcc\arm-linux\4.0.2\include
Linker:
CODE
c:\devkitGP2X\lib
and my linker options are:
CODE
-static
-lfreetype
-lSDL_image
-ljpeg
-lpng12
-lz
-lSDL_mixer
-lvorbisidec
-lmikmod
-lmad
-lsmpeg
-lSDL
-lgcc
-lm
-lc
-lexpat
-lpthread
Thanks in advance for any help I can get!