[Paraview] OSmesa compile error
Mengda Wu
phdggg at gmail.com
Thu Jul 9 12:53:34 EDT 2009
Yes. Everything works fine after I download and compile Mesa-7.0.4 from
source.
Thanks,
Mengda
On Thu, Jul 9, 2009 at 6:26 AM, Berk Geveci <berk.geveci at kitware.com> wrote:
> It sounds like there is something wrong with the osmesa.h header file.
> I would download and build the latest mesa from mesa3d.org.
> Alternatively, you can try to remove mesa-libOSMesa-devel and install
> it again.
>
> -berk
>
> On Wed, Jul 8, 2009 at 1:20 PM, Mengda Wu<phdggg at gmail.com> wrote:
> > I am using a Redhat. I would like to compile Paraview as a pvserver. BTW,
> if
> > I do not use OSMesa everything compiles fine.
> >
> > The version of mesa should be 6.5.1.
> > Here are the lists of package generated by "rpm -qa|grep mesa":
> > mesa-libGL-devel-6.5.1-7.7.el5
> > mesa-libGLw-6.5.1-7.7.el5
> > mesa-source-6.5.1-7.7.el5
> > mesa-libOSMesa-6.5.1-7.7.el5
> > mesa-libGL-6.5.1-7.7.el5
> > mesa-libOSMesa-devel-6.5.1-7.
> > 7.el5
> > mesa-libGLU-devel-6.5.1-7.7.el5
> > mesa-libGL-6.5.1-7.7.el5
> > mesa-libGLw-devel-6.5.1-7.7.el5
> > mesa-libGLU-6.5.1-7.7.el5
> > mesa-libGLw-6.5.1-7.7.el5
> > mesa-libGLU-6.5.1-7.7.el5
> > mesa-libGLU-devel-6.5.1-7.7.el5
> >
> > The files in mesa-libOSMesa-devel-6.5.1-7.7.el5 by "rpm -ql
> > mesa-libOSMesa-devel":
> > /usr/include/GL/osmesa.h
> > /usr/lib64/libOSMesa.so
> > /usr/lib64/libOSMesa16.so
> > /usr/lib64/libOSMesa32.so
> >
> > The filess in mesa-libOSMesa-6.5.1-7.7.el5 by "rpm -ql mesa-libOSMesa":
> > /usr/lib64/libOSMesa.so.6
> > /usr/lib64/libOSMesa.so.6.5.1
> > /usr/lib64/libOSMesa16.so.6
> > /usr/lib64/libOSMesa16.so.6.5.1
> > /usr/lib64/libOSMesa32.so.6
> > /usr/lib64/libOSMesa32.so.6.5.1
> > /usr/lib/libOSMesa.so.6
> > /usr/lib/libOSMesa.so.6.5.1
> > /usr/lib/libOSMesa16.so.6
> > /usr/lib/libOSMesa16.so.6.5.1
> > /usr/lib/libOSMesa32.so.6
> > /usr/lib/libOSMesa32.so.6.5.1
> >
> > "grep MESA CMakeCache.txt" says:
> > OSMESA_INCLUDE_DIR:PATH=/usr/include/GL
> > OSMESA_LIBRARY:FILEPATH=/usr/lib64/libOSMesa.so
> > VTK_OPENGL_HAS_OSMESA:BOOL=ON
> > VTK_USE_MANGLED_MESA:BOOL=OFF
> > //ADVANCED property for variable: OSMESA_INCLUDE_DIR
> > OSMESA_INCLUDE_DIR-ADVANCED:INTERNAL=1
> > //MODIFIED property for variable: OSMESA_INCLUDE_DIR
> > OSMESA_INCLUDE_DIR-MODIFIED:INTERNAL=ON
> > //ADVANCED property for variable: OSMESA_LIBRARY
> > OSMESA_LIBRARY-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: VTK_OPENGL_HAS_OSMESA
> > VTK_OPENGL_HAS_OSMESA-ADVANCED:INTERNAL=1
> > //MODIFIED property for variable: VTK_OPENGL_HAS_OSMESA
> > VTK_OPENGL_HAS_OSMESA-MODIFIED:INTERNAL=ON
> > //ADVANCED property for variable: VTK_USE_MANGLED_MESA
> > VTK_USE_MANGLED_MESA-ADVANCED:INTERNAL=1
> >
> > And, "grep GL CMakeCache.txt" says:
> > OPENGL_INCLUDE_DIR:PATH=/usr/include
> > OPENGL_gl_LIBRARY:FILEPATH=/usr/lib64/libGL.so
> > OPENGL_glu_LIBRARY:FILEPATH=/usr/lib64/libGLU.so
> > OPENGL_xmesa_INCLUDE_DIR:PATH=/usr/include
> > OSMESA_INCLUDE_DIR:PATH=/usr/include/GL
> > VERDICT_MANGLE:BOOL=ON
> > VERDICT_MANGLE_PREFIX:STRING=vtk
> > VTKFTGL_BINARY_DIR:STATIC=/home/phdggg/ParaView3/Build/VTK/Utilities/ftgl
> > VTKFTGL_SOURCE_DIR:STATIC=/home/phdggg/ParaView3/VTK/Utilities/ftgl
> > //Location of the OpenGL extensions header file (glext.h).
> >
> VTK_GLEXT_FILE:FILEPATH=/home/phdggg/ParaView3/VTK/Utilities/ParseOGLExt/headers/glext.h
> > //Location of the GLX extensions header file (glxext.h).
> >
> VTK_GLXEXT_FILE:FILEPATH=/home/phdggg/ParaView3/VTK/Utilities/ParseOGLExt/headers/glxext.h
> > VTK_OPENGL_HAS_OSMESA:BOOL=ON
> > VTK_USE_GL2PS:BOOL=OFF
> > //Build pixel and vertex shader support for GLSL.
> > VTK_USE_GLSL_SHADERS:BOOL=ON
> > //Use mangled Mesa with OpenGL.
> > VTK_USE_MANGLED_MESA:BOOL=OFF
> > //Location of the WGL extensions header file (wglext.h).
> >
> VTK_WGLEXT_FILE:FILEPATH=/home/phdggg/ParaView3/VTK/Utilities/ParseOGLExt/headers/wglext.h
> >
> icet_LIB_DEPENDS:STATIC=general;/usr/lib64/libGLU.so;general;/usr/lib64/libGL.so;general;/usr/lib64/libSM.so;general;/usr/lib64/libICE.so;general;/usr/lib64/libX11.so;general;/usr/lib64/libXext.so;general;/opt/open-mpi/tcp-gnu41/lib/libmpi_cxx.so;general;/opt/open-mpi/tcp-gnu41/lib/libmpi.so;general;/opt/open-mpi/tcp-gnu41/lib/libopen-rte.so;general;/opt/open-mpi/tcp-gnu41/lib/libopen-pal.so;general;/opt/torque/lib64/libtorque.so;general;/usr/lib64/libnuma.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libnsl.so;general;/usr/lib64/libutil.so;general;/usr/lib64/libm.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;
> >
> icet_mpi_LIB_DEPENDS:STATIC=general;/usr/lib64/libGLU.so;general;/usr/lib64/libGL.so;general;/usr/lib64/libSM.so;general;/usr/lib64/libICE.so;general;/usr/lib64/libX11.so;general;/usr/lib64/libXext.so;general;/opt/open-mpi/tcp-gnu41/lib/libmpi_cxx.so;general;/opt/open-mpi/tcp-gnu41/lib/libmpi.so;general;/opt/open-mpi/tcp-gnu41/lib/libopen-rte.so;general;/opt/open-mpi/tcp-gnu41/lib/libopen-pal.so;general;/opt/torque/lib64/libtorque.so;general;/usr/lib64/libnuma.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libnsl.so;general;/usr/lib64/libutil.so;general;/usr/lib64/libm.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;general;icet;
> >
> icet_strategies_LIB_DEPENDS:STATIC=general;/usr/lib64/libGLU.so;general;/usr/lib64/libGL.so;general;/usr/lib64/libSM.so;general;/usr/lib64/libICE.so;general;/usr/lib64/libX11.so;general;/usr/lib64/libXext.so;general;/opt/open-mpi/tcp-gnu41/lib/libmpi_cxx.so;general;/opt/open-mpi/tcp-gnu41/lib/libmpi.so;general;/opt/open-mpi/tcp-gnu41/lib/libopen-rte.so;general;/opt/open-mpi/tcp-gnu41/lib/libopen-pal.so;general;/opt/torque/lib64/libtorque.so;general;/usr/lib64/libnuma.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libnsl.so;general;/usr/lib64/libutil.so;general;/usr/lib64/libm.so;general;/usr/lib64/libdl.so;general;/usr/lib64/libm.so;general;icet;
> >
> vtkRendering_LIB_DEPENDS:STATIC=general;vtkGraphics;general;vtkImaging;general;vtkIO;general;vtkftgl;general;vtkfreetype;general;/usr/lib64/libGL.so;general;/usr/lib64/libOSMesa.so;general;/usr/lib64/libXt.so;general;/usr/lib64/libSM.so;general;/usr/lib64/libICE.so;general;/usr/lib64/libX11.so;general;/usr/lib64/libXext.so;
> >
> vtkftgl_LIB_DEPENDS:STATIC=general;/usr/lib64/libGL.so;general;vtkfreetype;
> > ALGLIB_SHARED_LIB:INTERNAL=OFF
> >
> FIND_PACKAGE_MESSAGE_DETAILS_OSMesa:INTERNAL=[/usr/lib64/libOSMesa.so][/usr/include/GL]
> > //Have includes HAVE_GLOBUS_COMMON_H
> > HAVE_GLOBUS_COMMON_H:INTERNAL=
> > //ADVANCED property for variable: OPENGL_INCLUDE_DIR
> > OPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: OPENGL_gl_LIBRARY
> > OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: OPENGL_glu_LIBRARY
> > OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: OPENGL_xmesa_INCLUDE_DIR
> > OPENGL_xmesa_INCLUDE_DIR-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: VERDICT_MANGLE
> > VERDICT_MANGLE-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: VERDICT_MANGLE_PREFIX
> > VERDICT_MANGLE_PREFIX-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: VTK_GLEXT_FILE
> > VTK_GLEXT_FILE-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: VTK_GLXEXT_FILE
> > VTK_GLXEXT_FILE-ADVANCED:INTERNAL=1
> > VTK_GLX_GET_PROC_ADDRESS_ARB_PROTOTYPE_EXISTS:INTERNAL=TRUE
> > //OpenGL includes used to test glXGetProcAddressARB prototype.
> >
> VTK_GLX_GET_PROC_ADDRESS_ARB_PROTOTYPE_EXISTS_INCLUDES:INTERNAL=/usr/include
> > //Already set VTK_GLX_GET_PROC_ADDRESS_ARB_PROTOTYPE_EXISTS
> > VTK_GLX_GET_PROC_ADDRESS_ARB_PROTOTYPE_EXISTS_TESTED:INTERNAL=1
> > //ADVANCED property for variable: VTK_OPENGL_HAS_OSMESA
> > VTK_OPENGL_HAS_OSMESA-ADVANCED:INTERNAL=1
> > //MODIFIED property for variable: VTK_OPENGL_HAS_OSMESA
> > VTK_OPENGL_HAS_OSMESA-MODIFIED:INTERNAL=ON
> > //OpenGL extensions parser.
> >
> VTK_PARSEOGLEXT_EXE:INTERNAL=/home/phdggg/ParaView3/Build/bin/vtkParseOGLExt
> > //ADVANCED property for variable: VTK_USE_GL2PS
> > VTK_USE_GL2PS-ADVANCED:INTERNAL=1
> > //ADVANCED property for variable: VTK_USE_GLSL_SHADERS
> > VTK_USE_GLSL_SHADERS-ADVANCED:INTERNAL=1
> > VTK_USE_GLX_GET_PROC_ADDRESS_ARB:INTERNAL=1
> > //ADVANCED property for variable: VTK_USE_MANGLED_MESA
> > VTK_USE_MANGLED_MESA-ADVANCED:INTERNAL=1
> > //Use QtOpenGL in QVTK
> > VTK_USE_QVTK_QTOPENGL:INTERNAL=OFF
> > //ADVANCED property for variable: VTK_WGLEXT_FILE
> > VTK_WGLEXT_FILE-ADVANCED:INTERNAL=1
> >
> > On Wed, Jul 8, 2009 at 6:05 AM, Kevin H. Hobbs <hobbsk at ohiou.edu> wrote:
> >>
> >> On Wed, 2009-07-08 at 01:53 -0700, Mengda Wu wrote:
> >> > Hi all,
> >> >
> >> > I am trying to compile the latest cvs version of Paraview. I am
> >> > running into the problem related to osmesa support.
> >> > The errors look like this. Can someone help me why is that?
> >>
> >> What version of mesa are you using?
> >>
> >> Did it come with your operating system?
> >>
> >> Did you compile it yourself?
> >>
> >> What does "grep MESA CMakeCache.txt" say?
> >>
> >> What does "grep GL CMakeCache.txt" say?
> >>
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> > http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090709/dafe0af1/attachment-0001.htm>
More information about the ParaView
mailing list