indyjo / Thunder-Lightning

An Open Source Futuristic Action Flight Simulator Game Inspired By Carrier Command
http://tnlgame.net
30 stars 4 forks source link

Compile issue: No <IoObject.h> include #1

Open akien-mga opened 8 years ago

akien-mga commented 8 years ago

I tried to compile TnL on Mageia 5. autoreconf -vfi went fine as soon as I added a README file in the source directory, else it just aborts. ./configure worked fine too afterwards, since I was lucky to still have cegui 0.7.9 packaged alongside 0.8.4 (the former is needed by TnL but it starting to be replaced in Linux distros and upstream projects by 0.8.x).

Then I get this compile issue:

make[5]: Entering directory '/home/akien/tmp/Thunder-Lightning/TnL-source/src/modules/actors/carrier'
g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src    -g -O2  -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/CEGUI  -MT Carrier.o -MD -MP -MF .deps/Carrier.Tpo -c -o Carrier.o Carrier.cc
In file included from ../../../../src/modules/collide/Collidable.h:5:0,
                 from ../../../../src/modules/collide/CollisionManager.h:11,
                 from Carrier.cc:7:
../../../../src/interfaces/IActor.h:4:22: fatal error: IoObject.h: No such file or directory
 #include <IoObject.h>
                      ^
compilation terminated.
akien-mga commented 8 years ago

I've checked for this "IoObject.h" or "ioobject.h" file in my distro repositories, and it doesn't seem to exist. The most notable reference I could get to it was from OpenFOAM, but I guess it's probably not what you need here :)

indyjo commented 8 years ago

Thanks for the feedback!

IoObject.h is part of Io, the scripting language that TnL uses: https://github.com/stevedekorte/io

Maybe you can find RPM packages for it, but probably you'll have to compile it, too.

akien-mga commented 8 years ago

Thanks. A check for Io in /usr(/local)/include should likely be added to the configure script then.