c++ - OpenGL problems in virtual machine -


virtualbox , vmware giving me difficulties in trying learn opengl. have linux virtual machine (lubuntu 12.10) , errors when run program:

vmware:

unable create opengl context 

virtualbox:

opengl warning: glflushvertexarrayrangenv not found in mesa table opengl warning: glvertexarrayrangenv not found in mesa table opengl warning: glcombinerinputnv not found in mesa table opengl warning: glcombineroutputnv not found in mesa table opengl warning: glcombinerparameterfnv not found in mesa table opengl warning: glcombinerparameterfvnv not found in mesa table opengl warning: glcombinerparameterinv not found in mesa table opengl warning: glcombinerparameterivnv not found in mesa table opengl warning: glfinalcombinerinputnv not found in mesa table opengl warning: glgetcombinerinputparameterfvnv not found in mesa table opengl warning: glgetcombinerinputparameterivnv not found in mesa table opengl warning: glgetcombineroutputparameterfvnv not found in mesa table opengl warning: glgetcombineroutputparameterivnv not found in mesa table opengl warning: glgetfinalcombinerinputparameterfvnv not found in mesa table opengl warning: glgetfinalcombinerinputparameterivnv not found in mesa table opengl warning: gldeletefencesnv not found in mesa table opengl warning: glfinishfencenv not found in mesa table opengl warning: glgenfencesnv not found in mesa table opengl warning: glgetfenceivnv not found in mesa table opengl warning: glisfencenv not found in mesa table opengl warning: glsetfencenv not found in mesa table opengl warning: gltestfencenv not found in mesa table 

both vms have appropriate guest additions installed, , 3d acceleration enabled. glxgears works in both machines :/

my code identical here: http://open.gl/context

i guess problem might opengl version in given example 3.2 tried changing 2.1 @ point vmware not give errors anymore window still doesn't show.

thanks!

if noob don't think starting mesa running on kind of vm idea.mesa setup pretty complex in general.also mesa opengl outdated.it supports 3.2 version atm.if want started opengl right , clean way should better setup context libs glut or glfw , load gl extension glew(there more).

also, there many tutorials on net on how started opengl.one of best this.

and don't use vm,it slows down performance considerably.

update:

as correctly pointed out here datenwolf, mesa implementation not "outdated" rather lags after latest opengl specification 4.4


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -