Compiling under Linux

Aug 28, 2008, 1:28 am
#1
Joined: Aug 18, 2008
Posts: 3
There's a few errors with compiling IVAN on a recent Linux distro but luckily they're fairly easy to correct.
FeLib/Include/fearray.h: line 37. Change "inline fearray::fearray(const fearray& A)" to "inline fearray::fearray(const fearray& A)"

FeLib/Include/fearray.h: line 45. Change "inline fearray::fearray(const type* Array, sizetype Size)" to "inline fearray::fearray(const type* Array, sizetype Size)"

Main/Source/script.cpp: line 474. Change "contentscript::contentscript()" to "contentscript::contentscript()"

Main/Source/script.cpp: line 501. Change "contentscript::contentscript()" to "contentscript::contentscript()"

Main/Source/script.cpp: line 595. Change "contentscript::contentscript()" to "contentscript::contentscript()"

Main/Source/script.cpp: line 682. Change "template contentmap::contentmap() : ContentMap(0) { }" to "template contentmap::contentmap() : ContentMap(0) { }"

You also have to then run:
./configure CXXFLAGS=
make
make install

Without "CXXFLAGS=" IVAN will compile but crash as soon as you leave town. The code should probably be fixed instead but that's beyond my abilities. This won't work for the latest CVS of IVAN as it makes some code changes that break compiling. This has been tested on Kubuntu 8.04 32bit.

I'll try and create a patch file during the weekend and have a look at the CVS code.
Aug 31, 2008, 1:59 pm
#2
Joined: Mar 25, 2008
Posts: 9
I've already done all that. check the livan source thread.
Jump to