advancingu / QmlOgre

Integrates Ogre3D into Qt QML scenes by rendering Ogre to FBOs.
Other
81 stars 26 forks source link

Building on OSX #2

Closed drewpotter closed 7 years ago

drewpotter commented 10 years ago

When building on OSX I get the following errors:

/lib/ogreengine.cpp:101: error: use of undeclared identifier 'GL_ATOMIC_COUNTER_BUFFER' m_ogreContext->functions()->glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, 0);

lib/ogreengine.cpp:104: error: use of undeclared identifier 'GL_DRAW_INDIRECT_BUFFER' m_ogreContext->functions()->glBindBuffer(GL_DRAW_INDIRECT_BUFFER, 0);

drewpotter commented 10 years ago

Note, everything builds fine on Linux, but now I am trying OSX...

advancingu commented 9 years ago

Sorry, never got around to responding. Did you get the code to work on OSX? I believe some of the GL constants are not available with all platforms and / or drivers.

drewpotter commented 9 years ago

I did not manage to get it working on OSX perhaps I can get it to work by changing the code slightly?

advancingu commented 9 years ago

Simply try with the failing constants commented out.

drewpotter commented 9 years ago

I commented out those lines and it compiles fine.

Then I get the error when linking: framework not found Ogre

advancingu commented 9 years ago

Not sure what that is. Probably it is not finding the Ogre library or the one it finds is not compatible to be linked. I would double-check that Ogre is correctly built and visible to the linker.