Not necessarily.  BRL-CAD has a variety of windowing methods including direct 
X11 (without OpenGL), GLX, and other methods.  You will either want to make 
sure GLX is installed properly or compile with OpenGL support disabled 
(assuming it’s not needed for some other aspect of the OpenCL code).

Cheers!
Sean


> On Mar 24, 2017, at 1:10 PM, Shailesh Tripathi 
> <shailesh.tripathi.ec...@itbhu.ac.in> wrote:
> 
> If OpenGL libraries are not installed correctly then shouldn't there be issue 
> with raytracer launched from graphics window also?
> 
> Shailesh Tripathi
> B.Tech. Part-IV
> Electronics Engineering
> IIT-BHU (Varanasi)
> 
> On Fri, Mar 24, 2017 at 10:36 PM, Shailesh Tripathi 
> <shailesh.tripathi.ec...@itbhu.ac.in 
> <mailto:shailesh.tripathi.ec...@itbhu.ac.in>> wrote:
> Hello, 
> I am using centos 6.8 
> For OpenGL, should I install the libraries from mesa-libgl, GLEW  or freeglut?
> 
> Regards
> Shailesh
> 
> Shailesh Tripathi
> B.Tech. Part-IV
> Electronics Engineering
> IIT-BHU (Varanasi)
> 
> On Fri, Mar 24, 2017 at 10:29 PM, Vasco Alexandre da Silva Costa 
> <vasco.co...@gmail.com <mailto:vasco.co...@gmail.com>> wrote:
> Hello,
> A proper answer to your question requires more information to be provided. 
> Which operating system and version are you using, if it's Linux which distro, 
> etc.
> 
> From the errors you got, it looks like you don't have OpenGL properly 
> installed on your system.
> 
> On Fri, Mar 24, 2017 at 4:27 PM, Shailesh Tripathi 
> <shailesh.tripathi.ec...@itbhu.ac.in 
> <mailto:shailesh.tripathi.ec...@itbhu.ac.in>> wrote:
> Hello,
> I was trying this tutorial for learning mged 
> "http://brlcad.org/VolumeII-Introduction_to_MGED.pdf 
> <http://brlcad.org/VolumeII-Introduction_to_MGED.pdf>". The raytrace works as 
> expected if launched from graphics window. But how to launch the same from 
> command window. I just typed 'rt' and it shows the following error:
> Xlib: extension "GLX" missing on display ":0.0".
> Xlib: extension "GLX" missing on display ":0.0".
> Xlib: extension "GLX" missing on display ":0.0".
> fb_ogl_open: double buffering not available. Using single buffer.
> Xlib: extension "GLX" missing on display ":0.0".
> Xlib: extension "GLX" missing on display ":0.0".
> Xlib: extension "GLX" missing on display ":0.0".
> fb_ogl_open: Couldn't find an appropriate visual. Exiting.
> fb_open: can't open device "dev/ogl", ret=-1.
> rt: can't open frame buffer
> Raytrace failed.
> 
> I have installed OpenGL on my system. 
> 
> Also, what changes do I need to make for using raytrace using "OpenCL" with 
> the command "rt -z1"
> 
> 
> Regards
> Shailesh Tripathi
> 
> Shailesh Tripathi
> B.Tech. Part-IV
> Electronics Engineering
> IIT-BHU (Varanasi)
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> <http://sdm.link/slashdot>
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net <mailto:brlcad-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel 
> <https://lists.sourceforge.net/lists/listinfo/brlcad-devel>
> 
> 
> 
> 
> -- 
> Vasco Alexandre da Silva Costa
> PhD in Computer Engineering (Computer Graphics)
> Instituto Superior Técnico/University of Lisbon, Portugal
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot 
> <http://sdm.link/slashdot>
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net <mailto:brlcad-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel 
> <https://lists.sourceforge.net/lists/listinfo/brlcad-devel>
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to