CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Help PV3FoamReader compile error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2008, 23:33
Default Dear All, When compiling PV
  #1
New Member
 
Zhizhong Li
Join Date: Mar 2009
Posts: 8
Rep Power: 17
zzli is on a distinguished road
Dear All,

When compiling PV3FoamReader I got the following error:

CMake Error: Error in cmake code at
/home/hyp/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/Qt/Core:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/hyp/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/P V3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
/home/hyp/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/Qt/Core:562:
ADD_PARAVIEW_GUI_EXTENSION unknown error.
Current CMake stack: /home/hyp/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/P V3FoamReader/PV3FoamReader/CMakeLists.txt;/home/hyp/OpenFOAM/ThirdParty/cmake-2. 4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/hyp/Op enFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCXXIn formation.cmake
CMake Error: Error in cmake code at
/home/hyp/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/P V3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".
CMake Error: Error in cmake code at
/home/hyp/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/P V3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.
Current CMake stack: /home/hyp/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/P V3FoamReader/PV3FoamReader/CMakeLists.txt;/home/hyp/OpenFOAM/ThirdParty/cmake-2. 4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/hyp/Op enFOAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCXXIn formation.cmake
-- Configuring done
+ make
make: *** No targets specified and no makefile found. Stop.

Anybody can help? Thank you very much.
zzli is offline   Reply With Quote

Old   November 13, 2008, 04:21
Default Sounds as if you are using an
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Sounds as if you are using an old version of cmake. "cmake --version" returns for me

cmake version 2.4-patch 6
mattijs is offline   Reply With Quote

Old   November 13, 2008, 05:00
Default Yes cmake version is right 2.4
  #3
New Member
 
Zhizhong Li
Join Date: Mar 2009
Posts: 8
Rep Power: 17
zzli is on a distinguished road
Yes cmake version is right 2.4-patch 6. Thanks.
zzli is offline   Reply With Quote

Old   November 19, 2008, 14:27
Default Hi, I receive the same erro
  #4
Member
 
Ulrich Heck
Join Date: Mar 2009
Location: Krefeld, Germany
Posts: 41
Rep Power: 17
ulli is on a distinguished road
Hi,

I receive the same error message while compiling
1.5.X. on OpenSuse 10.3 64 bit.

I think qmake and cmake should be okay. Is it needed to build paraview new or to perform any changes in the ThirdParty directory when switching from 1.5 to 1.5.X?

'/home/ulli/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libvtkPV3Foam.so' is up
to date.
make[3]: Leaving directory `/home/ulli/OpenFOAM/OpenFOAM-1.5.x/applications/util
ities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam'
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error: Error in cmake code at
#ifndef _@PLUGIN_NAME@Plugin_h:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/ulli/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/graphic
s/PV3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
#ifndef _@PLUGIN_NAME@Plugin_h:562:
.......



OpenFOAM/OpenFOAM-1.5.x> qmake -v
QMake version 2.01a
Using Qt version 4.3.1 in /usr/local/Trolltech/Qt-4.3.1/lib
ulli@linux2:~/OpenFOAM/OpenFOAM-1.5.x>
cmake --version
cmake version 2.4-patch 6

Any ideas how to solve this problem?

Thanks in advance

Ulrich
ulli is offline   Reply With Quote

Old   November 26, 2008, 11:09
Default Dear all We followed the ins
  #5
New Member
 
sonia esteban
Join Date: Mar 2009
Posts: 12
Rep Power: 17
gmc_salta is on a distinguished road
Dear all
We followed the instructions for installation OF1.5, in SUSE10.3 for 32 bit. We install some packages suggest in other discussion(GCC, Cmake, mpfr, gmp, flex++, etc) also we done the symbolic link for library python, as root.
We revised the correct QT version
>qmake --version
QMake version 2.01a
Using Qt version 4.3.1 in /usr/lib

But in our Yast indicated that version Qt is Qt3.3.8-76. Is it correct?

When execute ./Allwmake followed message error we obtained:

make[3]: Leaving directory `/home/foam5/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/miscell aneous/engineCompRatio'
make[2]: Leaving directory `/home/foam5/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/miscell aneous'
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/foam5/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing'
make: *** [postProcessing] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'


When build paraView3.3-cvs (step 7-1, readme), this message error get:

Linking CXX executable ../../../../bin/HybridCxxTests
[ 28%] Built target HybridCxxTests
Scanning dependencies of target WidgetsCxxTests
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/WidgetsCxxTests.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/BoxWidget.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TestContourWidget2.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TestHandleWidget.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TestImplicitPlaneWidget.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TestOrientationMarkerWidg et.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TerrainPolylineEditor.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TestDijkstraGraphGeodesic Path.o
[ 28%] Building CXX object VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/TestParallelopipedWidget. o
Linking CXX executable ../../../../bin/WidgetsCxxTests
collect2: ld terminated with signal 11 [Segmentation fault]
make[2]: *** [bin/WidgetsCxxTests] Error 1
make[1]: *** [VTK/Widgets/Testing/Cxx/CMakeFiles/WidgetsCxxTests.dir/all] Error 2
make: *** [all] Error 2
done

So, if somebody got an idea about this error, pleased help us. Are missing another packages install for?

Ana and Sonia
gmc_salta is offline   Reply With Quote

Old   December 15, 2008, 05:32
Default Hi I installed openFOAM in F
  #6
Member
 
Velan
Join Date: Mar 2009
Location: India
Posts: 50
Rep Power: 17
velan is on a distinguished road
Hi
I installed openFOAM in FC8. I got the same error message which is posted above.

+ cmake ../..
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error: Error in cmake code at
================================================== ======================*/:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
================================================== ======================*/:562:
ADD_PARAVIEW_GUI_EXTENSION unknown error.
Current CMake stack: /home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt;/home/vc/OpenFOAM/ThirdParty/cmake-2.4. 6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/vc/OpenF OAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCXXInfor mation.cmake
CMake Error: Error in cmake code at
/home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".
CMake Error: Error in cmake code at
/home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.
Current CMake stack: /home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt;/home/vc/OpenFOAM/ThirdParty/cmake-2.4. 6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/vc/OpenF OAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCXXInfor mation.cmake
-- Configuring done

$ cmake --version
cmake version 2.4-patch 6


Can you please suggest me what need to be do ?
velan is offline   Reply With Quote

Old   December 16, 2008, 04:19
Default Hi all I found the solution
  #7
Member
 
Velan
Join Date: Mar 2009
Location: India
Posts: 50
Rep Power: 17
velan is on a distinguished road
Hi all

I found the solution for my problem. Please find it in the below link.

http://www.cfd-online.com/cgi-bin/Op...ow.cgi?1/10322
velan is offline   Reply With Quote

Old   June 30, 2009, 15:57
Default
  #8
New Member
 
Frank Regan
Join Date: Jun 2009
Posts: 1
Rep Power: 0
Franklin is on a distinguished road
I had a very similar problem, the solution for me was to install cmake and add the library libmpfr from synaptic.

Hope this helps.

Frank
Franklin is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
udf compile error rawin FLUENT 9 August 15, 2005 05:29
UDF Compile Error Quak FLUENT 3 July 20, 2005 08:31
UDF compile error ernest FLUENT 0 July 14, 2005 10:04
Help for udf compile error richard FLUENT 3 October 12, 2003 23:13
Help! UDF Compile Error Michael FLUENT 1 January 18, 2002 16:24


All times are GMT -4. The time now is 02:33.