-
Notifications
You must be signed in to change notification settings - Fork 614
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
won't generate *.dylib on macOS with Xcode #267
Comments
Thanks for the detailed report @dingzeyuli, is this the same as #220? That one kind of disappeared into the fold, but I believe it achieves the same fix. |
Yeah, thanks @svenevs. That pull request has not yet been accepted. So the current nanogui code still fails with Xcode+cmake. That one seems to pass the integration test. Is there any plan to accept it? Thank you. |
That PR failed the CI tests, so I never seriously looked at it. I'll write some comments on #220. |
Fixed in #304. |
I tried to compile nanogui library on my mac. I use cmake to generate an Xcode project. The
libglfw_objects
andnanogui-obj
can be generated. But the finalnanogui
does not show up.After some digging, I think this might be the reason.
Sources: [1] [2]
My workaround is to add a blank.c file in the nanogui src and modify the CMakeLists.txt:
The blank.c file is empty, just there to activate the Xcode building system. With this modification, nanogui now compiles with Xcode.
The text was updated successfully, but these errors were encountered: