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

Compilation error with paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2008, 09:32
Default Hi, I tried to follow Prof.
  #1
New Member
 
S Kumar
Join Date: Mar 2009
Posts: 13
Rep Power: 17
quartzian is on a distinguished road
Hi,

I tried to follow Prof. Hrvoje Jasak's instructions on building the 3rd party and building OpenFOAM. I am not having any luck compiling the 3rd party. I could not compile gcc, so I downloaded the gcc rpm and all its dependency, and installed it. I subsequently was able to compile cmake, but failed in paraview with the errors below. Has anyone seen this before? This is with OF 1.5 (the public download). I tried this with both paraview-2.4.4 and paraview-3.2.3. The errors below are for 3.2.3. What do I need to fix? Thanks for your help. OpenFOAM builds and runs, though.
So I can run, but not visualize.

Thanks,

Kumar

-- Found existing Tcl, not rebuilding
-- Found existing Tk, not rebuilding
[ 0%] Built target maketcltk
[ 0%] Built target SPCTH
[ 0%] Built target H5detect
[ 0%] Built target vtkzlib
[ 1%] Built target vtkhdf5
[ 1%] Built target vtksys
[ 3%] Built target vtkCommon
[ 3%] Built target vtkClientServer
[ 3%] Built target vtkWrapTclInit
[ 3%] Built target vtkParseOGLExt
[ 7%] Built target vtkFiltering
[ 11%] Built target vtkGraphics
[ 13%] Built target vtkImaging
[ 13%] Built target ProcessShader-real
[ 13%] Built target ProcessShader
[ 13%] Built target vtkMaterialLibraryConfiguredFiles
[ 13%] Building CXX object VTK/Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMAppHelper.o
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx: In member function ‘virtual void DICOMAppHelper::ImagePositionPatientCallback(DICOM Parser*, doublebyte, doublebyte, DICOMParser::VRTypes, unsigned char*, quadbyte)’:
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:587: error: ‘memcpy’ was not declared in this scope
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:609: error: ‘memcpy’ was not declared in this scope
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx: In member function ‘virtual void DICOMAppHelper::TransferSyntaxCallback(DICOMParser *, doublebyte, doublebyte, DICOMParser::VRTypes, unsigned char*, quadbyte)’:
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:699: error: ‘strcmp’ was not declared in this scope
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx: In member function ‘const char* DICOMAppHelper::TransferSyntaxUIDDescription(const char*)’:
/root/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:1002: error: ‘strcmp’ was not declared in this scope
gmake[2]: *** [VTK/Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMAppHelper.o] Error 1
gmake[1]: *** [VTK/Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/all] Error 2
gmake: *** [all] Error 2
quartzian 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 compilation error sdp FLUENT 0 February 5, 2009 03:58
Installation of OpenFoam 15 Compilation paraview soeren_brot OpenFOAM Installation 45 January 12, 2009 07:39
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46
Error building DICOMAppHelper during ParaView compilation geoffjay OpenFOAM Installation 1 May 7, 2008 14:07
Compilation Error in UDF Srikant FLUENT 1 January 10, 2007 11:05


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