|
[Sponsors] |
October 30, 2013, 11:52 |
Paraview - CentOS
|
#1 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
Hi everyone,
I'm trying to compile OpenFOAM/Paraview from the source files on CENTOS. For OpenFOAM : everything is fine. For Paraview : I compiled qt and cmake in the ThirdParty directory. I modify the path in the makeParaview script. Then during the configure part, I get this error : Code:
Performing Test GLX_DEFINES_MACRO_GLX_VERSION_1_1 - failed (...) CMake Error at VTK/CMake/vtkTestGLX.cmake:212 (file): file STRINGS file "/home/trap/OpenFOAM/ThirdParty-2.2.2/Paraview-3.12.0/VTK/Rendering/OPENGL_INCLUDE_DIR-NOTFOUND/GL/glx.h" cannt be read. Call Stack (most recent call first): VTK/Rendering/CMakeLists.txt:506 (INCLUDE) Does anyone know where it comes from ? Thank you. |
|
October 31, 2013, 03:31 |
|
#2 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
Few more information :
- glx.h is in the folder "/usr/include/xcb/glx.h" - I opened the file vtkTestGLX.cmake : it says that OPENGL_INCLUDE_DIR is defined within the function/file "FindOpenGL.cmake"which I don't understand how it works. |
|
October 31, 2013, 06:46 |
|
#3 |
Senior Member
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15 |
Well, I updated the system but the compilation is still bugging.
If someone has any idea, I'd take it. Error 1 : Code:
[ 6%] [ 6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayExtents.cxx.o Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayExtentsList.cxx.o [ 6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayRange.cxx.o [ 6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArraySort.cxx.o [ 6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayWeights.cxx.o [ 6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkCommonInstantiator.cxx.o Linking CXX shared library ../../bin/libvtkCommon.so [ 6%] Built target vtkCommon make: *** [all] Error 2 Code:
Linking CXX shared library ../../../bin/libCosmo.so [ 12%] Built target Cosmo make[2]: *** No rule to make target `/usr/lib64/libGL.so', needed by `bin/libvtkftgl.so.pv3.12'. Stop. make[1]: *** [VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2 make: *** [all] Error 2 |
|
November 2, 2013, 17:59 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Aurelien,
According to this blog post: http://techtidings.blogspot.pt/2012/...it-ubuntu.html - the problem might be because the file "/usr/lib64/libGL.so" is pointing to a dead link. Try running this command to check to which file it's pointing: Code:
ls -l /usr/lib64/libGL.so By the way, are you following the installation instructions from this page: http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL ? Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) | chrisb2244 | OpenFOAM Installation | 2 | August 21, 2013 13:24 |
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? | lentschi | OpenFOAM Installation | 1 | March 9, 2011 02:32 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 03:14 |
Paraview problem on centOS | danielle | OpenFOAM Installation | 2 | February 12, 2009 13:11 |