PS D:\PROGRAMMING\voxelizer_library_use\voxelizer-master5\voxelizer-master\build> cmake ..
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: d:/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
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Found OpenMP_CXX: -openmp (found version "2.0")
-- Found OpenMP: TRUE (found version "2.0")
CMake Error at CMakeLists.txt:93 (add_subdirectory):
add_subdirectory given source "polyhedron/tinyobjloader" which is not an
existing directory.
-- Configuring incomplete, errors occurred!
See also "D:/PROGRAMMING/voxelizer_library_use/voxelizer-master5/voxelizer-master/build/CMakeFiles/CMakeOutput.log".
PS D:\PROGRAMMING\voxelizer_library_use\voxelizer-master5\voxelizer-master\build> make
Hi.
I have an error when building the project according to the method described in the introduction. How to build the project correctly?
thank you very much!
PS D:\PROGRAMMING\voxelizer_library_use\voxelizer-master5\voxelizer-master\build> cmake .. -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000. -- The CXX compiler identification is MSVC 19.32.31332.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: d:/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 -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") CMake Error at CMakeLists.txt:93 (add_subdirectory): add_subdirectory given source "polyhedron/tinyobjloader" which is not an existing directory.
-- OpenMP::OpenMP_CXX: -openmp -- Copying resource examples/david CMake Error at CMakeLists.txt:116 (file): file COPY cannot find "D:/PROGRAMMING/voxelizer_library_use/voxelizer-master5/voxelizer-master/examples/david": No error. Call Stack (most recent call first): CMakeLists.txt:121 (copy_ressource)
-- Copying resource examples/cube CMake Error at CMakeLists.txt:116 (file): file COPY cannot find "D:/PROGRAMMING/voxelizer_library_use/voxelizer-master5/voxelizer-master/examples/cube": No error. Call Stack (most recent call first): CMakeLists.txt:122 (copy_ressource)
-- Copying resource examples/eiffel CMake Error at CMakeLists.txt:116 (file): file COPY cannot find "D:/PROGRAMMING/voxelizer_library_use/voxelizer-master5/voxelizer-master/examples/eiffel": No error. Call Stack (most recent call first): CMakeLists.txt:123 (copy_ressource)
-- Copying resource examples/ensemble CMake Error at CMakeLists.txt:116 (file): file COPY cannot find "D:/PROGRAMMING/voxelizer_library_use/voxelizer-master5/voxelizer-master/examples/ensemble": No error. Call Stack (most recent call first): CMakeLists.txt:124 (copy_ressource)
-- Configuring incomplete, errors occurred! See also "D:/PROGRAMMING/voxelizer_library_use/voxelizer-master5/voxelizer-master/build/CMakeFiles/CMakeOutput.log". PS D:\PROGRAMMING\voxelizer_library_use\voxelizer-master5\voxelizer-master\build> make