Code: Select all
env = Environment()
conf = Configure(env)
if conf.CheckLib('libode'):
print 'Good, you have the ODE lib'
if conf.CheckLib('libOgreMain'):
print 'Good, you have OGRE'
SConscript(['src/SConscript'])
SConscript(['dependencies/tiny/SConscript'])
env = conf.Finish()
Code: Select all
list = ['Builder.cpp', 'CollideableObject.cpp', 'Container.cpp', 'GameIterator.cpp', 'GameStateController.cpp', 'InGameInputHandler.cpp', 'InGameMenuInputHandler.cpp', 'MenuInputHandler.cpp', 'NamedObject.cpp', 'NCGLog.cpp', 'OpenFragApplication.cpp', 'openFrag.cpp','Physics.cpp', 'PhysicsCube.cpp' , 'WalkInputHandler.cpp']
Object(list,LIBS=['tinyXML','OgreMain','OgrePlatform'],LIBPATH=['#/dependencies/tiny/' , '/usr/local/lib/'])Code: Select all
[bana@localhost techdemo_v6]$ scons
scons: Reading SConscript files ...
Checking for main() in C library libode... yes
Good, you have the ODE lib
Checking for main() in C library libOgreMain... yes
Good, you have OGRE
scons: done reading SConscript files.
scons: Building targets ...
g++ -c -o src/Builder.o src/Builder.cpp
src/Builder.cpp:5:18: Ogre.h: No such file or directory
In file included from src/Builder.cpp:6:
src/../include/Builder.h:31: error: `Ogre' has not been declared
src/../include/Builder.h:31: error: `String' has not been declared
