Hello,
I compiled ROOT 6.02-05 on El Capitan today and I noticed that libRGL.so is not being built
(configured with --all). Any ideas?
Thanks,
Wolfgang
Hi,
Can you look into config.log and see what fails, the gl checks start with a search for gl.h.
I don’t know how one checks this for cmake builds.
Matevz
Hello Matevz,
Thanks a lot for your response. According to the config.log, the file gl.h was found. However, none of the gl libraries (neither libGL nor libGLU). I have them installed in /opt/local (macports). Xcode 7.01 doesn’t seem to have them anymore (OpenGL -> MetalGL replacement???).
Thanks for your help,
Wolfgang
Hi Wolfgang,
The macport stuff will only get used for X11 build, with --disable-cocoa, I think cocoa is still the default in root-6
I have no clue what they did to OpenGL in 10.11 … I’m still on 10.8. Configure is looking for /System/Library/Frameworks/OpenGL.framework in xcode directories … grep for this in configure and maybe add some echos there to see where it’s actually looking.
I’ll ping the core team to see if somebody has built root on 10.11.
Cheers,
Matevz
Hi Matevz,
Thanks again for the fast response. There are some symbolic links to the Headers and Libraries in
/System/Library/Frameworks/OpenGL.framework/. The actual folders are (now?) in
/System/Library/Frameworks/OpenGL.framework/Versions/A/
Maybe I’ll try adding explicitly that to my lib-path list and see what happens?
Thanks for the help.
Best,
Wolfgang
Please try to the CMake build. I upgraded my OS X desktop to 10.11 and I had no problems building and running all tests. See the instructions root.cern.ch/building-root
Hello Mato,
cmake worked. Thanks a lot.
Wolfgang
I think it will work only correctly with the most recent cmake v3.3.2. The .tbd library format support was added in the v3.3.1-patches branch of cmake.
Also the classic configure;make work now correctly with .tbd library files.
Cheers, Fons.
Hi Fons,
Thanks for the reply. Yes, cmake works; however, I was not able to build the RGL lib using “configure”.
Best,
Wolfgang
Please use the master of today to be able to use ./configure. Idem for the v5-34 branch.
Cheers, Fons.
Great. Thanks. It works.
Wolfgang