[Paraview] How to make Paraview with Mesa

Koichiro Suzuki suz at mito.ssd.ssg.fujitsu.com
Fri Jul 9 19:52:49 EDT 2004


I found the answer.

>  I want to make Paraview with Mesa (for software rendering).
>  But the following error occures in linkage.
> 
>  What flags must be specified in ccmake ?
>  I specified ...
> 	OPENGL_INCLUDE_DIR		/xxxxx/Mesa-6.0.1/include
> 	OPENGL_gl_LIBRARY		/xxxxx/Mesa-6.0.1/lib/libGL.so
> 	OPENGL_glu_LIBRARY		/xxxxx/Mesa-6.0.1/lib/libGLU.so
> 	VTK_USE_MANGLED_MESA		ON

 I should specify not VTK_USE_MANGLED_MESA  but VTK_OPENGL_HAS_OSMESA .
 I could make with this flag on Linux environment.

 But on Solaris, the following error occurs.
 Uuuum...


In file included from /wk/PDS/PARAVIEW/paraview-1.4.2/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:34:
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:119: syntax error before `GLAPIENTRY'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:132: syntax error before `GLAPIENTRY'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:142: syntax error before `void'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:174: syntax error before `GLAPIENTRY'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:184: syntax error before `GLAPIENTRY'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:202: syntax error before `void'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:218: syntax error before `void'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:233: syntax error before `GLAPIENTRY'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:249: syntax error before `GLAPIENTRY'
/home/wws/arakawa/Mesa-6.0.1/include/GL/osmesa.h:260: syntax error before `void'

--
 Koichiro Suzuki, Fujits ltd.
 suz.k at jp.fujitsu.com



More information about the ParaView mailing list