Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile issues with 1.10.0, 1.10.5, 10.12.0 #3

Closed
Belsnickle opened this issue Feb 12, 2019 · 7 comments
Closed

Compile issues with 1.10.0, 1.10.5, 10.12.0 #3

Belsnickle opened this issue Feb 12, 2019 · 7 comments

Comments

@Belsnickle
Copy link

CMakeLists.txt states Ogre 1.10 required. I tried with three 1.10 releases and got compile problems with all three. I tried compiling against 1.12 and it works and CaelumDemo runs. I took a look and saw 1.11 updates in master. Should I make a pull request for find_package to look for 1.11 now?

@paroj
Copy link
Member

paroj commented Feb 12, 2019

the changes in master should be backwards compatible so in theory it should still work with 1.10.. which errors were you getting?

@Belsnickle
Copy link
Author

1.11.5:
C2664 'void Ogre::SceneNode::removeAndDestroyChild(unsigned short)': cannot convert argument 1 from 'Ogre::SceneNode *' to 'const Ogre::String &' Plugin_Caelum C:\gamedev\library\ogre-caelum-master\main\src\SkyLight.cpp 37

static_cast<Ogre::SceneNode *>(mNode->getParent ())->removeAndDestroyChild (mNode);

Also I was wondering why Caelum compiles against 1.12 while still using so my deprecated calls. Is Ogre 1.12 backward compatible with 1.10 when compiling a plugin only? Whenever I include the source and headers in my project the deprecated compiler errors begin.

@Belsnickle
Copy link
Author

Belsnickle commented Feb 13, 2019

1.10.12:
Window opens to white screen then minimized. Could not tab into program. Ended program in operating system.

ogre.log

@Belsnickle
Copy link
Author

Another issue is when running in debug mode CaelumDemo looks for OgreMain.dll and company instead of OgreMain_d.dll versions.

@Belsnickle
Copy link
Author

Belsnickle commented Feb 13, 2019

Ogre v 1.12
Windows 10
OpenGL Rendersystem

Caelum, volume terrain, and paged geometry.

caelum

Everything is grey. Robots, Terrain, Trees. If I fly into a tree sometimes I can see green leaves. This is different than the CaelumDemo where the house is rendered clearly.

edit:
I used

mCaelumSystem->setManageSceneFog(FogMode::FOG_NONE);

and my meshes aren't grey anymore.

@paroj
Copy link
Member

paroj commented Feb 16, 2019

for terrain integration see #4

@paroj
Copy link
Member

paroj commented Feb 16, 2019

the other issues you are seeing are bugs that got fixed in OgreBites. closing

@paroj paroj closed this as completed Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants