Welcome, Guest. Please login or register.
Did you miss your activation email?
September 03, 2010, 04:26:33 PM
Home Help Search Login Register
News: FIFE 0.3.1 has been released!

+  FIFE forums
|-+  FIFE Development
| |-+  Framework development
| | |-+  Build under ubuntu 9.10
« previous next »
Pages: [1] Print
Author Topic: Build under ubuntu 9.10  (Read 673 times)
omargomez
Newbie

Posts: 2


View Profile
« on: March 02, 2010, 02:44:46 AM »

Hi,

I'm trying to build FIFE under Ubuntu 9.10. I'm stuck because of the following error:

g++ -o build/engine/release/swigwrappers/python/py_fife_wrap.os -c -O2 -Wall -Wno-unused -fPIC -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_OPENGL -DHAVE_ZIP -DLOG_ENABLED -I/opt/include -I/usr/include/vorbis -I/usr/include/SDL -I/usr/include/python2.6 -Iext/install/include -Iengine/core build/engine/release/swigwrappers/python/fife_wrap.cc
build/engine/release/swigwrappers/python/fife_wrap.cc: In function ‘void handleDirectorException()’:
build/engine/release/swigwrappers/python/fife_wrap.cc:5891: warning: deprecated conversion from string constant to ‘char*’
build/engine/release/swigwrappers/python/fife_wrap.cc:5892: warning: deprecated conversion from string constant to ‘char*’
build/engine/release/swigwrappers/python/fife_wrap.cc:5893: warning: deprecated conversion from string constant to ‘char*’
In file included from /usr/include/png.h:481,
                 from engine/core/video/image.h:30,
                 from build/engine/release/swigwrappers/python/fife_wrap.cc:6988:
/usr/include/pngconf.h: At global scope:
/usr/include/pngconf.h:335: error: expected constructor, destructor, or type conversion before ‘.’ token
/usr/include/pngconf.h:336: error: ‘__dont__’ does not name a type
scons: *** [build/engine/release/swigwrappers/python/py_fife_wrap.os] Error 1
scons: building terminated because of errors.

Any ideas?

--Omar
Logged
chewie
Developer
Full Member
*
Posts: 114



View Profile WWW
« Reply #1 on: March 02, 2010, 04:18:29 PM »

AFAIK using your own libpng isn't working under linux

use a

Code:
scons ext

beforehand to build the patched one shipped with FIFE. (you'll need to do that anyway in order to compile our patched version of guichan, too)

cheers,
chewie
Logged

Zero-Projekt, a post-nuclear cRPG | Zero-Projekt TV @youtube
omargomez
Newbie

Posts: 2


View Profile
« Reply #2 on: March 02, 2010, 04:52:03 PM »

Thanks,

I'll try that and keep you informed

--Omar
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!