Skip to content

Instantly share code, notes, and snippets.

@ceremcem
Created July 18, 2018 10:47
Show Gist options
  • Save ceremcem/d22e994733725c3a7f8dfd6569c44b69 to your computer and use it in GitHub Desktop.
Save ceremcem/d22e994733725c3a7f8dfd6569c44b69 to your computer and use it in GitHub Desktop.
Building FreeCAD-LinkStage3.md

System

Linux 4.16 Debian 64bit

Status

Work In Progress

Instructions

  1. Download the FreeCAD-LinkStage3 sources from https://github.com/realthunder/FreeCAD/tree/LinkStage3

  2. Follow these instructions to install the dependencies except the OpenCascade

  3. Download OpenCascade 7.x here: https://www.opencascade.com/content/download-center

    1. You need to install ttb to compile OpenCascade: sudo apt-get install libtbb-dev
    2. cd opencascade-7.3.0; ./codeblocks.sh
    3. Click "Build"
  4. Configure FC-LinkStage3:

    cmake -DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release -DFREECAD_USE_OCC_VARIANT='Official Version' -DOCC_INCLUDE_DIR=../opencascade-7.3.0/inc/ .

    (Success: see cmake-output file below)

  5. Run make:

    make

    (Error: see make output file below)

CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy):
The OLD behavior for policy CMP0050 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Compiler: GNU, version: 7.3.0
-- prefix: /usr/local
-- datadir: data
-- docdir: doc
-- includedir: include
-- libdir: /usr/local/lib
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- regex
-- signals
-- system
-- thread
-- chrono
-- date_time
-- atomic
-- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so
-- PyCXX found:
-- Headers: /home/ceremcem/.sda1/cca/downloads/install-lib-backup/freecad/FreeCAD-LinkStage3/src
-- Sources: /home/ceremcem/.sda1/cca/downloads/install-lib-backup/freecad/FreeCAD-LinkStage3/src/CXX
-- Version: 6.2.8
-- Found OCC: /home/ceremcem/.sda1/cca/downloads/install-lib-backup/freecad/opencascade-7.3.0/inc (found version "7.3.0")
-- -- Found OCE/OpenCASCADE version: 7.3.0
-- -- OCE/OpenCASCADE include directory: /home/ceremcem/.sda1/cca/downloads/install-lib-backup/freecad/opencascade-7.3.0/inc
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib/x86_64-linux-gnu
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType
-- Check for medfile (libmed and libmedc) ...
CMake Warning (dev) at /usr/share/cmake-3.11/Modules/FindOpenGL.cmake:270 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:922 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'Coin'
-- No package 'Coin' found
-- libshiboken built for Release
-- Found PySide Tools: /usr/bin/pyside-uic, /usr/bin/pyside-rcc
-- -- matplotlib-2.2.2 has been found.
-- Platform is 64-bit, set -D_OCC64
-- Build type: Release
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- python27
-- found Boost: 1_62
-- boost-incude dirs are: /usr/include
-- boost-python lib is:
-- boost_LIBRARY_DIRS is: /usr/lib/x86_64-linux-gnu
-- Boost_LIBRARIES is: /usr/lib/x86_64-linux-gnu/libboost_python-py27.so
-- area module (for Path Workbench) will be installed to: /usr/local/lib
-- Coin3D doc is not installed
=======================================
Now run 'make' to build FreeCAD
=======================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ceremcem/.sda1/cca/downloads/install-lib-backup/freecad/FreeCAD-LinkStage3
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/MEFISTO2.dir/src/MEFISTO2/aptrte.cpp.o
[ 0%] Building C object src/3rdParty/salomesmesh/CMakeFiles/MEFISTO2.dir/src/MEFISTO2/trte.c.o
[ 0%] Linking CXX shared library ../../../lib/libMEFISTO2.so
[ 0%] Built target MEFISTO2
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_BallElement.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Downward.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_EdgePosition.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_FaceOfEdges.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_FaceOfNodes.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_FacePosition.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_IteratorOfElements.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_LinearEdge.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh0DElement.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshCell.cpp.o
[ 0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshEdge.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshElement.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshElementIDFactory.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshFace.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshGroup.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshIDFactory.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshNode.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshNodeIDFactory.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshObject.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshVolume.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_PolygonalFaceOfNodes.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_PolyhedralVolumeOfNodes.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Position.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticEdge.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticFaceOfNodes.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticVolumeOfNodes.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_SpacePosition.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_UnstructuredGrid.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VertexPosition.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VolumeOfFaces.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VolumeOfNodes.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VolumeTool.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkCellIterator.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkEdge.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkFace.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_VtkVolume.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/Utils_SALOME_Exception.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/chrono.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/duplicate.cpp.o
[ 1%] Linking CXX shared library ../../../lib/libSMDS.so
[ 1%] Built target SMDS
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Command.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Document.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Group.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupBase.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnFilter.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Hypothesis.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Script.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_SubMesh.cpp.o
[ 1%] Linking CXX shared library ../../../lib/libSMESHDS.so
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o: in function `SMESHDS_GroupOnGeom::SetShape(TopoDS_Shape const&)':
SMESHDS_GroupOnGeom.cpp:(.text+0x59f): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_GroupOnGeom.cpp:(.text+0x5b4): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o: in function `SMESHDS_GroupOnGeom::~SMESHDS_GroupOnGeom()':
SMESHDS_GroupOnGeom.cpp:(.text._ZN19SMESHDS_GroupOnGeomD0Ev[_ZN19SMESHDS_GroupOnGeomD5Ev]+0x21): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_GroupOnGeom.cpp:(.text._ZN19SMESHDS_GroupOnGeomD0Ev[_ZN19SMESHDS_GroupOnGeomD5Ev]+0x33): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o: in function `SMESHDS_GroupOnGeom::~SMESHDS_GroupOnGeom()':
SMESHDS_GroupOnGeom.cpp:(.text._ZN19SMESHDS_GroupOnGeomD2Ev[_ZN19SMESHDS_GroupOnGeomD5Ev]+0x21): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_GroupOnGeom.cpp:(.text._ZN19SMESHDS_GroupOnGeomD2Ev[_ZN19SMESHDS_GroupOnGeomD5Ev]+0x33): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o: in function `TopLoc_SListOfItemLocation::~TopLoc_SListOfItemLocation()':
SMESHDS_GroupOnGeom.cpp:(.text._ZN26TopLoc_SListOfItemLocationD2Ev[_ZN26TopLoc_SListOfItemLocationD5Ev]+0x10): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_GroupOnGeom.cpp.o:SMESHDS_GroupOnGeom.cpp:(.text._ZN11opencascade6handleI13TopoDS_TShapeE8EndScopeEv[_ZN11opencascade6handleI13TopoDS_TShapeE8EndScopeEv]+0xd): more undefined references to `Standard_Transient::DecrementRefCounter() const' follow
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `SMESHDS_Mesh::ShapeToMesh() const':
SMESHDS_Mesh.cpp:(.text+0x1fbc): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x1fd1): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `SMESHDS_Mesh::AddHypothesis(TopoDS_Shape const&, SMESHDS_Hypothesis const*)':
SMESHDS_Mesh.cpp:(.text+0x229c): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x22af): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `SMESHDS_Mesh::ShapeToMesh(TopoDS_Shape const&)':
SMESHDS_Mesh.cpp:(.text+0x264d): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2660): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x268e): undefined reference to `TopExp::MapShapes(TopoDS_Shape const&, NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x26b9): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x26d6): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x26f0): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2a12): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `SMESHDS_Mesh::SMESHDS_Mesh(int, bool)':
SMESHDS_Mesh.cpp:(.text+0x2c40): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2c5c): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2c6a): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2d66): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2d82): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x2d91): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `SMESHDS_Mesh::~SMESHDS_Mesh()':
SMESHDS_Mesh.cpp:(.text+0x307d): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x30a0): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x30b9): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x30d2): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x3104): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x3120): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `SMESHDS_Mesh::AddCompoundSubmesh(TopoDS_Shape const&, TopAbs_ShapeEnum)':
SMESHDS_Mesh.cpp:(.text+0x3fd0): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x3fe2): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x4166): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text+0x418b): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `opencascade::handle<Standard_Type>::~handle()':
SMESHDS_Mesh.cpp:(.text._ZN11opencascade6handleI13Standard_TypeED2Ev[_ZN11opencascade6handleI13Standard_TypeED5Ev]+0x10): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_BaseMap::~NCollection_BaseMap()':
SMESHDS_Mesh.cpp:(.text._ZN19NCollection_BaseMapD2Ev[_ZN19NCollection_BaseMapD5Ev]+0x1f): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_DataMap<TopoDS_Shape, std::__cxx11::list<SMESHDS_Hypothesis const*, std::allocator<SMESHDS_Hypothesis const*> >, SMESHDS_Hasher>::~NCollection_DataMap()':
SMESHDS_Mesh.cpp:(.text._ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED0Ev[_ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED5Ev]+0x1f): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED0Ev[_ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED5Ev]+0x3b): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>::~NCollection_IndexedMap()':
SMESHDS_Mesh.cpp:(.text._ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED0Ev[_ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED5Ev]+0x1f): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED0Ev[_ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED5Ev]+0x3b): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_BaseMap::~NCollection_BaseMap()':
SMESHDS_Mesh.cpp:(.text._ZN19NCollection_BaseMapD0Ev[_ZN19NCollection_BaseMapD5Ev]+0x1c): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_IndexedMap<TopoDS_Shape, TopTools_ShapeMapHasher>::~NCollection_IndexedMap()':
SMESHDS_Mesh.cpp:(.text._ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED2Ev[_ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED5Ev]+0x1f): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED2Ev[_ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherED5Ev]+0x3b): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_DataMap<TopoDS_Shape, std::__cxx11::list<SMESHDS_Hypothesis const*, std::allocator<SMESHDS_Hypothesis const*> >, SMESHDS_Hasher>::~NCollection_DataMap()':
SMESHDS_Mesh.cpp:(.text._ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED2Ev[_ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED5Ev]+0x1f): undefined reference to `NCollection_BaseMap::Destroy(void (*)(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&), bool)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED2Ev[_ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherED5Ev]+0x3b): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `TopoDS_Shape::~TopoDS_Shape()':
SMESHDS_Mesh.cpp:(.text._ZN12TopoDS_ShapeD2Ev[_ZN12TopoDS_ShapeD5Ev]+0xe): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN12TopoDS_ShapeD2Ev[_ZN12TopoDS_ShapeD5Ev]+0x1f): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `NCollection_DataMap<TopoDS_Shape, std::__cxx11::list<SMESHDS_Hypothesis const*, std::allocator<SMESHDS_Hypothesis const*> >, SMESHDS_Hasher>::DataMapNode::delNode(NCollection_ListNode*, opencascade::handle<NCollection_BaseAllocator>&)':
SMESHDS_Mesh.cpp:(.text._ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherE11DataMapNode7delNodeEP20NCollection_ListNodeRN11opencascade6handleI25NCollection_BaseAllocatorEE[_ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherE11DataMapNode7delNodeEP20NCollection_ListNodeRN11opencascade6handleI25NCollection_BaseAllocatorEE]+0x1a): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherE11DataMapNode7delNodeEP20NCollection_ListNodeRN11opencascade6handleI25NCollection_BaseAllocatorEE[_ZN19NCollection_DataMapI12TopoDS_ShapeNSt7__cxx114listIPK18SMESHDS_HypothesisSaIS5_EEE14SMESHDS_HasherE11DataMapNode7delNodeEP20NCollection_ListNodeRN11opencascade6handleI25NCollection_BaseAllocatorEE]+0x2d): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o:SMESHDS_Mesh.cpp:(.text._ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherE14IndexedMapNode7delNodeEP20NCollection_ListNodeRN11opencascade6handleI25NCollection_BaseAllocatorEE[_ZN22NCollection_IndexedMapI12TopoDS_Shape23TopTools_ShapeMapHasherE14IndexedMapNode7delNodeEP20NCollection_ListNodeRN11opencascade6handleI25NCollection_BaseAllocatorEE]+0x16): more undefined references to `Standard_Transient::DecrementRefCounter() const' follow
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `opencascade::type_instance<Standard_Transient>::get()':
SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI18Standard_TransientE3getEv[_ZN11opencascade13type_instanceI18Standard_TransientE3getEv]+0x65): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI18Standard_TransientE3getEv[_ZN11opencascade13type_instanceI18Standard_TransientE3getEv]+0x7d): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI18Standard_TransientE3getEv[_ZN11opencascade13type_instanceI18Standard_TransientE3getEv]+0xae): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI18Standard_TransientE3getEv[_ZN11opencascade13type_instanceI18Standard_TransientE3getEv]+0xd8): undefined reference to `Standard_Transient::DecrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `opencascade::type_instance<Standard_DomainError>::get()':
SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv[_ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv]+0x61): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv[_ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv]+0x79): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv[_ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv]+0xdf): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv[_ZN11opencascade13type_instanceI20Standard_DomainErrorE3getEv]+0xf7): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `Standard_NoSuchObject::DynamicType() const':
SMESHDS_Mesh.cpp:(.text._ZNK21Standard_NoSuchObject11DynamicTypeEv[_ZNK21Standard_NoSuchObject11DynamicTypeEv]+0x50): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK21Standard_NoSuchObject11DynamicTypeEv[_ZNK21Standard_NoSuchObject11DynamicTypeEv]+0x68): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `Standard_OutOfRange::DynamicType() const':
SMESHDS_Mesh.cpp:(.text._ZNK19Standard_OutOfRange11DynamicTypeEv[_ZNK19Standard_OutOfRange11DynamicTypeEv]+0x61): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK19Standard_OutOfRange11DynamicTypeEv[_ZNK19Standard_OutOfRange11DynamicTypeEv]+0x79): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK19Standard_OutOfRange11DynamicTypeEv[_ZNK19Standard_OutOfRange11DynamicTypeEv]+0xd0): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK19Standard_OutOfRange11DynamicTypeEv[_ZNK19Standard_OutOfRange11DynamicTypeEv]+0xe8): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o: in function `Standard_DomainError::DynamicType() const':
SMESHDS_Mesh.cpp:(.text._ZNK20Standard_DomainError11DynamicTypeEv[_ZNK20Standard_DomainError11DynamicTypeEv]+0x61): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK20Standard_DomainError11DynamicTypeEv[_ZNK20Standard_DomainError11DynamicTypeEv]+0x79): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK20Standard_DomainError11DynamicTypeEv[_ZNK20Standard_DomainError11DynamicTypeEv]+0xdf): undefined reference to `Standard_Type::Register(char const*, char const*, unsigned long, opencascade::handle<Standard_Type> const&)'
/usr/bin/ld: SMESHDS_Mesh.cpp:(.text._ZNK20Standard_DomainError11DynamicTypeEv[_ZNK20Standard_DomainError11DynamicTypeEv]+0xf7): undefined reference to `Standard_Transient::IncrementRefCounter() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o:(.data.rel.ro._ZTV20Standard_DomainError[_ZTV20Standard_DomainError]+0x30): undefined reference to `Standard_Failure::GetMessageString() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o:(.data.rel.ro._ZTV19Standard_OutOfRange[_ZTV19Standard_OutOfRange]+0x30): undefined reference to `Standard_Failure::GetMessageString() const'
/usr/bin/ld: CMakeFiles/SMESHDS.dir/src/SMESHDS/SMESHDS_Mesh.cpp.o:(.data.rel.ro._ZTV21Standard_NoSuchObject[_ZTV21Standard_NoSuchObject]+0x30): undefined reference to `Standard_Failure::GetMessageString() const'
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libSMESHDS.so] Error 1
src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/build.make:285: recipe for target 'lib/libSMESHDS.so' failed
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/all] Error 2
CMakeFiles/Makefile2:619: recipe for target 'src/3rdParty/salomesmesh/CMakeFiles/SMESHDS.dir/all' failed
make: *** [all] Error 2
Makefile:129: recipe for target 'all' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment