CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation of OpenFoam 15 Compilation paraview (https://www.cfd-online.com/Forums/openfoam-installation/57262-installation-openfoam-15-compilation-paraview.html)

ep4 October 22, 2008 06:38

Hi evreybody, I encounter s
 
Hi evreybody,

I encounter some problems trying to compile Paraview. I have the following error (see below). I don't know what's it is talking about: "Cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work".

Some data about me:

[root@wobwslx2 qt-x11-opensource-src-4.3.1]# uname -a
Linux wobwslx2 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 23 12:49:51 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

ep4@wobwslx2:~/OpenFOAM/ThirdParty$ qmake --version
QMake version 2.01a
Using Qt version 4.3.1 in /usr/local/Trolltech/Qt-4.3.1/lib

For information, i have also a version 4.4.3 of Qt. Trying to using it following the indications of other posts, i have the same error.

Thank you for your help.

Eric

ep4@wobwslx2:~/OpenFOAM/ThirdParty$ buildParaView3.3-cvs
Building ParaView3.3-cvs
MPI support : OFF
Python support : OFF
MESA support : OFF
Source : /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs
Target : /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc
-- Check for working C compiler: /ric_home/ep4/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /ric_home/ep4/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /ric_home/ep4/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++
-- Check for working CXX compiler: /ric_home/ep4/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.1
-- Cannot determine repository type. Please set UPDATE_TYPE to 'cvs' or 'svn'. CTest update will not work.
CMake Error: Error in cmake code at
/ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake:52:
INCLUDE Could not find include file: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/CMake/vtkDependentOption.c make
Current CMake stack: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMakeLists.txt;/ric_home/ep4/O penFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/share/cmake-2.4/Modules/CMakeCI nformation.cmake;/ric_home/ep4/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64 /share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/ric_home/ep4/OpenFOAM/ThirdP arty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake;/ric_home/ep4/OpenFOAM/ThirdPart y/ParaView3.3-cvs/VTK/CMake/vtkDependentOption.cmake
CMake Error: Error in cmake code at
/ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake:60:
INCLUDE Could not find include file: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/CMake/vtkUseX.cmake
Current CMake stack: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMakeLists.txt;/ric_home/ep4/O penFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/share/cmake-2.4/Modules/CMakeCI nformation.cmake;/ric_home/ep4/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64 /share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/ric_home/ep4/OpenFOAM/ThirdP arty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake;/ric_home/ep4/OpenFOAM/ThirdPart y/ParaView3.3-cvs/VTK/CMake/vtkDependentOption.cmake;/ric_home/ep4/OpenFOAM/Thir dParty/ParaView3.3-cvs/VTK/CMake/vtkUseX.cmake
CMake Error: Error in cmake code at
/ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake:66:
INCLUDE Could not find include file: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/CMake/vtkSelectSharedLibra ries.cmake
Current CMake stack: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMakeLists.txt;/ric_home/ep4/O penFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/share/cmake-2.4/Modules/CMakeCI nformation.cmake;/ric_home/ep4/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64 /share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/ric_home/ep4/OpenFOAM/ThirdP arty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake;/ric_home/ep4/OpenFOAM/ThirdPart y/ParaView3.3-cvs/VTK/CMake/vtkDependentOption.cmake;/ric_home/ep4/OpenFOAM/Thir dParty/ParaView3.3-cvs/VTK/CMake/vtkUseX.cmake;/ric_home/ep4/OpenFOAM/ThirdParty /ParaView3.3-cvs/VTK/CMake/vtkSelectSharedLibraries.cmake
CMake Error: Error in cmake code at
/ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake:207 :
INCLUDE Could not find include file: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/VTK/CMake/vtkSelectStreamsLibr ary.cmake
Current CMake stack: /ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMakeLists.txt;/ric_home/ep4/O penFOAM/ThirdParty/cmake-2.4.6/platforms/linux64/share/cmake-2.4/Modules/CMakeCI nformation.cmake;/ric_home/ep4/OpenFOAM/ThirdParty/cmake-2.4.6/platforms/linux64 /share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/ric_home/ep4/OpenFOAM/ThirdP arty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake;/ric_home/ep4/OpenFOAM/ThirdPart y/ParaView3.3-cvs/VTK/CMake/vtkDependentOption.cmake;/ric_home/ep4/OpenFOAM/Thir dParty/ParaView3.3-cvs/VTK/CMake/vtkUseX.cmake;/ric_home/ep4/OpenFOAM/ThirdParty /ParaView3.3-cvs/VTK/CMake/vtkSelectSharedLibraries.cmake;/ric_home/ep4/OpenFOAM /ThirdParty/ParaView3.3-cvs/VTK/CMake/vtkSelectStreamsLibrary.cmake
CMake Error: Error in cmake code at
/ric_home/ep4/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMake/ParaViewCommon.cmake:208 :
Unknown CMake command "VTK_SELECT_STREAMS_LIBRARY".
-- Configuring done
make: *** Keine Targets angegeben und keine ğmakeĞ-Steuerdatei gefunden. Schluss.
done

ep4 October 22, 2008 12:30

Hi again, after some manipu
 
Hi again,

after some manipulations, Paraview begin now to compile withoout the problem mentioned in my previous post.
Nevertheless, the compilation stops after a while with the following error:

Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkTypeUInt8Array.o
[ 12%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkTypeUInt32Array.o
[ 12%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkTypeUInt64Array.o
[ 12%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkTypeFloat32Array.o
[ 12%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkTypeFloat64Array.o
[ 12%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkCommonInstantiator.o
Linking CXX shared library ../../bin/libvtkCommon.so
[ 12%] Built target vtkCommon
make: *** [all] Fehler 2
done


What's the problem with libvtkCommon.so ? Where can i find such a file ?

Thank you

Eric

ep4 October 23, 2008 04:24

Good morning, I still have
 
Good morning,

I still have the same error...
I have found the file libvtkCommon.so in /OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linux64Gcc/bin with other files like H5detect, libQtTesting.so, libvtktiff.so, ... which are mentioned in my terminal like libvtkCommon.so but without leading to an error.

I don't know if this information can be usefull for someone to help me.

Eric

ikariya December 18, 2008 11:04

hi Aram, got same problem h
 
hi Aram,

got same problem here with .OpenFOAM files, how did you bypassed it ?

thanx for your help !

mabinty December 19, 2008 05:10

hi Ikariya, as i remember t
 
hi Ikariya,

as i remember the main problem i got with paraview and the .OpenFOAM file, was due to the fact that qmake pointed to the older version of qt which was installed beside 4.3.5 on my computer.

aram

zairja January 12, 2009 07:39

all the errors mentioned above
 
all the errors mentioned above w.r.t buildParaview-cvs are coz of QT not being 4.3.5

As per the README it can be 4.3.x however, i could only get it to work with 4.3.5.

Try installing the same and then set the paths for QT to be correct so that it is picked rather than the old one!

Then build Paraview and all will be ok.


All times are GMT -4. The time now is 05:58.