The Cathedral of Attnam

Iter Vehemens ad Necem (IVAN)
Login
Username
Password


 Valid CSS  Valid HTML 4.01 Strict

Compiling under Linux

The Cathedral of Attnam  >  Programming
Print

View profile
Send messageSend email
Find posts Find topics
 
Aug 28, 2008 at 6:28 am #1  !
danmal
giant mushroom


Joined: Aug 18, 2008
Posts: 3
Compiling under Linux
There's a few errors with compiling IVAN on a recent Linux distro but luckily they're fairly easy to correct.

Code


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:

Code


./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.
 
 
View profile
Send message
Find posts Find topics
 
Aug 31, 2008 at 6:59 pm #2  !
nukes
hedgehog


Joined: Mar 25, 2008
Posts: 9
I've already done all that. check the livan source thread.
 
 
 Print


The Cathedral of Attnam  >  Programming  >  Compiling under Linux

Jump to