Try to use rosdep to bring in the opengl dependency: rosdep install rviz then hopefully rosmake will be able to build it. more here: http://www.ros.org/wiki/rosdep cheers, morgan On Fri, May 14, 2010 at 7:59 PM, Chriss Lei wrote: > Hello. I'm new to ros. > > There is an rviz compile error I can't seem to figure out. > I'm using Ubuntu Jaunty and NVIDIA accelerated graphics driver (version > 180). > > To be more specific I did: > > rosmake rviz > > and it outputs this error message when it's compiling ogre. > > /usr/bin/ld: cannot find -lGL >   collect2: ld returned 1 exit status >   make[6]: *** [RenderSystem_GL.la] Error 1 > > [rosmake-0] <<< ogre <<< [SKIP] No rule to make target None > [ rosmake ] Halting due to failure in package ogre. > [ rosmake ] Waiting for other threads to complete. > > I did some google search but couldn't find a solution specifically for this > error. > > Could I get some help? > > > > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > >