yeah , there were critical changes between 1.7 and 1.8 versions .
The most common is with ms_singleton and msSingleton .
**** I removed a lot of bla bla because i've found the origin of the problem :
The Ogre devs forgot to add #include "OgreProgressiveMesh.h" into ogre.h ...
So go to ogre.h , and add under
#include "OgreParticleSystemManager.h"
#include "OgreProgressiveMesh.h"//added by ezee
Magic , your error 1 is fixed !
Edit : Okay , i have compiled and linked mesher from the 1.5.1 rc1 tag , all fine .
But i don't have used this flag yet ( in to_OgreMesh.cpp ) :
#ifdef HAVE_OGRE
you guys could check if your projects use " HAVE_OGRE " , and remove it in case you are
stucks . I will try to compile and link with it , and report later.
good luck .
edit2 : MY REPORT WITH " HAVE_OGRE " set
1>to_OgreMesh.cpp
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1084) : error C2660: 'Ogre::VertexDeclaration::getAutoOrganisedDeclaration' : function does not take 2 arguments
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1119) : error C2027: use of undefined type 'Ogre::ProgressiveMesh'
1> d:\program files\ogresdk_vc9_v1-8-1\include\ogre\OgrePrerequisites.h(240) : see declaration of 'Ogre::ProgressiveMesh'
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1119) : error C2146: syntax error : missing ';' before identifier 'quota'
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1119) : error C2065: 'quota' : undeclared identifier
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1119) : error C2027: use of undefined type 'Ogre::ProgressiveMesh'
1> d:\program files\ogresdk_vc9_v1-8-1\include\ogre\OgrePrerequisites.h(240) : see declaration of 'Ogre::ProgressiveMesh'
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1119) : error C2065: 'VRQ_PROPORTIONAL' : undeclared identifier
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1138) : error C2039: 'generateLodLevels' : is not a member of 'Ogre::Mesh'
1> d:\program files\ogresdk_vc9_v1-8-1\include\ogre\OgreMesh.h(91) : see declaration of 'Ogre::Mesh'
1>..\..\vegastrike\objconv\mesher\to_OgreMesh.cpp(1138) : error C2065: 'quota' : undeclared identifier
So remove "HAVE_OGRE" and you will compile ok .
I will try to fix the ogre problem now .
edit : fixed !