You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've changed the CMakeLists.txt file to the following:
cmake_minimum_required(VERSION 3.16)
project(example)
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Libigl
SET(LIBIGL_GLFW ON CACHE BOOL "Build target igl::glfw" FORCE)
SET(LIBIGL_COPYLEFT_CGAL ON CACHE BOOL "Build target igl_copyleft::cgal" FORCE)
include(libigl)
# Add your project files
file(GLOB SRC_FILES *.cpp)
add_executable(${PROJECT_NAME} ${SRC_FILES})
target_link_libraries(${PROJECT_NAME} PUBLIC igl::core igl::glfw igl_copyleft::cgal)
This will fail with the classic Eigen error YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY all over the place.
Any ideas?
The text was updated successfully, but these errors were encountered:
I've changed the CMakeLists.txt file to the following:
This will fail with the classic Eigen error
YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY
all over the place.Any ideas?
The text was updated successfully, but these errors were encountered: