CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFoam installation - Qt difficulties? (https://www.cfd-online.com/Forums/openfoam-installation/71582-openfoam-installation-qt-difficulties.html)

grsox January 8, 2010 06:35

OpenFoam installation - Qt difficulties?
 
Hello,

I am installing OpenFoam for the first time and when I run paraFoam in the icoFoam/cavity tutorial I get:
$WM_THIRD_PARTY_DIR/paraview-3.6.1/platforms/linux64Gcc/bin/paraview-real: symbol lookup error: $WM_THIRD_PARTY_DIR/paraview-3.6.1/platforms/linux64Gcc/bin/libpqWidgets.so: undefined symbol: _ZN11QHeaderView5resetEv

I have downloaded and unpacked qt 4.3.5 into the Third Party directory. The provided makeQt build script was used to put it together.

Paraview was then made with
./makeParaView -qmake $WM_THIRD_PARTY_DIR/qt-x11-opensource-src-4.3.5/bin/qmake

PV3FoamReader is then built as described in the README.

If I ldd several libs in $WM_THIRD_PARTY_DIR/paraview-3.6.1/platforms/linux64Gcc/bin I get several libs not found. For instance ldd libKWCommon.so returns:
libvtkCommon.so.pv3.6 => not found
libvtksys.so.pv3.6 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002aaaaaced000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaaaf07000)
libstdc++.so.6 => /home/grsox/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6 (0x00002aaaab10b000)
libm.so.6 => /lib64/libm.so.6 (0x00002aaaab418000)
libgcc_s.so.1 => /home/grsox/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libgcc_s.so.1 (0x00002aaaab69b000)
libc.so.6 => /lib64/libc.so.6 (0x00002aaaab8b3000)

Any idea what I am missing?

eros January 10, 2010 13:25

I put LD_LIBRARY_PATH in foam..etc/bashrc contain path to qt libs.

And compiled parawiev plugin too (with compiled qt qmake path)

Parawiev starts, but stucs immediatly, consumes 99% cpu but nothing happens.

32bit machine, ubuntu dapper

That may help in your unresolved symbol broblem, but don't solve my broblem..


--
Eerin

eros January 10, 2010 16:51

Paraview freeze problem seems to be graphic card problem. It freeze in matrox G550 machine, but when ssh -X from other machine and run same cavity example it works (but aufull slow). Other machine have nvidia quadro card.

Is there somewhere list of working cards with paraview?

--
Eerin

louisgag February 23, 2010 15:10

For your info, I solved the "_ZN11QHeaderView5resetEv" problem by setting LD_LIBRARY_PATH to the lib directory of qt.


All times are GMT -4. The time now is 09:20.