Langhole
21-03-2007 00:49:39
Okeedoke, Hi there I'm langford.. been reading the forums a while now, and experimenting with the wicked awesome ogre rendering engine.. recently I've been playing a bit with OgreNewt. I've got a 'milestone' due in a couple days, need to show off a bit of what I've learned thus far, and I'd really like to have a vehicle in there..
I extended the OgreNewt::Vehicle class (by re-writing and tweaking the SimpleVehicle example class) and I made 'MyVehicle' which is located in it's own header. Everything worked fine until I added the vehicle class, and tried to initialize it, then when I compiled, I got this error:
I'm not sure 'which' code to put up here to help solve my problem, and I think I've included all the needed directories for libraries/includes, and set up the dependencies correctly... as I said I've not had many problems up to this point that I haven't been able to fix.. I'm just at a loss as to what to do about this linker error... I'd appreciate any help.
Thanks
I extended the OgreNewt::Vehicle class (by re-writing and tweaking the SimpleVehicle example class) and I made 'MyVehicle' which is located in it's own header. Everything worked fine until I added the vehicle class, and tried to initialize it, then when I compiled, I got this error:
------ Build started: Project: Langframe, Configuration: Release Win32 ------
Compiling...
Langframe.cpp
Linking...
Langframe.obj : error LNK2001: unresolved external symbol "public: __thiscall MyVehicle::MyVehicle(class Ogre::SceneManager *,class OgreNewt::World *,class Ogre::Vector3 &,class Ogre::Quaternion &)" (??0MyVehicle@@QAE@PAVSceneManager@Ogre@@PAVWorld@OgreNewt@@AAVVector3@2@AAVQuaternion@2@@Z)
bin\Release\Langframe.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://e:\Angry Man\C++ Projects\Langframe\Langframe\obj\Release\BuildLog.htm"
Langframe - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I'm not sure 'which' code to put up here to help solve my problem, and I think I've included all the needed directories for libraries/includes, and set up the dependencies correctly... as I said I've not had many problems up to this point that I haven't been able to fix.. I'm just at a loss as to what to do about this linker error... I'd appreciate any help.
Thanks