Comments (13)
Have you installed libigl someplace ? Where? What's the error you're getting using cmake?
from gptoolbox.
I guess Libigl is static library and I have it somewhere I know.
Here is the error I got for cmake:
"CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
libigl not found --- You can download it using:
git clone --recursive https://github.com/libigl/libigl.git
/home/helnagh1/Downloads/gptoolbox-master/mex/../libigl (missing:
LIBIGL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
cmake/FindLIBIGL.cmake:30 (find_package_handle_standard_args)
CMakeLists.txt:33 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/helnagh1/Downloads/gptoolbox-master/mex/build/CMakeFiles/CMakeOutput.log".
- Is it better to use "cmake" or Matlab mex for the installation?
Thanks
from gptoolbox.
libigl is a header only library. So it's enough to just download it and make sure that cmake can find it.
I recently added the cmake one, so that is the one I intend to support.
Can you try issuing the command it suggests?
git clone --recursive https://github.com/libigl/libigl.git /home/helnagh1/Downloads/gptoolbox-master/mex/../libigl
Then cmake will hopefully find libigl.
from gptoolbox.
Thanks, cmake now can find the libigl.
But unfortunately it can not find the LIBELTOPO.
The error is:
CMake Error at cmake/FindELTOPO.cmake:22 (message):
could NOT find LIBELTOPO_INCLUDE_DIR
Call Stack (most recent call first):
CMakeLists.txt:35 (find_package)
from gptoolbox.
from gptoolbox.
Now I got a bunch of errors all related to igl and CGAL, here is just some of them:
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
from gptoolbox.
from gptoolbox.
Yah Linux. Here is the entire cmake output:
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Creating target: igl::core
-- Found CGAL: /usr/lib/CGAL
-- Creating target: igl::cgal
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Detecting default ISA:
-- Detecting default ISA: SSE2
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Creating target: igl::embree
-- Compiling: segment_graph.cpp;bone_visible.cpp;collapse_small_triangles.cpp;decimate_libigl.cpp;fit_rotations_mex.cpp;in_element_aabb.cpp;ray_mesh_intersect.cpp;read_triangle_mesh.cpp;signed_distance.cpp;simplify_polyhedron.cpp;slim.cpp;solid_angle.cpp;winding_number.cpp;ambient_occlusion.cpp;bone_visible_embree.cpp;reorient_facets.cpp;decimate_cgal.cpp;intersect_other.cpp;mesh_boolean.cpp;outer_hull.cpp;point_mesh_squared_distance.cpp;selfintersect.cpp;signed_distance_isosurface.cpp;snap_rounding.cpp;trim_with_solid.cpp;wire_mesh.cpp
-- Configuring done
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible_embree" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible_embree" links to target "CGAL::CGAL" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible_embree" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "collapse_small_triangles" links to target "igl::matlab" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "collapse_small_triangles" links to target "CGAL::CGAL" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "collapse_small_triangles" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_cgal" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_cgal" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_cgal" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_libigl" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_libigl" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_libigl" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "fit_rotations_mex" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "fit_rotations_mex" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "fit_rotations_mex" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "in_element_aabb" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "in_element_aabb" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "in_element_aabb" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "intersect_other" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "intersect_other" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "intersect_other" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "mesh_boolean" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "mesh_boolean" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "mesh_boolean" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "outer_hull" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "outer_hull" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "outer_hull" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "point_mesh_squared_distance" links to target "igl::matlab" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "point_mesh_squared_distance" links to target "CGAL::CGAL" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "point_mesh_squared_distance" links to target "CGAL::CGAL_Core" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ray_mesh_intersect" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ray_mesh_intersect" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ray_mesh_intersect" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "read_triangle_mesh" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "read_triangle_mesh" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "read_triangle_mesh" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "reorient_facets" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "reorient_facets" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "reorient_facets" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "segment_graph" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "segment_graph" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "segment_graph" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "selfintersect" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "selfintersect" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "selfintersect" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance_isosurface" links to target "igl::matlab" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance_isosurface" links to target "CGAL::CGAL" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance_isosurface" links to target "CGAL::CGAL_Core" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "simplify_polyhedron" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "simplify_polyhedron" links to target "CGAL::CGAL" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "simplify_polyhedron" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "slim" links to target "igl::matlab" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "slim" links to target "CGAL::CGAL" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "slim" links to target "CGAL::CGAL_Core" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "snap_rounding" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "snap_rounding" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "snap_rounding" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "solid_angle" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "solid_angle" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "solid_angle" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "trim_with_solid" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "trim_with_solid" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "trim_with_solid" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "winding_number" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "winding_number" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "winding_number" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "wire_mesh" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "wire_mesh" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "wire_mesh" links to target "CGAL::CGAL_Core" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /home/helnagh1/Downloads/gptoolbox-master/mex/build
from gptoolbox.
from gptoolbox.
Yes, CMakeLists.txt file has the line:
option(LIBIGL_WITH_MATLAB "Use Matlab" ON).
But after applying your suggestion of swapping the two lines, I still got the same cmake output:
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Creating target: igl::core
-- Found CGAL: /usr/lib/CGAL
-- Creating target: igl::cgal
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- system
-- Found Git: /usr/bin/git (found version "1.9.1")
-- Detecting default ISA:
-- Detecting default ISA: SSE2
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Creating target: igl::embree
-- Compiling: segment_graph.cpp;bone_visible.cpp;collapse_small_triangles.cpp;decimate_libigl.cpp;fit_rotations_mex.cpp;in_element_aabb.cpp;ray_mesh_intersect.cpp;read_triangle_mesh.cpp;signed_distance.cpp;simplify_polyhedron.cpp;slim.cpp;solid_angle.cpp;winding_number.cpp;ambient_occlusion.cpp;bone_visible_embree.cpp;reorient_facets.cpp;decimate_cgal.cpp;intersect_other.cpp;mesh_boolean.cpp;outer_hull.cpp;point_mesh_squared_distance.cpp;selfintersect.cpp;signed_distance_isosurface.cpp;snap_rounding.cpp;trim_with_solid.cpp;wire_mesh.cpp
-- Configuring done
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ambient_occlusion" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible_embree" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible_embree" links to target "CGAL::CGAL" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "bone_visible_embree" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "collapse_small_triangles" links to target "igl::matlab" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "collapse_small_triangles" links to target "CGAL::CGAL" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "collapse_small_triangles" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_cgal" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_cgal" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_cgal" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_libigl" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_libigl" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "decimate_libigl" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "fit_rotations_mex" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "fit_rotations_mex" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "fit_rotations_mex" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "in_element_aabb" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "in_element_aabb" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "in_element_aabb" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "intersect_other" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "intersect_other" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "intersect_other" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "mesh_boolean" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "mesh_boolean" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "mesh_boolean" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "outer_hull" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "outer_hull" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "outer_hull" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "point_mesh_squared_distance" links to target "igl::matlab" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "point_mesh_squared_distance" links to target "CGAL::CGAL" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "point_mesh_squared_distance" links to target "CGAL::CGAL_Core" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ray_mesh_intersect" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ray_mesh_intersect" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "ray_mesh_intersect" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "read_triangle_mesh" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "read_triangle_mesh" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "read_triangle_mesh" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "reorient_facets" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "reorient_facets" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "reorient_facets" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "segment_graph" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "segment_graph" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "segment_graph" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "selfintersect" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "selfintersect" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "selfintersect" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance_isosurface" links to target "igl::matlab" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance_isosurface" links to target "CGAL::CGAL" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "signed_distance_isosurface" links to target "CGAL::CGAL_Core" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "simplify_polyhedron" links to target "igl::matlab" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "simplify_polyhedron" links to target "CGAL::CGAL" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "simplify_polyhedron" links to target "CGAL::CGAL_Core" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "slim" links to target "igl::matlab" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "slim" links to target "CGAL::CGAL" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "slim" links to target "CGAL::CGAL_Core" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "snap_rounding" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "snap_rounding" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "snap_rounding" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "solid_angle" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "solid_angle" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "solid_angle" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "trim_with_solid" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "trim_with_solid" links to target "CGAL::CGAL" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "trim_with_solid" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "winding_number" links to target "igl::matlab" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "winding_number" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "winding_number" links to target "CGAL::CGAL_Core" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "wire_mesh" links to target "igl::matlab" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "wire_mesh" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:126 (add_library):
Target "wire_mesh" links to target "CGAL::CGAL_Core" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
-- Generating done
-- Build files have been written to: /home/helnagh1/Downloads/gptoolbox-master/mex/build
Thanx
from gptoolbox.
from gptoolbox.
Thank you for your help.
My Matlab version is R2016a and my cmake version is 3.2.2.
I will try to update my cmake and see how it will go.
Thanks
from gptoolbox.
Hello! I know this post is from several months ago, so thank you in advance for your help. I am similarly having problems with finding the CGAL::CGAL and CGAL::Core targets for the mex compilation and would like to hear if others have found a solution to this. When I run cmake, this is the output:
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LIBELTOPO: /ifs/loni/faculty/kclark/candl/kirsten/scripts/eltopo-master/eltopo3d/libeltopo_release.a
-- Found LIBIGL: /ifs/loni/faculty/kclark/candl/kirsten/scripts/libigl-master/include
-- Found CGAL: /usr/local/cgal-3.6.1_64bit/lib/CGAL
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- Found Matlab: /usr/local/MATLAB/R2014b/extern/include (found version "8.4") found components: MEX_COMPILER MX_LIBRARY ENG_LIBRARY
-- Could NOT find MOSEK (missing: MOSEK_LIBRARIES MOSEK_INCLUDE_DIR)
-- Found OpenGL: /usr/lib64/libGL.so
-- Creating target: igl::core (igl)
-- Found CGAL: /usr/local/cgal-3.6.1_64bit/lib/CGAL
-- Creating target: igl::cgal (igl_cgal)
-- Boost version: 1.59.0
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- Creating target: igl::matlab (igl_matlab)
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- A library with BLAS API found.
-- Found CGAL: /usr/local/cgal-3.6.1_64bit/lib/CGAL
-- Compiling: segment_graph.cpp;bone_visible.cpp;collapse_small_triangles.cpp;decimate_libigl.cpp;fit_rotations_mex.cpp;in_element_aabb.cpp;read_triangle_mesh.cpp;readMSH.cpp;signed_distance.cpp;simplify_polyhedron.cpp;slim.cpp;solid_angle.cpp;winding_number.cpp;eltopo.cpp;decimate_cgal.cpp;intersect_other.cpp;mesh_boolean.cpp;outer_hull.cpp;point_mesh_squared_distance.cpp;selfintersect.cpp;signed_distance_isosurface.cpp;snap_rounding.cpp;trim_with_solid.cpp;wire_mesh.cpp
-- Configuring done
CMake Error at CMakeLists.txt:134 (add_library):
Target "selfintersect" links to target "CGAL::CGAL" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:134 (add_library):
Target "selfintersect" links to target "CGAL::CGAL_Core" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?```
This cmake error is repeated for all the mex targets.
from gptoolbox.
Related Issues (20)
- how to mex on mesh_boolean HOT 3
- Install this toolbox on win10 HOT 2
- Compiling mex on M1 Mac HOT 13
- Could NOT find Matlab HOT 8
- kharmonic on high-poly meshes HOT 1
- Qslim.exe file
- Unexpected Standard exception What() is:vector when calling mex principal_curvature HOT 2
- dependend .dlls wont be copied to `./mex` after successfull compilation.
- Looking for sgemm_ - not found HOT 5
- No find: meshgrid, Parameterization QuadCover, HOT 6
- error when building CXX object CMakeFiles/upper_envelope.dir/upper_envelope.cpp.o HOT 1
- ld.exe: cannot find /export:mexFunction: No such file or directory
- Invalid MEX-file 'C:\......\selfintersect.mexw64': The specified module could not be found. HOT 3
- Cannot find /export:mexFunction: No such file or directory HOT 7
- run GPtoolbox HOT 1
- Compile Mex for Octave
- Compile failed. Cannot find split_nonmanifold.cpp
- The function DUAL_LAPLACIAN can not be used
- Interpolationin Tetra mesh. HOT 1
- Improve Documentation by Providing Function List
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gptoolbox.