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
Cinder 0.9: Tinderbox includes incorrect header file in CocoaView app #1073
Comments
It appears as though the whole CocoaView/OpenGL template needs a few updates for 0.9.0. |
Just ran into this today and trying to work around it—having a little trouble figuring out the last parts. I got the app to compile, but it crashes on launch. I've made a basic app called CinderCocoaViewTestApp that's just the result from running TinderBox. Here's what I've changed so far (happy to repost in another format that's not a git diff—wasn't sure what would be helpful):
...and also a change to MainMenu.xib to use CinderViewMac instead of CinderView (omitted from diff). The app crashes on launch when executing If anyone has an ideas on how to work around this last hurdle, I'd be glad for the help. Thanks! |
I had to get this running for a new project. Using your changes I was able to simply add a call to initialize the user app class, something like this should work in the delegate implementation:
|
Cool! Thank you. I had to make one additional change, removing the Cocoa include from |
Thanks everybody for this - should be fixed by #1460 |
When using Tinderbox to create a CocoaView OpenGL app, it looks like it includes the cinder/app/CinderView.h dependency, which appears to no longer exist in the current master.
It looks like the cocoa approach has been reworked. The AppCocoaViewTest projects suggests that the h file needed is now cinder/app/cocoa/CinderViewMac.h
The text was updated successfully, but these errors were encountered: