I try to run the first example in nxogre wiki
http://www.ogre3d.org/wiki/index.php/Bl ... l_2_Source
and i get :
-------------- Build: Release in FirstOgreProject ---------------
Compiling: main.cpp
In file included from ../../../dev/nxOgre/build/source/NxOgreStable.h:29,
from ../../../dev/nxOgre/build/source/NxOgreAccumulativeSceneTimer.h:29,
from ../../../dev/nxOgre/build/linux/source/NxOgre.h:29,
from /home/jonathan/workspace/teste/FirstOgreProject/main.cpp:3:
../../../dev/nxOgre/build/linux/source/NxOgreConfiguration.h:93: warning: ignoring #pragma warning
../../../dev/nxOgre/build/linux/source/NxOgreConfiguration.h:96: warning: ignoring #pragma warning
../../../dev/nxOgre/build/linux/source/NxOgreConfiguration.h:99: warning: ignoring #pragma warning
../../../dev/nxOgre/build/linux/source/NxOgreConfiguration.h:102: warning: ignoring #pragma warning
../../../dev/nxOgre/build/linux/source/NxOgreConfiguration.h:105: warning: ignoring #pragma warning
../../../dev/nxOgre/build/linux/source/NxOgreConfiguration.h:108: warning: ignoring #pragma warning
In file included from ../../../dev/nxOgre/build/source/NxOgreErrorStream.h:34,
from ../../../dev/nxOgre/build/source/NxOgreCommon.h:31,
from ../../../dev/nxOgre/build/source/NxOgreAccumulativeSceneTimer.h:30,
from ../../../dev/nxOgre/build/linux/source/NxOgre.h:29,
from /home/jonathan/workspace/teste/FirstOgreProject/main.cpp:3:
../../../dev/nxOgre/build/source/NxOgreSharedStringStream.h: In function ‘NxOgre::SharedStringStream& NxOgre::operator<<(NxOgre::SharedStringStream&, double)’:
../../../dev/nxOgre/build/source/NxOgreSharedStringStream.h:216: warning: format ‘%Lf’ expects type ‘long double’, but argument 4 has type ‘double’
../../../dev/nxOgre/build/source/NxOgreSharedStringStream.h:216: warning: format ‘%Lf’ expects type ‘long double’, but argument 4 has type ‘double’
In file included from ../../../dev/nxOgre/build/source/NxOgreCommon.h:35,
from ../../../dev/nxOgre/build/source/NxOgreAccumulativeSceneTimer.h:30,
from ../../../dev/nxOgre/build/linux/source/NxOgre.h:29,
from /home/jonathan/workspace/teste/FirstOgreProject/main.cpp:3:
../../../dev/nxOgre/build/source/NxOgreSharedBuffer.h: In member function ‘void NxOgre::SharedBuffer<T>::reserve(size_t, bool)’:
../../../dev/nxOgre/build/source/NxOgreSharedBuffer.h:117: warning: suggest explicit braces to avoid ambiguous ‘else’
../../../dev/nxOgre/build/source/NxOgreSharedBuffer.h: In member function ‘void NxOgre::SharedBuffer<T*>::reserve(size_t, bool)’:
../../../dev/nxOgre/build/source/NxOgreSharedBuffer.h:219: warning: suggest explicit braces to avoid ambiguous ‘else’
In file included from ../../../dev/nxOgre/build/source/NxOgreFluidDescription.h:32,
from ../../../dev/nxOgre/build/linux/source/NxOgre.h:58,
from /home/jonathan/workspace/teste/FirstOgreProject/main.cpp:3:
../../../dev/nxOgre/build/source/NxOgreSimple.h: In function ‘void NxOgre::Functions::SimpleShapeToActorDescription(NxActorDesc&, NxOgre::SimpleShape*)’:
../../../dev/nxOgre/build/source/NxOgreSimple.h:108: warning: enumeration value ‘SimpleShape_Capsule’ not handled in switch
../../../dev/nxOgre/build/source/NxOgreSimple.h:108: warning: enumeration value ‘SimpleShape_PointCloud’ not handled in switch
../../../dev/nxOgre/build/source/NxOgreSimple.h:108: warning: enumeration value ‘SimpleShape_TriangleMesh’ not handled in switch
Linking executable: ./FirstOgreProject
obj/Release/main.o: In function `NxOgre::String::~String()':
main.cpp:(.text._ZN6NxOgre6StringD1Ev[NxOgre::String::~String()]+0x2f): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN6NxOgre6StringD1Ev[NxOgre::String::~String()]+0x40): undefined reference to `NxOgre::Memory::unallocate(void*)'
obj/Release/main.o: In function `BloodyMessTutorial2Listener::frameStarted(Ogre::FrameEvent const&)':
main.cpp:(.text._ZN27BloodyMessTutorial2Listener12frameStartedERKN4Ogre10FrameEventE[BloodyMessTutorial2Listener::frameStarted(Ogre::FrameEvent const&)]+0x1a): undefined reference to `NxOgre::TimeController::advance(float)'
obj/Release/main.o: In function `BloodyMessTutorial2::createScene()':
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0xff): undefined reference to `NxOgre::WorldDescription::WorldDescription()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x10d): undefined reference to `NxOgre::World::createWorld(NxOgre::WorldDescription const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x11e): undefined reference to `NxOgre::SceneDescription::SceneDescription()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x150): undefined reference to `NxOgre::Vec3::Vec3(float const&, float const&, float const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x16c): undefined reference to `NxOgre::Vec3::operator=(NxOgre::Vec3 const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x1b5): undefined reference to `NxOgre::Memory::copy(void*, void const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x1d0): undefined reference to `NxOgre::World::createScene(NxOgre::SceneDescription const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x1e8): undefined reference to `NxOgre::Scene::getMaterial(unsigned short const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x1f8): undefined reference to `NxOgre::Material::setStaticFriction(float)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x210): undefined reference to `NxOgre::Scene::getMaterial(unsigned short const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x220): undefined reference to `NxOgre::Material::setDynamicFriction(float)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x238): undefined reference to `NxOgre::Scene::getMaterial(unsigned short const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x248): undefined reference to `NxOgre::Material::setRestitution(float)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x297): undefined reference to `NxOgre::Memory::allocate(unsigned int, unsigned int, char const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x2ac): undefined reference to `OGRE3DRenderSystem::OGRE3DRenderSystem(NxOgre::Scene*, Ogre::SceneManager*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x2bd): undefined reference to `NxOgre::RigidBodyDescription::RigidBodyDescription()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x30f): undefined reference to `NxOgre::Vec3::Vec3(float const&, float const&, float const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x333): undefined reference to `NxOgre::Memory::allocate(unsigned int, unsigned int, char const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x33d): undefined reference to `NxOgre::ShapeBlueprint::ShapeBlueprint()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x361): undefined reference to `NxOgre::Memory::allocate(unsigned int, unsigned int, char const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x387): undefined reference to `NxOgre::Box::Box(float, float, float, NxOgre::ShapeBlueprint*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x3bd): undefined reference to `OGRE3DRenderSystem::createBody(NxOgre::Shape*, NxOgre::Vec3, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, NxOgre::RigidBodyDescription const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x3fb): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x40a): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x420): undefined reference to `NxOgre::RigidBodyDescription::RigidBodyDescription()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x472): undefined reference to `NxOgre::Vec3::Vec3(float const&, float const&, float const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x496): undefined reference to `NxOgre::Memory::allocate(unsigned int, unsigned int, char const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x4a0): undefined reference to `NxOgre::ShapeBlueprint::ShapeBlueprint()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x4c4): undefined reference to `NxOgre::Memory::allocate(unsigned int, unsigned int, char const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x4ea): undefined reference to `NxOgre::Box::Box(float, float, float, NxOgre::ShapeBlueprint*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x520): undefined reference to `OGRE3DRenderSystem::createBody(NxOgre::Shape*, NxOgre::Vec3, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, NxOgre::RigidBodyDescription const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x55e): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x56d): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x5ad): undefined reference to `NxOgre::Vec3::Vec3(float const&, float const&, float const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x5cf): undefined reference to `NxOgre::Actor::addForce(NxOgre::Vec3 const&, NxOgre::Enums::ForceMode, bool)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x5dd): undefined reference to `NxOgre::RigidBodyDescription::RigidBodyDescription()'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x71f): undefined reference to `NxOgre::Matrix44::Matrix44(float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&, float const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x757): undefined reference to `NxOgre::Vec3::Vec3(float const&, float const&, float const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x77b): undefined reference to `NxOgre::Memory::allocate(unsigned int, unsigned int, char const*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x791): undefined reference to `NxOgre::PlaneGeometry::PlaneGeometry(float, NxOgre::Vec3)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x7c0): undefined reference to `NxOgre::Scene::createSceneGeometry(NxOgre::Shape*, NxOgre::Matrix44 const&, NxOgre::RigidBodyDescription const&)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x7e8): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0x7f7): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0xacd): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0xadc): undefined reference to `NxOgre::Memory::unallocate(void*)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0xaf3): undefined reference to `NxOgre::Memory::reallocate(void*, unsigned int)'
main.cpp:(.text._ZN19BloodyMessTutorial211createSceneEv[BloodyMessTutorial2::createScene()]+0xb17): undefined reference to `NxOgre::Memory::reallocate(void*, unsigned int)'
Process terminated with status 1 (0 minutes, 3 seconds)
50 errors, 13 warnings
i think the problem is something, in linker settings or in seach directories, but i don't know what.