![]() |
SDL2_mixer not finding SDL2 on ./configure | ![]() |
![]() |
![]() |
mr_tawan
![]() |
![]() |
One thing I can think of is the cygwin version of GCC (or gcc in general, I'm not really sure) is no longer supporting the option "-mno-cygwin". I remember that I have to remove this option from the configure script.
|
||||||||||
|
![]() |
![]() |
Jimothey
![]() |
![]() |
Thank you for your reply.
Just so i'm not screwing anything up I just remove the text in bold? or should I remove the BASE_LDFLAGS aswell? case "$host" in *-*-cygwin*) # We build SDL on cygwin without the UNIX emulation layer BASE_CFLAGS="-I/usr/include/mingw -mno-cygwin" BASE_LDFLAGS="-mno-cygwin" ;; *) BASE_CFLAGS="-D_GNU_SOURCE=1" BASE_LDFLAGS="" ;; |
||||||||||
|
![]() |
![]() |
Jimothey
![]() |
![]() |
I got rid of both, and it configured great. make make install went well too.
But now when configuring the orginal source code. it comes up with 'cannot find SDL 1.1.6 or higher' see sdl-config. Now I know through my limited experience that it's trying to find a file that isn't really there, because the file that IS there is sdl2-config! Is there anyway I can make it look at that file? should I just change add 'sdl-config' references in the configure file? I have tried to install SDL 1.2 just to see what happens, and it's not liking me either. it stops configuring with the error: checking size of void *... configure: error: cannot compute sizeof (void *) |
||||||||||
|
![]() |
![]() |
mr_tawan
![]() |
![]() |
It looks like your code ueses SDL 1.2 but you're trying to link it against SDL 2. Is that so ? SDL2 and SDL1.2 are pretty much different libraries. You have to update your code/build script to use the SDL2 instead of SDL1.2, they are not drop-in interchangeable
|
||||||||||
|
![]() |
![]() |
Jimothey
![]() |
![]() |
I feared that may be the case. Thank you for the confirmation.
Onto the next query:
|
||||||||||||
|