CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Error building DICOMAppHelper during ParaView compilation (http://www.cfd-online.com/Forums/openfoam-installation/57385-error-building-dicomapphelper-during-paraview-compilation.html)

geoffjay May 5, 2008 17:03

While compiling paraview 2.4.4
 
While compiling paraview 2.4.4 on SuSE 10.1 I get to section for compiling vtk and I get:

Linking C executable ../../../bin/ProcessShader
[ 14%] Built target ProcessShader
[ 14%] Generating vtkMaterialXMLLibrary.h
[ 14%] Built target vtkMaterialLibraryConfiguredFiles
Scanning dependencies of target vtkDICOMParser
[ 14%] Building CXX object VTK/Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMAppHelper.o
/apps/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)#:
/apps/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:587: error: #memcpy# was not declared in this scope
/apps/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:609: error: #memcpy# was not declared in this scope
/apps/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)#:
/apps/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:699: error: #strcmp# was not declared in this scope
/apps/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx: In member function #const char* DICOMAppHelper::TransferSyntaxUIDDescription(const char*)#:
/apps/OpenFOAM/linuxSrc/paraview-2.4.4/VTK/Utilities/DICOMParser/DICOMAppHelper. cxx:1002: error: #strcmp# was not declared in this scope
make[2]: *** [VTK/Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/DICOMAppHelper.o] Error 1
make[1]: *** [VTK/Utilities/DICOMParser/CMakeFiles/vtkDICOMParser.dir/all] Error 2
make: *** [all] Error 2

I've compiled gcc, and cmake, but not binutils. The version of binutils that I have looked new enough and has the demangle.h library, is it still a good idea to compile it under the OpenFOAM directory?

I'm using the install document at:
http://openfoamwiki.net/index.php/Ho...mpile_OpenFOAM

geoffjay May 7, 2008 13:07

I recompiled everything in the
 
I recompiled everything in the order binutils, gcc, gdb, cmake, paraview, openfoam and now things are mostly working. Past this section anyways.


All times are GMT -4. The time now is 06:14.