Page 1 of 1

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

Posted: 08 Aug 2008, 07:17
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.

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

Posted: 08 Aug 2008, 07:50
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.

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

Posted: 08 Aug 2008, 10:17
by imbaczek
yeah, that's a known problem with devil.

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

Posted: 08 Aug 2008, 12:28
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

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

Posted: 11 Aug 2008, 07:18
by Dragon45
Image