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 tried to install C++ Open3D on my Windows 11 PC, to get the .dll-file for further usage. When trying the ALL_BUILD cmake, it fails because of the attached LNK2005 error, that says that multiple things like "inflate" or "crc32" are already defined. Therefore I also cannot execute the INSTALL command. So far, I've tried multiple different cmake arguments, but nothing has changed this error.
Other things I've tried:
building in the command line or building in Visual Studio (2019 and 2022)
using the asset from the github release. But there are multiple files missing, e.g. the surface reconstruction, which are the main part that i want to use from Open3D.
Is there another easier way, to get the complete Open3D-dll including e.g. the surface reconstruction to use it further in C++ code?
Thank you for your help :)
Error message
Performing build step for'ext_zlib'
MSBuild version 17.5.1+f6fdcf537 for .NET Framework
zlib.lib(zlib1.dll) : error LNK2005: inflate ist bereits in inflate.obj definiert. [C:\src\Open3D-0.17.0\build\zlib\src
\ext_zlib-build\zlib.vcxproj] [C:\src\Open3D-0.17.0\build\ext_zlib.vcxproj]
zlib.lib(zlib1.dll) : error LNK2005: inflateEnd ist bereits in inflate.obj definiert. [C:\src\Open3D-0.17.0\build\zlib\
src\ext_zlib-build\zlib.vcxproj] [C:\src\Open3D-0.17.0\build\ext_zlib.vcxproj]
zlib.lib(zlib1.dll) : error LNK2005: crc32 ist bereits in crc32.obj definiert. [C:\src\Open3D-0.17.0\build\zlib\src\ext
_zlib-build\zlib.vcxproj] [C:\src\Open3D-0.17.0\build\ext_zlib.vcxproj]
zlib.lib(zlib1.dll) : error LNK2005: inflateInit2_ ist bereits in inflate.obj definiert. [C:\src\Open3D-0.17.0\build\zl
ib\src\ext_zlib-build\zlib.vcxproj] [C:\src\Open3D-0.17.0\build\ext_zlib.vcxproj]
zlib.lib(zlib1.dll) : error LNK2005: get_crc_table ist bereits in crc32.obj definiert. [C:\src\Open3D-0.17.0\build\zlib
\src\ext_zlib-build\zlib.vcxproj] [C:\src\Open3D-0.17.0\build\ext_zlib.vcxproj]
Bibliothek "C:/src/Open3D-0.17.0/build/zlib/src/ext_zlib-build/Release/zlib.lib" und Objekt "C:/src/Open3D-0.17. 0/build/zlib/src/ext_zlib-build/Release/zlib.exp" werden erstellt.
C:\src\Open3D-0.17.0\build\zlib\src\ext_zlib-build\Release\zlib.dll : fatal error LNK1169: Mindestens ein mehrfach defi
niertes Symbol gefunden. [C:\src\Open3D-0.17.0\build\zlib\src\ext_zlib-build\zlib.vcxproj] [C:\src\Open3D-0.17.0\build\
ext_zlib.vcxproj]
zlibstatic.vcxproj -> C:\src\Open3D-0.17.0\build\zlib\src\ext_zlib-build\Release\zlibstatic.lib
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5):
error MSB8066: Der benutzerdefinierte Build für "C:\src\Open3D-0.17.0\build\CMakeFiles\ea09ec484f8018e00fb9e6f18007f029\ext_zlib-build.rule;C:\src\Open3D-0.17.0\build\CMakeFiles\ea09ec484f8018e00fb9e6f18007f029\ext_zlib-install.rule;C:\src\Open3D-0.17.0\build\CMakeFiles\ec2248c979cc19bb9b7b133efeefa075\ext_zlib-complete.rule;C:\src\Open3D-0.17.0\build\CMakeFiles\f2f41ea2859b820aa9e84ad32f00e71c\ext_zlib.rule" wurde mit dem Code 1 beendet. [C:\src\Open3D-0.17.0\build\ext_z
lib.vcxproj]
Open3D, Python and System information
- Operating system: Windows 11 64-bit
- Python version: Python 3.11 (I've also tried with 3.10., but it made no difference)
- Open3D version: master-build (0.17.0)
- System architecture: x64
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 7.5 / clang 7.0
Additional information
No response
The text was updated successfully, but these errors were encountered:
Checklist
master
branch).Steps to reproduce the issue
Hello,
I've tried to install C++ Open3D on my Windows 11 PC, to get the .dll-file for further usage. When trying the ALL_BUILD cmake, it fails because of the attached LNK2005 error, that says that multiple things like "inflate" or "crc32" are already defined. Therefore I also cannot execute the INSTALL command. So far, I've tried multiple different cmake arguments, but nothing has changed this error.
Other things I've tried:
Is there another easier way, to get the complete Open3D-dll including e.g. the surface reconstruction to use it further in C++ code?
Thank you for your help :)
Error message
Open3D, Python and System information
Additional information
No response
The text was updated successfully, but these errors were encountered: