Jarkko
23-09-2006 08:41:25
I am trying to build this
http://koti.mbnet.fi/niempi2/testi.zip
simple ogre newton application with code::blocks and minigw but I keep getting following errors.
C:\ohjelmointi\testi\main.cpp:17: undefined reference to `OgreNewt::World::World()'
C:\ohjelmointi\testi\main.cpp:23: undefined reference to `OgreNewt::World::~World()'
C:\ohjelmointi\testi\main.cpp:23: undefined reference to `OgreNewt::World::~World()'
C:\ohjelmointi\testi\main.cpp:23: undefined reference to `OgreNewt::World::~World()'
:: === Build finished: 4 errors, 0 warnings ===
I have added OgreNewt_Main.lib to the additional debendencies. Does ogre newt require some other libraries or is it supposed to work by just adding OgreNewt_Main.lib. If I remove the lines where I use ogrenewt the program builds fine.
http://koti.mbnet.fi/niempi2/testi.zip
simple ogre newton application with code::blocks and minigw but I keep getting following errors.
C:\ohjelmointi\testi\main.cpp:17: undefined reference to `OgreNewt::World::World()'
C:\ohjelmointi\testi\main.cpp:23: undefined reference to `OgreNewt::World::~World()'
C:\ohjelmointi\testi\main.cpp:23: undefined reference to `OgreNewt::World::~World()'
C:\ohjelmointi\testi\main.cpp:23: undefined reference to `OgreNewt::World::~World()'
:: === Build finished: 4 errors, 0 warnings ===
I have added OgreNewt_Main.lib to the additional debendencies. Does ogre newt require some other libraries or is it supposed to work by just adding OgreNewt_Main.lib. If I remove the lines where I use ogrenewt the program builds fine.