I try to compil IfcOpenShell for use it in the Arch wb of FreeCad but I have a problem.
The cmake return 3 not found (fstream.h, iomanip.h, iostream.h) but I don't know where I can find them ?
Code: Select all
jo@jo-desktop:~/BEBois/Dev/Git/IfcOpenShell/build$ cmake -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/python2.7.so ../sources/cmake
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.54.0
-- Boost include files found in /usr/include
-- Boost libraries found in /usr/lib
-- Looking for opencascade include files in: /usr/include/opencascade
-- Use OCC_INCLUDE_DIR to specify another directory
-- Header files found
-- Looking for opencascade library files in: /usr/lib
-- Use OCC_LIBRARY_DIR to specify another directory
-- Library files found
-- No ICU include directory specified
-- No ICU library directory specified
-- ICU libraries found
-- Looking for C++ include limits
-- Looking for C++ include limits - found
-- Looking for C++ include climits
-- Looking for C++ include climits - found
-- Looking for C++ include limits.h
-- Looking for C++ include limits.h - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include fstream.h
-- Looking for C++ include fstream.h - not found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iomanip.h
-- Looking for C++ include iomanip.h - not found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iostream.h
-- Looking for C++ include iostream.h - not found
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.4")
-- Found PythonLibs: /usr/lib/python2.7.so (found version "2.7.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jo/BEBois/Dev/Git/IfcOpenShell/build
Code: Select all
jo@jo-desktop:~/BEBois/Dev/Git/IfcOpenShell/build$ make -j4
Scanning dependencies of target IfcParse
[ 5%] [ 15%] [ 15%] [ 20%] Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/Ifc2x3-rt.cpp.o
Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/Ifc2x3.cpp.o
Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/IfcGuidHelper.cpp.o
Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/IfcCharacterDecoder.cpp.o
[ 25%] Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/IfcParse.cpp.o
[ 30%] Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/IfcUntypedEntity.cpp.o
[ 35%] Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/IfcUtil.cpp.o
[ 40%] Building CXX object CMakeFiles/IfcParse.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcparse/IfcWrite.cpp.o
Linking CXX static library libIfcParse.a
[ 40%] Built target IfcParse
Scanning dependencies of target IfcParseExamples
Scanning dependencies of target IfcGeom
[ 45%] Building CXX object examples/CMakeFiles/IfcParseExamples.dir/IfcParseExamples.cpp.o
[ 50%] [ 55%] [ 60%] Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomCurves.cpp.o
Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomFaces.cpp.o
Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomFunctions.cpp.o
/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/examples/IfcParseExamples.cpp: In function ‘int main(int, char**)’:
/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/examples/IfcParseExamples.cpp:35:20: erreur: aggregate ‘IfcParse::IfcFile file’ has incomplete type and cannot be defined
/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/examples/IfcParseExamples.cpp:57:76: erreur: expected primary-expression before ‘>’ token
/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/examples/IfcParseExamples.cpp:57:78: erreur: expected primary-expression before ‘)’ token
make[2]: *** [examples/CMakeFiles/IfcParseExamples.dir/IfcParseExamples.cpp.o] Erreur 1
make[1]: *** [examples/CMakeFiles/IfcParseExamples.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
[ 65%] Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomHelpers.cpp.o
[ 70%] Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomObjects.cpp.o
[ 75%] Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomShapes.cpp.o
[ 80%] Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcGeomWires.cpp.o
[ 85%] Building CXX object CMakeFiles/IfcGeom.dir/home/jo/BEBois/Dev/Git/IfcOpenShell/sources/src/ifcgeom/IfcRegister.cpp.o
Linking CXX static library libIfcGeom.a
[ 85%] Built target IfcGeom
make: *** [all] Erreur 2