gcherchi/InteractiveAndRobustMeshBooleans

Problem when building the executable

Closed this issue · 3 comments

Hello, I got the following message when building the executable as the README file. And no makefile generated. Could you please help me out?

-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22621.
-- The C compiler identification is MSVC 19.33.31629.0
-- The CXX compiler identification is MSVC 19.33.31629.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Microsoft Viual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/Microsoft Viual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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 - not found
-- Found Threads: TRUE
-- IPO enabled
-- HWLOC target HWLOC::hwloc_1_11 doesn't exist. The tbbbind target cannot be created
-- HWLOC target HWLOC::hwloc_2 doesn't exist. The tbbbind_2_0 target cannot be created
-- HWLOC target HWLOC::hwloc_2_5 doesn't exist. The tbbbind_2_5 target cannot be created
CINOLIB OPTIONAL MODULES: OpenGL, GLFW, ImGui
-- Found OpenGL: opengl32
-- Using Win32 for window creation
CINOLIB OPTIONAL MODULE: Shewchuk Predicates
CINOLIB OPTIONAL MODULE: Indirect Predicates
-- Configuring done
-- Generating done

It looks like you are building on Windows for Visual Studio? If so it will generate a project file, not a makefile - you open the project file in Visual Studio.

Thanks a lot! I think I made a stupid mistake... But when compiling on Windows, some usages in cinolib report errors, such as the conflict between std::min and the macro min defined in <windows.h>. Did I do something wrong about configuration?

If you can isolate a failure example, please open a dedicated issue in the official cinolib repo and I will try to fix it.
I am closing this one.