Immoho
02-01-2008 07:44:15
Hi
I have searched the forum.
And I didnt find how to solve these problems.
1st problem:
When I use NxOgre:: NxExport NxTriangleMesh* NxGenerateTriangleMeshFromOgreMesh(const NxString&, NxScene *scene, NxVec3 scale = NxVec3(1,1,1)),
The second param is NxScene,But what I have created is the mSceneMgr of ogre,and the mScene of NxOgre.It failed to compile when I use the mScene.
So where does the NxScene come from? Do I need to create a NxScene?
2nd problem:
When I use the NxOgre::NxCookConvexToDisk(),it ask me to pass a mesh's string name of ogre.
But there's a link error.
error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl NxOgre::NxCookTriMeshToDisk(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?NxCookTriMeshToDisk@NxOgre@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
Thanks.
I have searched the forum.
And I didnt find how to solve these problems.
1st problem:
When I use NxOgre:: NxExport NxTriangleMesh* NxGenerateTriangleMeshFromOgreMesh(const NxString&, NxScene *scene, NxVec3 scale = NxVec3(1,1,1)),
The second param is NxScene,But what I have created is the mSceneMgr of ogre,and the mScene of NxOgre.It failed to compile when I use the mScene.
So where does the NxScene come from? Do I need to create a NxScene?
2nd problem:
When I use the NxOgre::NxCookConvexToDisk(),it ask me to pass a mesh's string name of ogre.
NxOgre::NxCookConvexToDisk("ogrehead.mesh")
But there's a link error.
error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl NxOgre::NxCookTriMeshToDisk(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?NxCookTriMeshToDisk@NxOgre@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
Thanks.