iversons
30-08-2006 11:28:52
Hi,
I have got some errors when i complie as follows:
LINK : fatal error LNK1181: cannot open input file 'OgreNewt_Main.lib'
c1xx : fatal error C1083: Cannot open source file: '\Ogre_plugins\OgreNewt\demos\Include\Line3D.cpp': No such file or directory
I have already followed the instruction you provided, but I still cannot get it. Please help, thanks
I had that problem too.
Get Tortoise and get the file from cvs.
CVSROOT: :pserver:anonymous@cvs.ogre3d.org:/cvsroot/ogre
Module: ogreaddons/ogrenewt
Fill the tortoise with this data i think its the right data.
For some reason it still needs that Line3D.cpp file.
walaber
30-08-2006 17:02:51
sorry. the VC7.1 project files still had the line3d.c / h files included in the project. I removed them, and updated CVS and my website download.
iversons
31-08-2006 03:59:31
it's work...
but I still got 1 error...
LINK : fatal error LNK1181: cannot open input file 'tinyxml_STL.lib'
Where can i download the tinyxml?
I download this from
http://www.grinninglizard.com/tinyxml/, but it does not contain any lib file.
Thank you so much
Falagard
31-08-2006 04:00:40
Try compiling tinyxml then
iversons
31-08-2006 04:28:27
Would you mind to tell me how to do so?
iversons
31-08-2006 07:07:05
I have sucessfully built them!
Thanks so much!
I am trying out the tutorial one... but seems not working...
iversons
31-08-2006 07:13:21
When i complie the tutorial one.. it has the following errors:
d:\Projects\OGRE\OgreNewt_Tutorial1\OgreNewtApplication.cpp(30) : error C2664: 'OgreNewt::Body::setPositionOrientation' : cannot convert parameter 1 from 'const Ogre::Quaternion' to 'const Ogre::Vector3 &'
Reason: cannot convert from 'const Ogre::Quaternion' to 'const Ogre::Vector3'
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\Projects\OGRE\OgreNewt_Tutorial1\OgreNewtApplication.cpp(48) : error C2664: 'OgreNewt::Body::setPositionOrientation' : cannot convert parameter 1 from 'const Ogre::Quaternion' to 'const Ogre::Vector3 &'
Reason: cannot convert from 'const Ogre::Quaternion' to 'const Ogre::Vector3'
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\Projects\OGRE\OgreNewt_Tutorial1\OgreNewtApplication.cpp(72) : error C2664: 'OgreNewt::Body::setPositionOrientation' : cannot convert parameter 1 from 'const Ogre::Quaternion' to 'const Ogre::Vector3 &'
Reason: cannot convert from 'const Ogre::Quaternion' to 'const Ogre::Vector3'
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\Projects\OGRE\OgreNewt_Tutorial1\OgreNewtApplication.cpp(95) : error C2664: 'OgreNewt::Body::setPositionOrientation' : cannot convert parameter 1 from 'const Ogre::Quaternion' to 'const Ogre::Vector3 &'
Reason: cannot convert from 'const Ogre::Quaternion' to 'const Ogre::Vector3'
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\Projects\OGRE\OgreNewt_Tutorial1\OgreNewtApplication.cpp(122) : error C2661: 'OgreNewt::BasicFrameListener::BasicFrameListener' : no overloaded function takes 5 arguments
main.cpp
walaber
31-08-2006 07:44:55
oh crap. I forgot to update the demos to the new syntax. I'll fix that right now.
[edit]
no I lied.. the demos are up to date. are you SURE you have the latest version of OgreNewt?
iversons
31-08-2006 09:12:48
Yes...
The tutorial 1 is not really update...
I have check the code
in tutorial 1, there are two errors:
SetPositionOrientation(orient, pos);
OgreNewt::BasicFrameListener( mWindow, mCamera, mSceneMgr, mWorld, 120 );
I had that problem too, you are talking about the wiki tutorial right?
You only have to change SetPositionOrientation(orient,pos); for SetPositionOrientation(pos,orient);
and you have to erase mCamera from BasicFrameListener you will have to change BasicFrameListener(mWindow,mCamera, mSceneMgr, mWorld, 120 ); for BasicFrameListener(mWindow, mSceneMgr, mWorld, 120 );
I think that way it will work at least worked for me
Walaber if you can update that wiki tutorial iversen is talking about it isnt up to date i had to change that things i said
walaber
31-08-2006 21:45:57
OK. the Wiki text has been fixed, I will fix the Wiki binary download.
Thx walaber you are five stars, by the way your beta game gave me an error:
d3dx9_30.dll not found!
walaber
01-09-2006 06:28:07
yeah, I have fixed that for the next version. you can get that fixed by updating your version of DirectX (from the microsoft website), or just downloading that DLL from dll-files.com