make fails in /TerrainBase.h:39 on openSuSE 10.3 x86_84

make fails in /TerrainBase.h:39 on openSuSE 10.3 x86_84

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
dell
Posts: 2
Joined: 01 Aug 2008, 22:17

make fails in /TerrainBase.h:39 on openSuSE 10.3 x86_84

Post by dell »

Listmates,

I am running into an error trying to compile the latest version of spring on openSuSE 10.3 x86_64. cmake completed fine. The error occurs during make and is shown below. Can anyone give me some additional wisdom to help get this compiled? Anything to stop my son from asking "have you got it yet dad?"

23:50 nirvana/usr/local/games/spring> sudo make
Updating bitmaps.sdz
Updating springcontent.sdz
Updating maphelper.sdz
Updating cursors.sdz
[ 0%] Built target gamedata
[ 8%] Built target streflop
[ 12%] Built target lua
[ 14%] Built target luabind
[ 15%] Built target 7zip
[ 16%] Built target hpiutil2
[ 17%] Built target minizip
[ 17%] Building CXX object rts/CMakeFiles/spring.dir/Map/ReadMap.cpp.o
In file included from /usr/local/games/spring/rts/Map/SM3/terrain/TerrainBase.h:39,
from /usr/local/games/spring/rts/Map/SM3/Sm3Map.h:6,
from /usr/local/games/spring/rts/Map/ReadMap.cpp:19:
/usr/include/IL/il.h:448: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:448: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:449: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:449: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:456: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:456: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:467: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:467: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:469: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:469: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:472: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:472: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:473: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:473: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:476: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:476: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:492: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:492: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:504: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:504: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:505: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:505: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:506: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:506: error: invalid use of ├óÔé¼╦£ILvoid├óÔé¼Ôäó
/usr/include/IL/il.h:521: error: ├óÔé¼╦£<anonymous>├óÔé¼Ôäó has incomplete type
/usr/include/IL/il.h:521: 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

As always, any help will be appreciated.
User avatar
dell
Posts: 2
Joined: 01 Aug 2008, 22:17

Re: make fails in /TerrainBase.h:39 on openSuSE 10.3 [SOLVED]

Post by dell »

The "devil" was in the details:

The problem was not having the right libdevil installed. I found the FAQ for other distros, installed another version of libdevil and it is compiling as we speak.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: make fails in /TerrainBase.h:39 on openSuSE 10.3 x86_84

Post by imbaczek »

yeah, that's a known problem with devil.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: make fails in /TerrainBase.h:39 on openSuSE 10.3 x86_84

Post by koshi »

there's packages available for suse: http://download.opensuse.org/repositori ... .3/x86_64/
http://trac.springlobby.info/wiki/Insta ... ndMandriva

anybody know why there's no page for suse in the setupguide anymore? http://spring.clan-sy.com/wiki/SetupGuide
Post Reply

Return to “Linux”