Error : The opengl module is not avaiable

Monkey Forums/Monkey Bug Reports/Error : The opengl module is not avaiable

StoneFaceEXE(Posted 2012) [#1]
I keep getting this error while trying to compile some code, that includes Minib3d module, but I don't think it's modules fault, since monkey referce to opengl module.

"Error : The opengl module is not avaiable for the html5 target."


therevills(Posted 2012) [#2]
How are you importing the module?

Try using: Import opengl.gles20

http://blitz-wiki.appspot.com/opengl.gles20


StoneFaceEXE(Posted 2012) [#3]
Oh yes, it refers to gles11 not 20

MONKEY/modules/opengl/gles11.monkey<3> : Error : The opengl module is not avaiable for the html5 target.

I tried both Import opengl.gles11 and Import opengl.gles20 and JUST Import opengl.gles20 it goes the same. There is no build folder yet too )


DruggedBunny(Posted 2012) [#4]
As the build folder doesn't yet exist, try adding #OPENGL_GLES20_ENABLED:Bool=true at the top of the code.