Compile fail on Mac OS X

Compile fail on Mac OS X

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

Post Reply
ptesone
Posts: 2
Joined: 12 Jan 2010, 20:43

Compile fail on Mac OS X

Post by ptesone »

Hi

I didn't know where to post this so I guess Linux is the next closest place for this. . .

I've downloaded latest spring source spring_0.80.5.2_src.tar.gz

and my compile goes great upto 30% when all of the sudden I get this:

Code: Select all

In file included from /Users/me/Desktop/spring_0.80.5.2/rts/Map/SM3/terrain/TerrainBase.h:39,
                 from /Users/me/Desktop/spring_0.80.5.2/rts/Map/SM3/Sm3Map.h:6,
                 from /Users/me/Desktop/spring_0.80.5.2/rts/Map/ReadMap.cpp:20:
/opt/local/include/IL/il.h:448: error: ÔÇÿ<anonymous>ÔÇÖ has incomplete type
/opt/local/include/IL/il.h:448: error: invalid use of ÔÇÿILvoidÔÇÖ
make[2]: *** [rts/CMakeFiles/spring.dir/Map/ReadMap.cpp.o] Error 1
make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2
make: *** [all] Error 2
anybody else have this compile issue??

thanx!
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Compile fail on Mac OS X

Post by Tobi »

http://springrts.com/wiki/Building_Spri ... 2F_ALCvoid

Alternatively (if updating is not an option), you can search replace in il.h and ilu.h '(ILvoid)' -> '(void)'. (including parentheses, excluding quotes)
Post Reply

Return to “Mac OS X”