|
[Sponsors] |
[OpenFOAM.com] Problems compiling ParaView 5.4 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 30, 2018, 22:29 |
Problems compiling ParaView 5.4
|
#1 |
New Member
Suantara Darma
Join Date: Mar 2018
Posts: 2
Rep Power: 0 |
Hi everyone,
i have to compile OpenFoam in my dekstop but i had some problem, can anybody help me please. because i was new in OF. thanks Code:
[ 58%] Building CXX object VTK/Rendering/Context2D/CMakeFiles/vtkRenderingContext2D.dir/vtkContextDevice2D.cxx.o [ 58%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkRenderingCorePythonD.dir/vtkRenderWidgetPython.cxx.o [ 58%] Linking CXX shared library ../../../lib/libvtkGUISupportQt-pv5.4.so [ 58%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkRenderingCorePythonD.dir/vtkPointGaussianMapperPython.cxx.o CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function `QVTKWidget::x11_setup_window()': QVTKWidget.cxx:(.text+0x7f5): undefined reference to `vtkXOpenGLRenderWindow::GetDisplayId()' QVTKWidget.cxx:(.text+0x892): undefined reference to `XGetWindowAttributes' QVTKWidget.cxx:(.text+0x8d2): undefined reference to `XCreateWindow' QVTKWidget.cxx:(.text+0x900): undefined reference to `XGetWMColormapWindows' QVTKWidget.cxx:(.text+0x956): undefined reference to `XFree' QVTKWidget.cxx:(.text+0x9e9): undefined reference to `XSetWMColormapWindows' QVTKWidget.cxx:(.text+0x9f9): undefined reference to `XFree' QVTKWidget.cxx:(.text+0xa01): undefined reference to `XFlush' CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o: In function `vtkXOpenGLRenderWindow::GetGenericDisplayId()': QVTKWidget.cxx:(.text._ZN22vtkXOpenGLRenderWindow19GetGenericDisplayIdEv[_ZN22vtkXOpenGLRenderWindow19GetGenericDisplayIdEv]+0x1): undefined reference to `vtkXOpenGLRenderWindow::GetDisplayId()' collect2: error: ld returned 1 exit status VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/build.make:819: recipe for target 'lib/libvtkGUISupportQt-pv5.4.so.1' failed make[2]: *** [lib/libvtkGUISupportQt-pv5.4.so.1] Error 1 CMakeFiles/Makefile2:3088: recipe for target 'VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all' failed make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 58%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkRenderingCorePythonD.dir/vtkRenderingCorePythonInitImpl.cxx.o [ 58%] Building CXX object VTK/Rendering/Context2D/CMakeFiles/vtkRenderingContext2D.dir/vtkContextDevice3D.cxx.o [ 58%] Building CXX object VTK/Rendering/Context2D/CMakeFiles/vtkRenderingContext2D.dir/vtkContextItem.cxx.o [ 58%] Building CXX object VTK/Rendering/Context2D/CMakeFiles/vtkRenderingContext2D.dir/vtkContextKeyEvent.cxx.o [ 58%] Building CXX object VTK/Rendering/Context2D/CMakeFiles/vtkRenderingContext2D.dir/vtkContextMapper2D.cxx.o [ 58%] Linking CXX shared library ../../../lib/libvtkRenderingCorePython27D-pv5.4.so |
|
May 1, 2018, 17:47 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
May 1, 2018, 20:55 |
|
#3 |
New Member
Suantara Darma
Join Date: Mar 2018
Posts: 2
Rep Power: 0 |
hi,
i trying to install OpenFoam v-1712, using ubuntu 16.04 64-bit. i am follow the istruction from ti site http://openfoamwiki.net/index.php/In...OAM-5.x/Ubuntu thanks |
|
August 22, 2018, 10:19 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings suantaraDarma,
My apologies, but I was not able to look into this any sooner. I received a PM you sent me on the 8th of June with the following errors: Quote:
I don't know if you have solved this issue or not since then. But if not, please let me know, so that I can try and diagnose the problem. Best regards, Bruno
__________________
|
||
October 15, 2024, 06:42 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer, albeit several years later, but I stumbled upon the same issue, this time with OpenFOAM.com v1706.
The trick is to build with the following option: Code:
CMAKE_SHARED_LINKER_FLAGS:STRING=-lX11 Code:
./makeParaView -python -mpi CMAKE_SHARED_LINKER_FLAGS:STRING=-lX11 -python-lib /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 > log.makePV 2>&1
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] ParaView 5.4 Crashes with ParticleTracer | complexFlow | ParaView | 1 | August 30, 2018 11:13 |
[snappyHexMesh] Problems after snappyHexMesh with paraview | andreas0209@hotmail.com | OpenFOAM Meshing & Mesh Conversion | 10 | February 23, 2015 12:00 |
[OpenFOAM.org] OF 2.3.0 compiling Paraview with "-python -mpi" | bender.rodriguez | OpenFOAM Installation | 5 | December 14, 2014 13:27 |
[OpenFOAM] Paraview start problems | Tobi | ParaView | 2 | September 14, 2013 14:11 |
Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2) | sfigato | OpenFOAM Installation | 22 | January 31, 2013 11:16 |