Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Several linking problems #3

Open
pedrogarciafreitas opened this issue Mar 13, 2022 · 0 comments
Open

Several linking problems #3

pedrogarciafreitas opened this issue Mar 13, 2022 · 0 comments

Comments

@pedrogarciafreitas
Copy link

I tried to perform the commands:

git clone https://github.com/intel-isl/open3d-cmake-external-project.git
cd open3d-cmake-external-project
mkdir build
cd build
cmake ..
make -j 12

The building process has the error:

/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Eigen.cpp:(.text._ZN5Eigen8internal16parallelize_gemmILb1ENS0_12gemm_functorIdlNS0_29general_matrix_matrix_productIldLi0ELb0EdLi0ELb0ELi0ELi1EEENS_3RefINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEESA_SA_NS0_19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEEEElEEvRKT0_T1_SH_SH_b._omp_fn.0[_ZN5Eigen8internal16parallelize_gemmILb1ENS0_12gemm_functorIdlNS0_29general_matrix_matrix_productIldLi0ELb0EdLi0ELb0ELi0ELi1EEENS_3RefINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEESA_SA_NS0_19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEEEElEEvRKT0_T1_SH_SH_b]+0x1f): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::RemoveRadiusOutliers(unsigned long, double, bool) const [clone ._omp_fn.1]':
PointCloud.cpp:(.text+0x28f): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: PointCloud.cpp:(.text+0x296): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::RemoveStatisticalOutliers(unsigned long, double, bool) const [clone ._omp_fn.2]':
PointCloud.cpp:(.text+0x44f): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: PointCloud.cpp:(.text+0x456): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::ComputeMahalanobisDistance() const [clone ._omp_fn.4]':
PointCloud.cpp:(.text+0x815): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: PointCloud.cpp:(.text+0x820): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::ComputeNearestNeighborDistance() const [clone ._omp_fn.5]':
PointCloud.cpp:(.text+0xa0b): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: PointCloud.cpp:(.text+0xa12): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::EstimatePerPointCovariances(open3d::geometry::PointCloud const&, open3d::geometry::KDTreeSearchParam const&) [clone ._omp_fn.3]':
PointCloud.cpp:(.text+0xcdc): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: PointCloud.cpp:(.text+0xce7): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::ComputePointCloudDistance(open3d::geometry::PointCloud const&) [clone ._omp_fn.0]':
PointCloud.cpp:(.text+0x10eb): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: PointCloud.cpp:(.text+0x10f2): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::ComputePointCloudDistance(open3d::geometry::PointCloud const&)':
PointCloud.cpp:(.text+0x14fc): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::ComputeMahalanobisDistance() const':
PointCloud.cpp:(.text+0x1b96): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::ComputeNearestNeighborDistance() const':
PointCloud.cpp:(.text+0x1cc2): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::EstimatePerPointCovariances(open3d::geometry::PointCloud const&, open3d::geometry::KDTreeSearchParam const&)':
PointCloud.cpp:(.text+0x243d): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o): in function `open3d::geometry::PointCloud::RemoveRadiusOutliers(unsigned long, double, bool) const':
PointCloud.cpp:(.text+0x3bd2): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(PointCloud.cpp.o):PointCloud.cpp:(.text+0x415f): more undefined references to `GOMP_parallel' follow
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(ProgressBar.cpp.o): in function `open3d::utility::OMPProgressBar::operator++()':
ProgressBar.cpp:(.text+0x38a): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: ProgressBar.cpp:(.text+0x391): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::Transpose() const [clone ._omp_fn.2]':
Image.cpp:(.text+0x9e): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0xa5): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::FlipVertical() const [clone ._omp_fn.3]':
Image.cpp:(.text+0x1b5): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0x1c0): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::FlipHorizontal() const [clone ._omp_fn.4]':
Image.cpp:(.text+0x285): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0x28c): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::Downsample() const [clone ._omp_fn.0]':
Image.cpp:(.text+0x5f8): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0x5ff): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::CreateDepthBoundaryMask(double, int) const [clone ._omp_fn.6]':
Image.cpp:(.text+0x750): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0x758): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::FilterHorizontal(std::vector<double, std::allocator<double> > const&) const [clone ._omp_fn.1]':
Image.cpp:(.text+0x8a9): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0x8b1): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::Dilate(int) const [clone ._omp_fn.5]':
Image.cpp:(.text+0xa7d): undefined reference to `omp_get_num_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Image.cpp:(.text+0xa85): undefined reference to `omp_get_thread_num'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::Downsample() const':
Image.cpp:(.text+0xfd9): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::FilterHorizontal(std::vector<double, std::allocator<double> > const&) const':
Image.cpp:(.text+0x124a): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::Transpose() const':
Image.cpp:(.text+0x1444): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::FlipVertical() const':
Image.cpp:(.text+0x1fe0): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o): in function `open3d::geometry::Image::FlipHorizontal() const':
Image.cpp:(.text+0x215e): undefined reference to `GOMP_parallel'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Image.cpp.o):Image.cpp:(.text+0x22c0): more undefined references to `GOMP_parallel' follow
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Qhull.cpp.o): in function `open3d::geometry::Qhull::ComputeDelaunayTetrahedralization(std::vector<Eigen::Matrix<double, 3, 1, 0, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1, 0, 3, 1> > > const&)':
Qhull.cpp:(.text+0x267): undefined reference to `orgQhull::PointCoordinates::PointCoordinates(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x2a2): undefined reference to `orgQhull::PointCoordinates::append(int, double const*)'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x2b8): undefined reference to `orgQhull::Qhull::Qhull()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x37a): undefined reference to `orgQhull::Qhull::runQhull(char const*, int, int, double const*, char const*)'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x3ac): undefined reference to `orgQhull::Qhull::facetList() const'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x3b4): undefined reference to `orgQhull::QhullFacetList::count() const'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x528): undefined reference to `orgQhull::QhullFacet::s_empty_facet'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x534): undefined reference to `orgQhull::QhullFacet::s_empty_facet'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x8ea): undefined reference to `orgQhull::Qhull::~Qhull()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x8f6): undefined reference to `orgQhull::PointCoordinates::~PointCoordinates()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x9dc): undefined reference to `orgQhull::QhullFacet::vertices() const'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0xa41): undefined reference to `qh_setendpointer'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0xa6a): undefined reference to `qh_pointid'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0xb33): undefined reference to `orgQhull::QhullVertex::s_empty_vertex'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0xb4f): undefined reference to `orgQhull::QhullVertexSet::~QhullVertexSet()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x103e): undefined reference to `orgQhull::QhullFacet::s_empty_facet'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x118d): undefined reference to `orgQhull::PointCoordinates::~PointCoordinates()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1282): undefined reference to `orgQhull::Qhull::~Qhull()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1296): undefined reference to `orgQhull::QhullVertexSet::~QhullVertexSet()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Qhull.cpp.o): in function `open3d::geometry::Qhull::ComputeConvexHull(std::vector<Eigen::Matrix<double, 3, 1, 0, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1, 0, 3, 1> > > const&, bool)':
Qhull.cpp:(.text+0x15f8): undefined reference to `orgQhull::PointCoordinates::PointCoordinates(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x162e): undefined reference to `orgQhull::PointCoordinates::append(int, double const*)'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1643): undefined reference to `orgQhull::Qhull::Qhull()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1748): undefined reference to `orgQhull::Qhull::runQhull(char const*, int, int, double const*, char const*)'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1778): undefined reference to `orgQhull::Qhull::facetList() const'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1780): undefined reference to `orgQhull::QhullFacetList::count() const'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1901): undefined reference to `orgQhull::QhullFacet::s_empty_facet'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x190d): undefined reference to `orgQhull::QhullFacet::s_empty_facet'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1d7e): undefined reference to `orgQhull::Qhull::~Qhull()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1d88): undefined reference to `orgQhull::PointCoordinates::~PointCoordinates()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1e37): undefined reference to `orgQhull::QhullFacet::vertices() const'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1e91): undefined reference to `qh_setendpointer'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x1eb8): undefined reference to `qh_pointid'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x20a3): undefined reference to `orgQhull::QhullVertex::s_empty_vertex'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x20bb): undefined reference to `orgQhull::QhullVertexSet::~QhullVertexSet()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x22dd): undefined reference to `orgQhull::QhullFacet::s_empty_facet'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x237a): undefined reference to `orgQhull::PointCoordinates::~PointCoordinates()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x2419): undefined reference to `orgQhull::Qhull::~Qhull()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: Qhull.cpp:(.text+0x2447): undefined reference to `orgQhull::QhullVertexSet::~QhullVertexSet()'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Parallel.cpp.o): in function `open3d::utility::EstimateMaxThreads()':
Parallel.cpp:(.text+0x171): undefined reference to `omp_get_max_threads'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libOpen3D.a(Parallel.cpp.o): in function `open3d::utility::InParallel()':
Parallel.cpp:(.text+0x355): undefined reference to `omp_in_parallel'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Draw.dir/build.make:97: Draw] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/Draw.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant