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

Tutorial compile errors on macOS #501

Open
jwwalker opened this issue Feb 24, 2025 · 0 comments
Open

Tutorial compile errors on macOS #501

jwwalker opened this issue Feb 24, 2025 · 0 comments

Comments

@jwwalker
Copy link
Contributor

System Information

  • Ogre Version: master branch, commit [ca8475d]
  • Operating System / Platform: macOS 13.7.4
  • RenderSystem: Metal
  • GPU: Radeon Pro 560X

Detailed description

When compiling for macOS, some tutorials produce a compile error. To take a specific example, try to build Tutorial_Hlms01_Customization. You get a compile error saying that Ogre::macBundlePath is unknown. This can be fixed by adding

#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE
#    include "OSX/macUtils.h"
#endif

to Tutorial_Hlms01_Customization.h after the other #includes. The same issue exists in the other Tutorial_Hlms samples, but I haven't tried all the samples.

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

1 participant