Technical support > Mac
[FIXED] compile error: conflicting types for ‘SDL_main’
(1/1)
rimo:
Hi,
since last week I can't compile afoai anymore. make exits with an arror:
--- Code: ---macbook$ make
* [MOD] src/tools/ufomodel/ufomodel.c
src/tools/ufomodel/ufomodel.c:608: error: conflicting types for ‘SDL_main’
/opt/local/include/SDL/SDL_main.h:57: error: previous declaration of ‘SDL_main’ was here
...
--- End code ---
The ./configure script went through.
The compilation worked already before too. And I don't remember to have changed anything in the build environment (may be updated macports).
Here is also the list of installed SDL libs:
--- Code: ---macbook$ port list installed |grep libsdl
libsdl @1.2.14 devel/libsdl
libsdl_image @1.2.10 devel/libsdl_image
libsdl_mixer @1.2.11 audio/libsdl_mixer
libsdl_ttf @2.0.9 devel/libsdl_ttf
--- End code ---
Any idea what the problem might be.
Rimo
===============
System: Mac OS 10.5.8
Mattn:
please try latest revision - should already be fixed.
rimo:
Yes, it works now.
Thanks,
Rimo
Navigation
[0] Message Index
Go to full version