fzh
21-01-2009 14:07:03
Hi, recently I was upgrading my engine to newest bleeding nxogre. Everything was fine until I tried creating the terrain.
error LNK2001: unresolved external symbol "public: __thiscall NxOgre::Terrain::Terrain(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Ogre::Vector3,class NxOgre::ShapeParams const &,class NxOgre::TerrainParams const &)" (??0Terrain@NxOgre@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VVector3@Ogre@@ABVShapeParams@1@ABVTerrainParams@1@@Z)
This is the error I get, I'm very sure the library file, and source file are of the same version of nxOgre. Would appreciate if anyone could help with this. Thanks.
BTW, using visual studio 2005 SP1
String heightmap = terrainCfg->getSetting("Heightmap.image");
NxOgre::Terrain* mTerrain = new NxOgre::Terrain(heightmap, Vector3(6000,400,6000),"","");
mGround = mScene->createActor("terrain", mTerrain, Vector3::ZERO, "static: yes");
error LNK2001: unresolved external symbol "public: __thiscall NxOgre::Terrain::Terrain(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class Ogre::Vector3,class NxOgre::ShapeParams const &,class NxOgre::TerrainParams const &)" (??0Terrain@NxOgre@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VVector3@Ogre@@ABVShapeParams@1@ABVTerrainParams@1@@Z)
This is the error I get, I'm very sure the library file, and source file are of the same version of nxOgre. Would appreciate if anyone could help with this. Thanks.
BTW, using visual studio 2005 SP1