Ogre3D 1.10 complie error

Problems building or running the engine, queries about how to use features etc.
Post Reply
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Ogre3D 1.10 complie error

Post by chuanFang »

I follow the compile steps in the QuickStart to compile, with VisualStudio 13.I have tried V1-10, when I CMAKE selected RenderingSystem_GL, vs2013 will reporte this error,
"std:::pair<_Ty1, _Ty2>::second use undefined class ogre::GLStateCacheManager" and "can't open RenderSystem_GL_d.lib"???.But uncheck this option, it is out of a lot of mistakes...

I have build boost and the CMAKE configration as you can see in attachment .

I need your help!!! Thanks!!!
Attachments
CMAKE Remind
CMAKE Remind
boost lib and include
boost lib and include
CMAKE CONFIGRATION
CMAKE CONFIGRATION
QQ截图20170427232839.png (6.08 KiB) Viewed 1443 times
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Re: Ogre3D 1.10 complie error

Post by chuanFang »

There is the result of VS2013 when I ALL_BUILD
Attachments
VS2013 Compile error
VS2013 Compile error
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1280
Contact:

Re: Ogre3D 1.10 complie error

Post by dark_sylinc »

Could you post the contents of CMakeCache.txt? (if it's too large to post just upload it somewhere else, no problem)
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Re: Ogre3D 1.10 complie error

Post by chuanFang »

dark_sylinc wrote:Could you post the contents of CMakeCache.txt? (if it's too large to post just upload it somewhere else, no problem)
Do you mean my CMAKE configuration problem?
Attachments
CMakeCache.txt
CMAKECache.txt
(59.69 KiB) Downloaded 57 times
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1280
Contact:

Re: Ogre3D 1.10 complie error

Post by dark_sylinc »

I was able to reproduce this error very easily, you did nothing wrong. It seems latest commits at 1.10 are broken on VS 2013; I am contacting Pavel who is the maintainer of the 1.10 branch
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Re: Ogre3D 1.10 complie error

Post by chuanFang »

dark_sylinc wrote:Could you post the contents of CMakeCache.txt? (if it's too large to post just upload it somewhere else, no problem)
Not only on VS2013, the same error on VS2012. When I complie the V2-1, it reports many deffrent errors
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Re: Ogre3D 1.10 complie error

Post by chuanFang »

dark_sylinc wrote:I was able to reproduce this error very easily, you did nothing wrong. It seems latest commits at 1.10 are broken on VS 2013; I am contacting Pavel who is the maintainer of the 1.10 branch
Have you solved this problem?
By the way, I couldn't download the Unofficial pre-built SDK, when I click on those url,it will fail to respond
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: Ogre3D 1.10 complie error

Post by paroj »

will be fixed in the next release. as a workaround add
#include "OgreGLStateCacheManager.h"

or disable RenderSystemGL and use GL3Plus instead.
Crashy
Google Summer of Code Student
Google Summer of Code Student
Posts: 1005
Joined: Wed Jan 08, 2003 9:15 pm
Location: Lyon, France
x 49
Contact:

Re: Ogre3D 1.10 complie error

Post by Crashy »

I've sent a pull request with a fix earlier this morning.

https://bitbucket.org/sinbad/ogre/pull- ... l3-rs/diff
Follow la Moustache on Twitter or on Facebook
Image
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Re: Ogre3D 1.10 complie error

Post by chuanFang »

Crashy wrote:I've sent a pull request with a fix earlier this morning.

https://bitbucket.org/sinbad/ogre/pull- ... l3-rs/diff
It works! Thanks!
How did you positioning this problem? I counldn't fix it when it happend to me
chuanFang
Gnoblar
Posts: 7
Joined: Wed Apr 26, 2017 5:11 am

Re: Ogre3D 1.10 complie error

Post by chuanFang »

paroj wrote:will be fixed in the next release. as a workaround add
#include "OgreGLStateCacheManager.h"

or disable RenderSystemGL and use GL3Plus instead.
Another questions: when I run the basic tutorial:Set up An Application, if I check the FullScreen "NO" in my RenderSystem Configruation, it always pop-up an error just likes this
Attachments
error
error
RenderSystem config
RenderSystem config
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: Ogre3D 1.10 complie error

Post by paroj »

Post Reply