[mapserver-users] How to render mapserver with openGL

ElPer K.Digeser at gmail.com
Wed Feb 20 02:09:07 PST 2013


Hi
I read that apache hasn't a DISPLAY environment variable, so I add in
apache2.conf "SetEnv DISPLAY :0".
But now I get the following error:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msDrawMap(): Image handling error. Unable to initialize image.
OglContext::init(): Renderer error. XOpenDisplay() failed.
</ServiceException>
</ServiceExceptionReport>

On an openGL turoial page I found a code wich also uses the method
XOpenDisplay. 
When I run this code on the same maschine I haven't any problems.

Has anybody an idea why the mapserver code doesn't work?



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-render-mapserver-with-openGL-tp5034909p5035440.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list