Hi! =)<br><br>I&#39;m trying (and trying, and trying) to build Mapserver with OpenGL but I got this errors:<br><br>mapogl.cpp: In function ‘int msPopulateRendererVTableOGL(rendererVTableObj*)’:<br>mapogl.cpp:225: error: invalid conversion from ‘void (*)(imageObj*, shapeObj*, colorObj*, double, int, double*)’ to ‘void (*)(imageObj*, shapeObj*, strokeStyleObj*)’<br>

<br>mapogl.cpp:242: error: invalid conversion from ‘void (*)(imageObj*, shapeObj*, void*)’ to ‘void (*)(imageObj*, shapeObj*, imageObj*)’<br>mapogl.cpp:243: error: invalid conversion from ‘void (*)(void*)’ to ‘void (*)(imageObj*)’<br>

make: ** [mapogl.o] Erro 1<br><br>My<b> .configure</b>: <br># ./configure --enable-debug --with-php=/usr/include/php5 --with-httpd=/usr/sbin/apache2 --with-gd --with-libiconv=/usr --with-gd --with-freetype=/usr --with-threads --with-tiff --with-curl=/us/bin/curl-config --with-jpeg --with-proj=/usr/local --with-geos=/usr/bin/geos-config --with-ogr=/usr/bin/gdal-config --with-gdal=/usr/bin/gdal-config --with-wcs --with-wfsclient --with-wmsclient --with-sos --with-ming=/usr/src/ming-0.4.2 --with-cairo --with-fribidi-config=/usr/bin/fribidi-config --with-pdf --with-opengl --with-ftgl<br>

checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>

checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ANSI C... none needed<br>checking for g++... g++<br>

checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking for ranlib... ranlib<br>checking for flex... flex<br>checking for yywrap in -lfl... yes<br>checking lex output file root... lex.yy<br>

checking whether yytext is a pointer... yes<br>checking for bison... bison -y<br>checking if compiler supports -R... no<br>checking if compiler supports -Wl,-rpath,... yes<br>checking for exp in -lm... yes<br>checking for __gxx_personality_v0 in -lstdc++... yes<br>

checking how to run the C preprocessor... gcc -E<br>checking for egrep... grep -E<br>checking for ANSI C header files... yes<br>checking for strcasecmp... yes<br>checking for strncasecmp... yes<br>checking for strdup... yes<br>

checking for strrstr... no<br>checking for strcasestr... yes<br>checking for strlcat... no<br>checking for vsnprintf... yes<br>MapServer Version from mapserver.h: &#39;5.6.1&#39;<br>checking if pkg-config path is provided... checking for pkg-config... /usr/bin/pkg-config<br>

configure: checking where FreeType 2.x is installed...<br>        using libfreetype from -lfreetype -lz<br>configure: checking where Zlib is installed...<br>checking for zlibVersion in -lz... yes<br>        using libz from system libs (-DUSE_ZLIB).<br>

configure: checking where PNG is installed...<br>checking for png_init_io in -lpng... yes<br>        using libpng from system libs.<br>configure: checking whether we should include JPEG support...<br>checking for jpeg_read_header in -ljpeg... yes<br>

        using libjpeg from system libs.<br>configure: checking where libXpm is installed...<br>checking for XpmFreeXpmImage in -lXpm... yes<br>        using libXpm from system libs.<br>configure: checking where libiconv is installed...<br>

checking for iconv_open in -lc... yes<br>checking for libiconv_open in -liconv... no<br>checking for iconv_open in -liconv... no<br>        using libiconv from -L/usr/lib -lc<br>        libiconv found. Enabling internationalization (-DUSE_ICONV)<br>

configure: checking for GD 2.0.16 or higher...<br>checking for gdFontCacheSetup in -lgd... yes<br>        using libgd 2.0.16 (or higher) from system libs (-L/usr/lib64 -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm -lX11 ).<br>

checking for gdImageCreate in -lgd... yes<br>checking for gdImageGif in -lgd... yes<br>checking for gdImagePng in -lgd... yes<br>checking for gdImageJpeg in -lgd... yes<br>checking for gdImageWBMP in -lgd... yes<br>checking for gdImageStringFT in -lgd... yes<br>

checking for gdImageOpenPolygon in -lgd... yes<br>checking for gdImageGifPtr in -lgd... yes<br>checking for gdFontGetTiny in -lgd... yes<br>checking for gdImageSetResolution in -l... no<br>        using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS) from system libs.<br>

configure: checking whether we should include PDF support...<br>checking for PDF_setlinewidth in -lpdf... yes<br>checking for PDF_setrgbcolor in -lpdf... yes<br>checking for PDF_moveto in -lpdf... yes<br>checking for PDF_curveto in -lpdf... yes<br>

checking for PDF_show_xy in -lpdf... yes<br>checking for PDF_load_font in -lpdf... yes<br>        using libpdf from system libs.<br>checking if FTGL support requested... looking for ftgl libs in /usr<br>using ftgl from /usr<br>

checking if OGL support requested... looking for opengl libs in /usr<br>./configure: line 9055: -L/usr/lib64: No such file or directory<br>using opengl from /usr<br>checking if AGG support requested... checking if RGBA palette png support requested... no<br>

configure: checking whether we should include EPPL7 support...<br>        including EPPL7 support.<br>configure: checking whether we should include PROJ.4 support...<br>checking for pj_transform in -lproj... yes<br>        using PROJ.4 from /usr/local.<br>

configure: checking whether we should include thread safe support...<br>checking for pthread_create in -lpthread... yes<br>        using -lpthread from system libs.<br>configure: checking whether we should include ESRI SDE support...<br>

        ESRI SDE support not requested.<br>checking if GEOS support requested... yes<br>user supplied geos-config (/usr/bin/geos-config)<br>checking for GEOS version &gt;= 2.2.2... yes. Found version 3.0.0<br>GEOS &gt;= 3.0.0 found. Adding -DGEOS_HAS_SIMPLIFY<br>

configure: checking whether we should include OGR support...<br>        OGR enabled (-DUSE_OGR).<br>checking if GDAL support requested... yes, user supplied gdal-config (/usr/bin/gdal-config)<br>checking checking ms JPEG output... no we, have GDAL available.<br>

configure: checking whether we should include TIFF support...<br>checking for TIFFOpen in -ltiff... yes<br>        using libtiff from system libs.<br>checking if PostGIS support requested... no<br>checking if MyGIS support requested... no<br>

checking if OracleSpatial support requested... no<br>checking if MING/Flash support requested... yes, user supplied MING directory<br>configure: checking whether we should include WMS Server support...<br>        OGC WMS compatibility enabled (-DUSE_WMS_SVR).<br>

configure: checking whether we should include WFS Server support...<br>        OGC WFS Server support not requested.<br>configure: checking whether we should include WCS Server support...<br>        OGC WCS Server support enabled (-DUSE_WCS_SVR).<br>

configure: checking whether we should include WMS Client Connections support...<br>configure: checking whether we should include WFS Client Connections support...<br>configure: checking whether we should include OGC SOS Server support...<br>

        OGC SOS Server support requested.<br>checking for curl-config... checking for curl-config... /usr/bin/curl-config<br>        found libcurl version 7.18.2<br>        OGC WMS Client Connections enabled (-DUSE_WMS_LYR).<br>

        OGC WFS Client Connections enabled (-DUSE_WFS_LYR).<br>checking for libxml2... libxml2 required.<br>checking for xml2-config... /usr/bin/xml2-config<br>        found libxml2 version 2.6.32<br>checking if FriBidi support requested... yes, user supplied fribidi-config (/usr/bin/fribidi-config)<br>

checking if Cairo support requested... yes<br>checking for cairo pkg-config path... yes<br>yes, pkg-config defaults, or user supplied path to cairo.pc<br>checking FastCGI support... not requested.<br>configure: checking HTTPD server (Apache) version...<br>

        using user-supplied httpd (/usr/sbin/apache2)<br>        /usr/sbin/apache2 version is Apache/2.2.9 (2002009).<br>Compiling with fast MS_NINT<br>checking compiler warnings... basic<br>configure: checking whether we should enable debug features...<br>

        Enabling debug features: -g in CFLAGS.<br>configure: checking for PHP/MapScript module options...<br>checking for g++ -shared ... yes<br>checking for location of config.h or php_config.h... /usr/include/php5/main/php_config.h<br>

checking whether we have PHP3 or PHP4... -DPHP4<br>checking whether we should use PHP&#39;s regex... yes<br>        found regex_extra.h - building PHP MapScript with PHP&#39;s bundled regex <br>        PHP/MapScript module configured.<br>

checking if --enable-runpath requested... no<br>checking if --with-java-include-os-name specified... no, autodetected linux<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating mapscript/php3/Makefile<br>

config.status: creating mapscript/java/Makefile<br>config.status: creating mapscript/csharp/Makefile<br><br>MapServer is now configured for <br><br> -------------- Compiler Info ------------- <br>  C compiler:                gcc -g  -fPIC -Wall  <br>

  C++ compiler:              g++ -g  -fPIC -Wall  <br>  Debug:                     -g <br>  Generic NINT:              <br><br> -------------- Renderer Settings --------- <br>  OpenGL support:            -DUSE_OGL<br>  zlib support:              -DUSE_ZLIB<br>

  png support:               <br>  palette rgba png support:  <br>  jpeg support:              <br>  iconv support:             -DUSE_ICONV<br>  AGG support:               -DUSE_AGG<br>  Cairo (SVG,PDF) support:   -DUSE_CAIRO<br>

  Ming(flash) support:       -DUSE_MING_FLASH<br>  PDFLib support:            -DUSE_PDF<br><br> -------------- Support Libraries --------- <br>  Proj.4 support:            -DUSE_PROJ<br>  Libxml2 support:           -DUSE_LIBXML2<br>

  FriBidi support:           -DUSE_FRIBIDI<br>  Curl support:              -DUSE_CURL<br>  FastCGI support:           <br>  Threading support:         -DUSE_THREAD<br>  GEOS support:              -DUSE_GEOS -DGEOS_HAS_SIMPLIFY<br>

<br> -------------- Data Format Drivers ------- <br>  native tiff support:       -DUSE_TIFF<br>  PostGIS support:           <br>  EPPL7 support:             -DUSE_EPPL<br>  ArcSDE support:            <br>  OGR support:               -DUSE_OGR<br>

  GDAL support:              -DUSE_GDAL<br>  Oracle Spatial support:    <br><br> -------------- OGC Services -------------- <br>  WMS Server:                -DUSE_WMS_SVR<br>  WMS Client:                -DUSE_WMS_LYR<br>
  WFS Server:                <br>
  WFS Client:                -DUSE_WMS_LYR<br>  WCS Server:                -DUSE_WCS_SVR<br>  SOS Server:                -DUSE_SOS_SVR<br><br> -------------- MapScript ----------------- <br>  PHP MapScript:             yes<br>

<br>----------------------------------------------------------------<br>What can I do?<br><br>I installed the Mapserver without &quot;  --with-opengl --with-ftgl&quot; options, successfully. (Debian Lenny, 64bits)<br>I want to test the Mapserver output against the &quot;nVidia Corporation NV41 [Quadro FX 3450/4000 SDI]&quot;.<br>

I found a error in this output, but I installed all possible libraries (I guess), I don&#39;t know a workaround to this error.<br><br>&quot; checking if OGL support requested... looking for opengl libs in /usr<br>
./configure: line 9055: -L/usr/lib64: No such file or directory<br>
using opengl from /usr &quot;<br><br><br>root@noma:/usr# ls -l<br>total 120<br>drwxr-xr-x  75 root root  40960 Jan 27 17:08 lib<br>lrwxrwxrwx   1 root root     24 Set 29  2008 lib32 -&gt; /emul/ia32-linux/usr/lib<br>lrwxrwxrwx   1 root root      3 Set 29  2008 lib64 -&gt; lib<br>

<br><br>Thanks, Duca. \o/<br><br>