[mapserver-users] Build Mapserver with OpenGL

2010-01-28 Thread Eduardo Almeida Costa
Hi! =)

I'm trying (and trying, and trying) to build Mapserver with OpenGL but I got
this errors:

mapogl.cpp: In function ‘int
msPopulateRendererVTableOGL(rendererVTableObj*)’:
mapogl.cpp:225: error: invalid conversion from ‘void (*)(imageObj*,
shapeObj*, colorObj*, double, int, double*)’ to ‘void (*)(imageObj*,
shapeObj*, strokeStyleObj*)’

mapogl.cpp:242: error: invalid conversion from ‘void (*)(imageObj*,
shapeObj*, void*)’ to ‘void (*)(imageObj*, shapeObj*, imageObj*)’
mapogl.cpp:243: error: invalid conversion from ‘void (*)(void*)’ to ‘void
(*)(imageObj*)’
make: ** [mapogl.o] Erro 1

My* .configure*:
# ./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
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for exp in -lm... yes
checking for __gxx_personality_v0 in -lstdc++... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strrstr... no
checking for strcasestr... yes
checking for strlcat... no
checking for vsnprintf... yes
MapServer Version from mapserver.h: '5.6.1'
checking if pkg-config path is provided... checking for pkg-config...
/usr/bin/pkg-config
configure: checking where FreeType 2.x is installed...
using libfreetype from -lfreetype -lz
configure: checking where Zlib is installed...
checking for zlibVersion in -lz... yes
using libz from system libs (-DUSE_ZLIB).
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
using libpng from system libs.
configure: checking whether we should include JPEG support...
checking for jpeg_read_header in -ljpeg... yes
using libjpeg from system libs.
configure: checking where libXpm is installed...
checking for XpmFreeXpmImage in -lXpm... yes
using libXpm from system libs.
configure: checking where libiconv is installed...
checking for iconv_open in -lc... yes
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... no
using libiconv from -L/usr/lib -lc
libiconv found. Enabling internationalization (-DUSE_ICONV)
configure: checking for GD 2.0.16 or higher...
checking for gdFontCacheSetup in -lgd... yes
using libgd 2.0.16 (or higher) from system libs (-L/usr/lib64 -lgd
-ljpeg -lfreetype -lz -lpng -lz -lXpm -lX11 ).
checking for gdImageCreate in -lgd... yes
checking for gdImageGif in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for gdImageJpeg in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageStringFT in -lgd... yes
checking for gdImageOpenPolygon in -lgd... yes
checking for gdImageGifPtr in -lgd... yes
checking for gdFontGetTiny in -lgd... yes
checking for gdImageSetResolution in -l... no
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.
configure: checking whether we should include PDF support...
checking for PDF_setlinewidth in -lpdf... yes
checking for PDF_setrgbcolor in -lpdf... yes
checking for PDF_moveto in -lpdf... yes
checking for PDF_curveto in -lpdf... yes
checking for PDF_show_xy in -lpdf... yes
checking for PDF_load_font in -lpdf... yes
using libpdf from system libs.
checking if FTGL support requested... looking for ftgl libs in /usr
using ftgl from /usr
checking if OGL support requested... looking for opengl libs in /usr
./configure: line 9055: -L/usr/lib64: No such file or directory
using opengl from /usr
checking if AGG support requested... checking if RGBA palette png support
requested... no
configure: checking whether we should include EPPL7 support...

Re: [mapserver-users] Build Mapserver with OpenGL

2010-01-28 Thread Eduardo Almeida Costa
Thanks, Thomas.

I'll not enable.

Greetings, Duca
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users