-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
MacOS: -Dcocoa=ON -Dopengl=OFF pass cmake but fail compilation #7160
Comments
I asked Timur about that. He told me that Cocca can be installed without OpenGl and a few ifdefs should make it. Indeed I just tried and found that in TGCocoa.mm, TGLIncludes.h should be under a "opengl ifdef"... in that same file glFlush(); should be also. Then in CMakeFiles/GCocoa.dir/link.txt , -lRGlew should not be generated. |
@pcanal before I look deeply into that, can you explain the specific use case for such combination? Is it really worth the effort? |
If i remember correctly I encountered this when starting from a minimal build ( I see 2 possible resolutions |
I would go for (b) it looks simpler . |
Closes root-project#7160, as discussed in the issue thread.
Closes root-project#7160, as discussed in the issue thread.
Closes root-project#7160, as discussed in the issue thread.
Closes #7160, as discussed in the issue thread.
Closes root-project#7160, as discussed in the issue thread.
On MacOS passing to cmake:
leads to
In
graf2d/cocoa/CMakeLists.txt
the code:acknowledge the challenge but fail to address it.
And indeed in
TGCocoa.mm
the fileTGLIncludes.h
is always included.Maybe this should fail at configuration time.
The text was updated successfully, but these errors were encountered: