CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Compilation error with paraview (https://www.cfd-online.com/Forums/openfoam-installation/57313-compilation-error-paraview.html)

quartzian September 21, 2008 08:32

Hi, I tried to follow Prof.
 
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


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