Home | News | Documentation | Download

Unable to draw geometry with opengl option

graphics

#1

Dear ROOT experts,
I have just installed the root 6.14.04 on my lubuntu maching with the default cmake option. When I try to draw a geometry with the ‘ogl’ option, the following error messages pop up:
Error in TUnixSystem::FindDynamicLibrary: RGL[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /home/guang/Software/root-6.14.04-build/lib:.:/home/guang/Software/root-6.14.04-build/lib:/lib/i386-linux-gnu/tls/i686/sse2:/lib/i386-linux-gnu/tls/i686:/lib/i386-linux-gnu/tls/sse2:/lib/i386-linux-gnu/tls:/lib/i386-linux-gnu/i686/sse2:/lib/i386-linux-gnu/i686:/lib/i386-linux-gnu/sse2:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu/tls/i686/sse2:/usr/lib/i386-linux-gnu/tls/i686:/usr/lib/i386-linux-gnu/tls/sse2:/usr/lib/i386-linux-gnu/tls:/usr/lib/i386-linux-gnu/i686/sse2:/usr/lib/i386-linux-gnu/i686:/usr/lib/i386-linux-gnu/sse2:/usr/lib/i386-linux-gnu:/lib/tls/i686/sse2:/lib/tls/i686:/lib/tls/sse2:/lib/tls:/lib/i686/sse2:/lib/i686:/lib/sse2:/lib:/usr/lib/tls/i686/sse2:/usr/lib/tls/i686:/usr/lib/tls/sse2:/usr/lib/tls:/usr/lib/i686/sse2:/usr/lib/i686:/usr/lib/sse2:/usr/lib

Does it mean I did not use the correct option to build or there is some libraries missing in my system?


_ROOT Version:6.14.04
_Platform: lubuntu
_Compiler: gcc7.3



#2

Try “root-config --features | grep -i gl” and check if you have “opengl” inside.
If not, you need to rebuild your ROOT from scratch again (use something like “cmake -Dall=ON” when configuring it), but first make sure that you have the “mesa-common-dev” and “libglu1-mesa-dev” system packages installed.