Skip to content

Error on building project on Windows - Cannot find CLIPPER LIBRARIES #46

@tslima

Description

@tslima

Hi everyone!

I'm trying to build to build the project in my machine

Windows SDK version 10.0.19041.0 to target Windows 10.0.19043

C compiler identification is MSVC 19.32.31332.0

CXX compiler identification is MSVC 19.32.31332.0

I've already builded and installed Clipper. Also defined an envyroment variable CLIPPER_PATH

But when I try to build the project, I keep getting the following error:

-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.32.31332.0
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/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: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Clipper library cannot be found.  Consider set CLIPPER_PATH environment
  variable (missing: CLIPPER_INCLUDE_DIRS CLIPPER_LIBRARIES)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake_modules/FindClipper.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake_modules/RequirePackage.cmake:255 (find_package)
  include/libnest2d/backends/clipper/CMakeLists.txt:3 (require_package)


-- Configuring incomplete, errors occurred!
See also "C:/Users/tslima/Downloads/libnest2d-master/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/tslima/Downloads/libnest2d-master/build/CMakeFiles/CMakeError.log". 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions