FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  


FIFE 0.4.0 has been released on 15th of January, 2017!

Author Topic: Problem Building FIFE  (Read 5077 times)


  • Newbie
  • Posts: 1
    • View Profile
Problem Building FIFE
« on: June 25, 2012, 05:45:37 pm »

FIFE 0.3.3r3
Ubuntu 11.10 64bit
gcc 4.6.1
swig 1.3.28

I'm following the instructions located here, but I receive this error when executing "scons."
Code: [Select]
swig -o build/engine/release/swigwrappers/python/ -outdir "engine/python/fife" -Ibuild/engine/release/core -Iengine/core -python -c++ -w511 engine/swigwrappers/python/fife.i
engine/core/loaders/native/map/iobjectloader.h:EOF: Error: Missing #endif for conditional starting on line 22
engine/core/savers/native/map/mapsaver.h:EOF: Error: Missing #endif for conditional starting on line 21
scons: *** [build/engine/release/swigwrappers/python/] Error 1
scons: building terminated because of errors.
Can someone please help me out?

Thank you.


  • Developer
  • Full Member
  • *
  • Posts: 206
    • View Profile
Re: Problem Building FIFE
« Reply #1 on: June 27, 2012, 06:46:52 pm »

Hello opticq and welcome to the fife forums.

I don't see any immediate problems from looking over the code. Can you possibly post all of the build output to maybe give us a better idea of what the problem could be? I will also ask the other guys if they have seen this or have any idea of what it could be. Hopefully we can help get this fixed soon.


  • Administrator
  • Sr. Member
  • *
  • Posts: 411
    • View Profile
Re: Problem Building FIFE
« Reply #2 on: June 29, 2012, 11:46:20 am »

AFAIR swig 1.3.28 is too old to work correctly with FIFE.

Please update SWIG to the latest version of the 2.0.x branch and FIFE should build fine.