Problem compiling new ogre

alejandro

21-04-2006 01:21:42

i dont know , but i have a problem compiling ogre with ogreNewt
i am using ogre new ( eiohrt) and , i download the last version of ogreNewt , from walaber' page , i recompiled ogreNewt with the new OgreMain , and generate the .lib , but when i compiled my project using ogrenewt
i have this problems

1>Linking...
1>OgreNewt_Main.lib(OgreNewt_Debugger.obj) : error LNK2001: unresolved external symbol "public: void __thiscall Line3D::addPoint(class Ogre::Vector3 const &)" (?addPoint@Line3D@@QAEXABVVector3@Ogre@@@Z)
1>OgreNewt_Main.lib(OgreNewt_Debugger.obj) : error LNK2001: unresolved external symbol "public: void __thiscall Line3D::drawLines(void)" (?drawLines@Line3D@@QAEXXZ)
1>OgreNewt_Main.lib(OgreNewt_Debugger.obj) : error LNK2001: unresolved external symbol "public: __thiscall Line3D::Line3D(void)" (??0Line3D@@QAE@XZ)
1>../bin/Release\Demo1.exe : fatal error LNK1120: 3 unresolved externals

whats happening , thanks a lot

OvermindDL1

21-04-2006 01:43:25

You need to include the Line3d.h/cpp files into the project. :)

alejandro

21-04-2006 02:40:52

ok , i do , i add the line3d.cpp and line3d.h to my project , and it built succeeded , but i tried to run , one strange error came up


alejandro

21-04-2006 03:00:21

i just finish to replace the the ogremain.dll , with C:\OGRE\ogrenew\OgreMain\lib\Release\OgreMain.dll

and the error changed!



OvermindDL1

21-04-2006 03:28:11

You don't have your game thing setup correctly. Make sure to copy in all dll's and setup your config files properly.