mshr compilation issue on MAC

Issue #88 new
Souvik Chakraborty created an issue

While installing mshr, I am getting the following error:

ld: warning: object file (3rdparty/tetgen1.5.0/libtet.a(tetgen.cxx.o)) was built for newer OSX version (10.11) than being linked (10.9) ld: warning: object file (3rdparty/tetgen1.5.0/libtet.a(predicates.cxx.o)) was built for newer OSX version (10.11) than being linked (10.9) Undefined symbols for architecture x86_64: "dolfin::MPI::is_receiver(ompi_communicator_t)", referenced from: mshr::CSGCGALMeshGenerator2D::generate(std::__1::shared_ptr<mshr::CSGCGALDomain2D const>, std::__1::vector<std::__1::pair<unsigned long, std::__1::shared_ptr<mshr::CSGCGALDomain2D const> >, std::__1::allocator<std::__1::pair<unsigned long, std::__1::shared_ptr<mshr::CSGCGALDomain2D const> > > > const&) in CSGCGALMeshGenerator2D.cpp.o mshr::CSGCGALMeshGenerator3D::generate(std::__1::shared_ptr<mshr::CSGCGALDomain3D const>, dolfin::Mesh&) const in CSGCGALMeshGenerator3D.cpp.o mshr::UnitSphereMesh::UnitSphereMesh(unsigned long) in Meshes.cpp.o "dolfin::MPI::is_broadcaster(ompi_communicator_t)", referenced from: mshr::UnitSphereMesh::UnitSphereMesh(unsigned long) in Meshes.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [libmshr.2018.1.0.dev0.dylib] Error 1 make[1]: [CMakeFiles/mshr.dir/all] Error 2 make: *** [all] Error 2

Comments (0)

  1. Log in to comment