Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

v0.18.0 Build failure: fatal errors: multiple defined symbols in 'zlib.dll' & Cannot open include file: 'unzip.h'

Open elias-Mimetrik opened this issue 10 months ago • 2 comments

Checklist

Describe the issue

I have been trying to build the native v0.18.0 on Windows without modifying any flags. Simply configure in cmake and build the solution. Towards the end of building, it fails with a zlib not found error, and cannot find unzip.h; even though I'm building the open3d modified version of PNG library..

Steps to reproduce the bug

Either clone the repo (current master) or download the v0.18.0 zip. Configure in cmake and try to build without any extra options.

Error message

Towards the end of building, I get the two zlib errors:

C:\Users\ME\Desktop\open3d-build-with-vcpkg-deps\zlib\src\ext_zlib-build\Release\zlib.dll : fatal error LNK1169: one or more multiply defined symbols found [C:\Users\ME\Desktop\open3d-build-with-vcpkg-deps\zlib\src\ext_zlib-build\zlib.vcxproj]

And later:

C:\Users\ME\Desktop\Open3D-main\cpp\open3d\utility\ExtractZIP.cpp(15,10): fatal error C1083: Cannot open include file: 'unzip.h': No such file or directory

Expected behavior

It should build fine.

Open3D, Python and System information

- Operating system: Windows 11 64-bit
- Python version: 3.9.9
- Open3D version: output from python: v0.18.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): MSVC 19.29.30154.0

Additional information

The complete cmake output is:

Setting build type to Release as none was specified.
CMAKE_BUILD_TYPE is set to Release.
Downloading third-party dependencies to C:/Users/ME/Desktop/Open3D-main/3rdparty_downloads
CMake Deprecation Warning at CMakeLists.txt:193 (cmake_policy):
  The OLD behavior for policy CMP0072 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


fatal: not a git repository (or any of the parent directories): .git

Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22631.
The C compiler identification is MSVC 19.29.30154.0
The CXX compiler identification is MSVC 19.29.30154.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.29.30133/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.29.30133/bin/HostX64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Open3D 0.18.0
Found Python3: C:/Users/ME/AppData/Local/Programs/Python/Python39/python.exe (found suitable version "3.9.9", minimum required is "3.6") found components: Interpreter Development Development.Module Development.Embed 
Fetching ISPC compiler
Building with detected instruction sets
Using ISPC instruction sets: avx512skx-i32x16
Found ISPC compiler: Intel 1.16.1 (C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/_deps/ext_ispc-src/bin/ispc)
Performing Test FLAG_sdl
Performing Test FLAG_sdl - Success
Performing Test FLAG_GS
Performing Test FLAG_GS - Success
Performing Test FLAG_guard_cf
Performing Test FLAG_guard_cf - Success
Performing Test FLAG_INCREMENTAL_NO
Performing Test FLAG_INCREMENTAL_NO - Success
Performing Test FLAG_NXCOMPAT
Performing Test FLAG_NXCOMPAT - Success
Performing Test FLAG_DYNAMICBASE
Performing Test FLAG_DYNAMICBASE - Success
Performing Test FLAG_HIGHENTROPYVA
Performing Test FLAG_HIGHENTROPYVA - Success
Using security hardening compiler flags: $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=/sdl,/GS,/guard:cf>;$<$<COMPILE_LANGUAGE:CXX>:/sdl;/GS;/guard:cf>
Using security hardening linker flags: $<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=/INCREMENTAL:NO,/NXCOMPAT,/DYNAMICBASE,/HIGHENTROPYVA>;$<$<COMPILE_LANGUAGE:CXX>:/INCREMENTAL:NO;/NXCOMPAT;/DYNAMICBASE;/HIGHENTROPYVA>
Using security hardening compiler definitions: 
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  
Using installed third-party library 3rdparty_threads 
Found OpenMP_C: -openmp (found version "2.0") 
Found OpenMP_CXX: -openmp (found version "2.0") 
Found OpenMP: TRUE (found version "2.0")  
Using installed third-party library 3rdparty_openmp 
Building with OpenMP
Building library 3rdparty_glfw from source
Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR) 
Using Win32 for window creation
Building third-party library JPEG from source
Looking for a ASM_NASM compiler
Looking for a ASM_NASM compiler - C:/NASM/nasm.exe
The ASM_NASM compiler identification is NASM
Found assembler: C:/NASM/nasm.exe
NASM assembler enabled
libturbojpeg: WITH_CRT_DLL=OFF
pybind11 v2.11.1 
Performing Test HAS_MSVC_GL_LTCG
Performing Test HAS_MSVC_GL_LTCG - Success
Using prebuilt third-party library Filament
Filament is located at C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/filament/src/ext_filament
Found OpenGL: opengl32   
Using installed third-party library 3rdparty_opengl 
Looking for WSAStartup
Looking for WSAStartup - found
Looking for UuidCreateSequential
Looking for UuidCreateSequential - found
Looking for GetAdaptersAddresses
Looking for GetAdaptersAddresses - found
Using MKL to support BLAS and LAPACK functionalities.
IPP-ICV 2020.0.0 Gold available. Building interface wrappers IPP-IW.
open3d_sycl_target_sources(core): PRIVATE
C:/Users/ME/Desktop/Open3D-main/cpp/open3d/core/Indexer.ispc:
C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/_deps/ext_ispc-src/bin/ispc -DBUILD_GUI -DBUILD_ISPC_MODULE -DBUILD_WEBRTC -DFMT_HEADER_ONLY=0 -DFMT_STRING_ALIAS=1 -DFMT_USE_WINDOWS_H=0 -DGLEW_STATIC -DNOMINMAX -DOPEN3D_CUDA_COMPILER_ID="" -DOPEN3D_CUDA_COMPILER_VERSION="" -DOPEN3D_CXX_COMPILER_ID="MSVC" -DOPEN3D_CXX_COMPILER_VERSION="19.29.30154.0" -DOPEN3D_CXX_STANDARD="14" -DOPEN3D_ENABLE_DLL_EXPORTS -DOPEN3D_STATIC -DSTB_IMAGE_IMPLEMENTATION -DSTB_IMAGE_WRITE_IMPLEMENTATION -DTINYGLTF_IMPLEMENTATION -DTINYOBJLOADER_IMPLEMENTATION -DWINDOWS -DWITH_IPPICV -DZMQ_STATIC -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_USE_CXX11_ABI=1 -D_SCL_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -D__TBB_LIB_NAME=tbb_static -IC:/Users/ME/Desktop/Open3D-main/cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/assimp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/dirent -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/nanoflann/src/ext_nanoflann/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/turbojpeg/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/jsoncpp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/liblzf -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tomasakeninemoeller/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/curl/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/libpng/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/rply/rply -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tinyfiledialogs/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinygltf/src/ext_tinygltf -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinyobjloader/src/ext_tinyobjloader -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/qhull/src/ext_qhull/src -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/poisson/src/ext_poisson -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/imgui/src/ext_imgui -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/src/ext_cppzmq -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/msgpack-c/src/ext_msgpack-c/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/vtk/src/ext_vtk/include/vtk-9.1 -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include/DirectXMath -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/mkl_install/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/src/ext_embree -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/abseil-cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/source/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/generated -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/libyuv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/civetweb/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include/icv -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/eigen/src/ext_eigen -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/parallelstl/src/ext_parallelstl/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glew/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glfw/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/fmt/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/filament/src/ext_filament/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/boringssl/src/ext_boringssl/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zlib/include -O2 -g -DNDEBUG --target=avx512skx-i32x16 --werror --addressing=64 --arch=x86-64 -o C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir/Indexer.ispc.obj --emit-obj C:/Users/ME/Desktop/Open3D-main/cpp/open3d/core/Indexer.ispc -h C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir/Indexer_ispc.h
C:/Users/ME/Desktop/Open3D-main/cpp/open3d/core/kernel/BinaryEWCPU.ispc:
C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/_deps/ext_ispc-src/bin/ispc -DBUILD_GUI -DBUILD_ISPC_MODULE -DBUILD_WEBRTC -DFMT_HEADER_ONLY=0 -DFMT_STRING_ALIAS=1 -DFMT_USE_WINDOWS_H=0 -DGLEW_STATIC -DNOMINMAX -DOPEN3D_CUDA_COMPILER_ID="" -DOPEN3D_CUDA_COMPILER_VERSION="" -DOPEN3D_CXX_COMPILER_ID="MSVC" -DOPEN3D_CXX_COMPILER_VERSION="19.29.30154.0" -DOPEN3D_CXX_STANDARD="14" -DOPEN3D_ENABLE_DLL_EXPORTS -DOPEN3D_STATIC -DSTB_IMAGE_IMPLEMENTATION -DSTB_IMAGE_WRITE_IMPLEMENTATION -DTINYGLTF_IMPLEMENTATION -DTINYOBJLOADER_IMPLEMENTATION -DWINDOWS -DWITH_IPPICV -DZMQ_STATIC -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_USE_CXX11_ABI=1 -D_SCL_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -D__TBB_LIB_NAME=tbb_static -IC:/Users/ME/Desktop/Open3D-main/cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/assimp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/dirent -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/nanoflann/src/ext_nanoflann/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/turbojpeg/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/jsoncpp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/liblzf -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tomasakeninemoeller/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/curl/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/libpng/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/rply/rply -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tinyfiledialogs/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinygltf/src/ext_tinygltf -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinyobjloader/src/ext_tinyobjloader -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/qhull/src/ext_qhull/src -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/poisson/src/ext_poisson -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/imgui/src/ext_imgui -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/src/ext_cppzmq -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/msgpack-c/src/ext_msgpack-c/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/vtk/src/ext_vtk/include/vtk-9.1 -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include/DirectXMath -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/mkl_install/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/src/ext_embree -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/abseil-cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/source/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/generated -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/libyuv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/civetweb/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include/icv -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/eigen/src/ext_eigen -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/parallelstl/src/ext_parallelstl/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glew/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glfw/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/fmt/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/filament/src/ext_filament/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/boringssl/src/ext_boringssl/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zlib/include -O2 -g -DNDEBUG --target=avx512skx-i32x16 --werror --addressing=64 --arch=x86-64 -o C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir/kernel/BinaryEWCPU.ispc.obj --emit-obj C:/Users/ME/Desktop/Open3D-main/cpp/open3d/core/kernel/BinaryEWCPU.ispc -h C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir/BinaryEWCPU_ispc.h
C:/Users/ME/Desktop/Open3D-main/cpp/open3d/core/kernel/UnaryEWCPU.ispc:
C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/_deps/ext_ispc-src/bin/ispc -DBUILD_GUI -DBUILD_ISPC_MODULE -DBUILD_WEBRTC -DFMT_HEADER_ONLY=0 -DFMT_STRING_ALIAS=1 -DFMT_USE_WINDOWS_H=0 -DGLEW_STATIC -DNOMINMAX -DOPEN3D_CUDA_COMPILER_ID="" -DOPEN3D_CUDA_COMPILER_VERSION="" -DOPEN3D_CXX_COMPILER_ID="MSVC" -DOPEN3D_CXX_COMPILER_VERSION="19.29.30154.0" -DOPEN3D_CXX_STANDARD="14" -DOPEN3D_ENABLE_DLL_EXPORTS -DOPEN3D_STATIC -DSTB_IMAGE_IMPLEMENTATION -DSTB_IMAGE_WRITE_IMPLEMENTATION -DTINYGLTF_IMPLEMENTATION -DTINYOBJLOADER_IMPLEMENTATION -DWINDOWS -DWITH_IPPICV -DZMQ_STATIC -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_USE_CXX11_ABI=1 -D_SCL_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -D__TBB_LIB_NAME=tbb_static -IC:/Users/ME/Desktop/Open3D-main/cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/assimp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/dirent -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/nanoflann/src/ext_nanoflann/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/turbojpeg/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/jsoncpp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/liblzf -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tomasakeninemoeller/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/curl/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/libpng/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/rply/rply -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tinyfiledialogs/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinygltf/src/ext_tinygltf -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinyobjloader/src/ext_tinyobjloader -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/qhull/src/ext_qhull/src -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/poisson/src/ext_poisson -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/imgui/src/ext_imgui -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/src/ext_cppzmq -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/msgpack-c/src/ext_msgpack-c/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/vtk/src/ext_vtk/include/vtk-9.1 -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include/DirectXMath -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/mkl_install/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/src/ext_embree -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/abseil-cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/source/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/generated -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/libyuv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/civetweb/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include/icv -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/eigen/src/ext_eigen -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/parallelstl/src/ext_parallelstl/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glew/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glfw/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/fmt/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/filament/src/ext_filament/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/boringssl/src/ext_boringssl/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zlib/include -O2 -g -DNDEBUG --target=avx512skx-i32x16 --werror --addressing=64 --arch=x86-64 -o C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir/kernel/UnaryEWCPU.ispc.obj --emit-obj C:/Users/ME/Desktop/Open3D-main/cpp/open3d/core/kernel/UnaryEWCPU.ispc -h C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/core/CMakeFiles/core.dir/UnaryEWCPU_ispc.h
C:/Users/ME/Desktop/Open3D-main/cpp/open3d/utility/ISAInfo.ispc:
C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/_deps/ext_ispc-src/bin/ispc -DBUILD_GUI -DBUILD_ISPC_MODULE -DBUILD_WEBRTC -DFMT_HEADER_ONLY=0 -DFMT_STRING_ALIAS=1 -DFMT_USE_WINDOWS_H=0 -DGLEW_STATIC -DNOMINMAX -DOPEN3D_CUDA_COMPILER_ID="" -DOPEN3D_CUDA_COMPILER_VERSION="" -DOPEN3D_CXX_COMPILER_ID="MSVC" -DOPEN3D_CXX_COMPILER_VERSION="19.29.30154.0" -DOPEN3D_CXX_STANDARD="14" -DOPEN3D_ENABLE_DLL_EXPORTS -DOPEN3D_STATIC -DSTB_IMAGE_IMPLEMENTATION -DSTB_IMAGE_WRITE_IMPLEMENTATION -DTINYGLTF_IMPLEMENTATION -DTINYOBJLOADER_IMPLEMENTATION -DWINDOWS -DWITH_IPPICV -DZMQ_STATIC -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_USE_CXX11_ABI=1 -D_SCL_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -D__TBB_LIB_NAME=tbb_static -IC:/Users/ME/Desktop/Open3D-main/cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/utility/CMakeFiles/utility.dir -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/assimp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/dirent -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/nanoflann/src/ext_nanoflann/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/turbojpeg/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/jsoncpp/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/liblzf -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tomasakeninemoeller/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/curl/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/libpng/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/rply/rply -IC:/Users/ME/Desktop/Open3D-main/3rdparty/tinyfiledialogs/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinygltf/src/ext_tinygltf -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/tinyobjloader/src/ext_tinyobjloader -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/qhull/src/ext_qhull/src -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/poisson/src/ext_poisson -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/imgui/src/ext_imgui -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zeromq/src/ext_cppzmq -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/msgpack-c/src/ext_msgpack-c/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/vtk/src/ext_vtk/include/vtk-9.1 -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include/DirectXMath -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/uvatlas/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/mkl_install/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/embree/src/ext_embree -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/abseil-cpp -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/source/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/jsoncpp/generated -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/webrtc/src/ext_webrtc/$<IF:$<CONFIG:Debug>,Debug,Release>/include/third_party/libyuv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/civetweb/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include/icv -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/ippicv/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/eigen/src/ext_eigen -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/parallelstl/src/ext_parallelstl/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glew/include -IC:/Users/ME/Desktop/Open3D-main/3rdparty/glfw/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/fmt/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/filament/src/ext_filament/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/boringssl/src/ext_boringssl/$<IF:$<CONFIG:Debug>,Debug,Release>/include -IC:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/zlib/include -O2 -g -DNDEBUG --target=avx512skx-i32x16 --werror --addressing=64 --arch=x86-64 -o C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/utility/CMakeFiles/utility.dir/ISAInfo.ispc.obj --emit-obj C:/Users/ME/Desktop/Open3D-main/cpp/open3d/utility/ISAInfo.ispc -h C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/cpp/open3d/utility/CMakeFiles/utility.dir/ISAInfo_ispc.h
Copying C:/Users/ME/Desktop/Open3D-main/cpp/open3d/visualization/webrtc_server/html to C:/Users/ME/Desktop/open3d-build-with-vcpkg-deps/bin/resources.
PYPI_PACKAGE_NAME: open3d
================================================================================
Open3D 0.18.0 Configuration Summary
================================================================================
Enabled Features:
  OpenMP .................................. ON
  Headless Rendering ...................... OFF
  Azure Kinect Support .................... OFF
  Intel RealSense Support ................. OFF
  CUDA Support ............................ OFF
  SYCL Support ............................ OFF
  ISPC Support ............................ ON
  Build GUI ............................... ON
  Build WebRTC visualizer ................. ON
  Build Shared Library .................... OFF
  Use Windows Static Runtime .............. ON
  Build Unit Tests ........................ OFF
  Build Examples .......................... ON
  Build Python Module ..................... ON
  Build Jupyter Extension ................. OFF
  Build TensorFlow Ops .................... OFF
  Build PyTorch Ops ....................... OFF
  Build Benchmarks ........................ OFF
  Bundle Open3D-ML ........................ OFF
  Force GLIBCXX_USE_CXX11_ABI= ............ 1
================================================================================
Third-Party Dependencies:
  Assimp .................................. yes (build from source)
  BLAS .................................... yes
  curl .................................... yes (build from source)
  Eigen3 .................................. yes (build from source)
  filament ................................ yes (build from source)
  fmt ..................................... yes (build from source)
  GLEW .................................... yes (build from source)
  GLFW .................................... yes (build from source)
  googletest .............................. no
  imgui ................................... yes (build from source)
  ippicv .................................. yes (build from source)
  JPEG .................................... yes (build from source)
  jsoncpp ................................. yes (build from source)
  liblzf .................................. yes (build from source)
  msgpack ................................. yes (build from source)
  nanoflann ............................... yes (build from source)
  OpenGL .................................. yes
  PNG ..................................... yes (build from source)
  qhullcpp ................................ yes (build from source)
  librealsense ............................ no
  TBB ..................................... yes (build from source)
  tinyfiledialogs ......................... yes (build from source)
  TinyGLTF ................................ yes (build from source)
  tinyobjloader ........................... yes (build from source)
  VTK ..................................... yes (build from source)
  WebRTC .................................. yes (build from source)
  ZeroMQ .................................. yes (build from source)
================================================================================
Configuring done
Generating done

elias-Mimetrik avatar Apr 09 '24 10:04 elias-Mimetrik

Update:

I tried building using MSVC 19.39.33523.0, the errors I get are also related to zlib:

First:

C:\Users\ME\Desktop\open3d-build-with-vcpkg-deps\zlib\src\ext_zlib-build\Release\zlib.dll : fatal error LNK1169: one or more multiply defined symbols found [C:\Users\ME\Desktop\open3d-build-with-vcpkg-deps\zlib\src\ext_zlib-build\zlib.vcxproj]

And later towards the end:

LINK : fatal error LNK1181: cannot open input file 'C:\Users\ME\Desktop\open3d-build-with-vcpkg-deps\cpp\open3d\utility\utility.dir\Release\ExtractZIP.obj'
Done building project "Open3D.vcxproj" -- FAILED.
...
LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\Open3D.lib'
90>LINK : fatal error LNK1181: cannot open input file '..\..\lib\Release\Open3D.lib'
...
...repeated numerous times...

elias-Mimetrik avatar Apr 09 '24 13:04 elias-Mimetrik

some time need change into "minizip/unzip.h", or use other version of open3d

youngday avatar Jul 18 '24 12:07 youngday