DrGonzo
04-03-2009 15:33:53
Hi,
I'm having trouble getting OgreNewt to work, I seem to be unable to generate a .lib file from what I downloaded and compiled, also, I seem not to have a OgreNewt_Main folder after compilation, as I've seen displayed on several sites. Or is this hierarchy no longer supported in OgreNewt?
I'm using:
Ogre 1.6.1 (Shoggoth)
OgreNewt (svn, https://svn.ogre3d.org/svnroot/ogreaddo ... t/newton20)
Newton 2.0
CMake 2.6.3
I used CMake to generate a .sln project file, I'm using Microsoft Visual Studio 2008 to build and compile OgreNewt. It finds Ogre, it finds Newton, no errors there.
When I open the .sln file, I see 5 different projects: "ALL_BUILD, INSTALL, OgreNewt, PACKAGE, ZERO_CHECK", but only OgreNewt contains a folder with source files.
When it compiles in Debug mode, it generates following files:
Debug/OgreNewt.dll
Debug/OgreNewt.idb
Debug/OgreNewt.ilk
Debug/OgreNewt.pdb
And in Release mode:
Release/OgreNewt.dll
Release/OgreNewt.idb
Now I tried some combinations, and even tried to follow a tutorial I found (http://www.newtondynamics.com/wiki/inde ... ners_guide), but it kept on throwing errors. Now it does autocomplete when I type 'OgreNewt::', as it finds that info in the header file, and has probably nothing to do with my error.
Any idea what could be wrong here?
Thanks in advance,
DrGonzo
E: The 2 errors I get when I try to create a new world object in the constructor are:
Error 1 error LNK2019: unresolved external symbol "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ) referenced in function "public: __thiscall OgreNewtApplication::OgreNewtApplication(void)" (??0OgreNewtApplication@@QAE@XZ) OgreNewtApplication.obj Ogre_Tutorial1
Error 2 fatal error LNK1120: 1 unresolved externals C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Ogre_Tutorial1\Debug\Ogre_Tutorial1.exe Ogre_Tutorial1
I'm having trouble getting OgreNewt to work, I seem to be unable to generate a .lib file from what I downloaded and compiled, also, I seem not to have a OgreNewt_Main folder after compilation, as I've seen displayed on several sites. Or is this hierarchy no longer supported in OgreNewt?
I'm using:
Ogre 1.6.1 (Shoggoth)
OgreNewt (svn, https://svn.ogre3d.org/svnroot/ogreaddo ... t/newton20)
Newton 2.0
CMake 2.6.3
I used CMake to generate a .sln project file, I'm using Microsoft Visual Studio 2008 to build and compile OgreNewt. It finds Ogre, it finds Newton, no errors there.
When I open the .sln file, I see 5 different projects: "ALL_BUILD, INSTALL, OgreNewt, PACKAGE, ZERO_CHECK", but only OgreNewt contains a folder with source files.
When it compiles in Debug mode, it generates following files:
Debug/OgreNewt.dll
Debug/OgreNewt.idb
Debug/OgreNewt.ilk
Debug/OgreNewt.pdb
And in Release mode:
Release/OgreNewt.dll
Release/OgreNewt.idb
Now I tried some combinations, and even tried to follow a tutorial I found (http://www.newtondynamics.com/wiki/inde ... ners_guide), but it kept on throwing errors. Now it does autocomplete when I type 'OgreNewt::', as it finds that info in the header file, and has probably nothing to do with my error.
Any idea what could be wrong here?
Thanks in advance,
DrGonzo
E: The 2 errors I get when I try to create a new world object in the constructor are:
Error 1 error LNK2019: unresolved external symbol "public: __thiscall OgreNewt::World::World(void)" (??0World@OgreNewt@@QAE@XZ) referenced in function "public: __thiscall OgreNewtApplication::OgreNewtApplication(void)" (??0OgreNewtApplication@@QAE@XZ) OgreNewtApplication.obj Ogre_Tutorial1
Error 2 fatal error LNK1120: 1 unresolved externals C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Ogre_Tutorial1\Debug\Ogre_Tutorial1.exe Ogre_Tutorial1