lfranke / TRIPS

https://lfranke.github.io/trips/
MIT License
495 stars 28 forks source link

install wrong #32

Closed luoww1992 closed 3 months ago

luoww1992 commented 4 months ago

i am installing it in win10 as yours, i use the same Env, cuda, cudnn, vs2022...... but when i run : cmake -Bbuild -DCMAKE_CUDA_COMPILER="%CUDA_PATH%\bin\nvcc.exe" -DCMAKE_PREFIX_PATH=".\External\libtorch" -DCONDA_P_PATH="%CONDA_PREFIX%" -DCUDA_P_PATH="%CUDA_PATH%" -DCMAKE_BUILD_TYPE=RelWithDebInfo .

it show error:

```ruby -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.39.33520.0 -- The CXX compiler identification is MSVC 19.39.33520.0 -- The CUDA compiler identification is NVIDIA 11.8.89 -- 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.39.33519/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.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Build Type: RelWithDebInfo Build Options -- Option HEADLESS OFF -- Option ASAN OFF -- Option TINY_EIGEN ON -- Option LIVE_TRAIN_VIEWER OFF -- Option USE_VET OFF -- Option MINIMAL_GUI ON -- Build Options -- Option SAIGA_BUILD_SHARED ON -- Option SAIGA_DEBUG OFF -- Option SAIGA_ASSERTS ON -- Option SAIGA_BUILD_SAMPLES OFF -- Option SAIGA_BUILD_TESTS OFF -- Option SAIGA_STRICT_FP OFF -- Option SAIGA_FAST_MATH OFF -- Option SAIGA_FULL_OPTIMIZE OFF -- Option SAIGA_ARCHNATIVE ON -- Option SAIGA_CUDA_DEBUG ON -- Option SAIGA_CUDA_BLSP OFF -- Option SAIGA_CUDA_RDC OFF -- Option SAIGA_CUDA_WITH_NVTOOLS OFF -- Option SAIGA_BUILD_DOC OFF -- Option SAIGA_NO_INSTALL ON -- Option SAIGA_LEGACY_GLM OFF -- Option SAIGA_PCH OFF -- Option SAIGA_OPENMP ON -- Option SAIGA_LIBSTDCPP OFF -- Option SAIGA_DEBUG_ASAN OFF -- Option SAIGA_DEBUG_MSAN OFF -- Option SAIGA_DEBUG_TSAN OFF -- Option SAIGA_DEBIAN_BUILD OFF -- Option SAIGA_BUILD_GLFW ON -- Option SAIGA_GLFW_STATIC OFF -- Option SAIGA_MODULE_CORE ON -- Option SAIGA_MODULE_OPENGL ON -- Option SAIGA_MODULE_VULKAN OFF -- Option SAIGA_MODULE_VISION OFF -- Option SAIGA_MODULE_CUDA ON -- Option SAIGA_WITH_GTEST ON -- Option SAIGA_WITH_ASSIMP ON -- Option SAIGA_WITH_MKL ON -- Option SAIGA_WITH_FFMPEG OFF -- Option SAIGA_WITH_FREETYPE OFF -- Option SAIGA_WITH_FREEIMAGE ON -- Option SAIGA_WITH_YAMLCPP OFF -- Option SAIGA_WITH_OPENAL OFF -- Option SAIGA_WITH_OPENMESH OFF -- Option SAIGA_WITH_G2O OFF -- Option SAIGA_WITH_CHOLMOD OFF -- Option SAIGA_WITH_OPENNI OFF -- Option SAIGA_WITH_K4A OFF -- Option SAIGA_WITH_BULLET OFF -- Option SAIGA_WITH_OPENVR OFF -- Option SAIGA_WITH_OPENCV OFF -- Option SAIGA_WITH_TINY_EIGEN ON -- Build Type: RelWithDebInfo -- Detected Compiler: MSVC -- Compiler Version: 19.39.33520.0 ================================= Adding Submodule tiny-eigen ================================= Adding Submodule glog -- 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 -- Looking for C++ include dlfcn.h -- Looking for C++ include dlfcn.h - not found -- Looking for C++ include execinfo.h -- Looking for C++ include execinfo.h - not found -- Looking for C++ include glob.h -- Looking for C++ include glob.h - not found -- Looking for C++ include inttypes.h -- Looking for C++ include inttypes.h - found -- Looking for C++ include memory.h -- Looking for C++ include memory.h - found -- Looking for C++ include pwd.h -- Looking for C++ include pwd.h - not found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include strings.h -- Looking for C++ include strings.h - not found -- Looking for C++ include sys/stat.h -- Looking for C++ include sys/stat.h - found -- Looking for C++ include sys/syscall.h -- Looking for C++ include sys/syscall.h - not found -- Looking for C++ include sys/time.h -- Looking for C++ include sys/time.h - not found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include sys/utsname.h -- Looking for C++ include sys/utsname.h - not found -- Looking for C++ include sys/wait.h -- Looking for C++ include sys/wait.h - not found -- Looking for C++ include syscall.h -- Looking for C++ include syscall.h - not found -- Looking for C++ include syslog.h -- Looking for C++ include syslog.h - not found -- Looking for C++ include ucontext.h -- Looking for C++ include ucontext.h - not found -- Looking for C++ include unistd.h -- Looking for C++ include unistd.h - not found -- Looking for C++ include ext/hash_map -- Looking for C++ include ext/hash_map - not found -- Looking for C++ include ext/hash_set -- Looking for C++ include ext/hash_set - not found -- Looking for C++ include ext/slist -- Looking for C++ include ext/slist - not found -- Looking for C++ include tr1/unordered_map -- Looking for C++ include tr1/unordered_map - not found -- Looking for C++ include tr1/unordered_set -- Looking for C++ include tr1/unordered_set - not found -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Looking for C++ include unordered_set -- Looking for C++ include unordered_set - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of unsigned __int16 -- Check size of unsigned __int16 - done -- Check size of u_int16_t -- Check size of u_int16_t - failed -- Check size of uint16_t -- Check size of uint16_t - done -- Looking for dladdr -- Looking for dladdr - not found -- Looking for fcntl -- Looking for fcntl - not found -- Looking for pread -- Looking for pread - not found -- Looking for pwrite -- Looking for pwrite - not found -- Looking for sigaction -- Looking for sigaction - not found -- Looking for sigaltstack -- Looking for sigaltstack - not found -- Performing Test HAVE_NO_DEPRECATED -- Performing Test HAVE_NO_DEPRECATED - Failed -- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Looking for pthread_threadid_np -- Looking for pthread_threadid_np - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for UnDecorateSymbolName in dbghelp -- Looking for UnDecorateSymbolName in dbghelp - found -- Performing Test HAVE___ATTRIBUTE__ -- Performing Test HAVE___ATTRIBUTE__ - Failed -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Failed -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Failed -- Performing Test HAVE___BUILTIN_EXPECT -- Performing Test HAVE___BUILTIN_EXPECT - Failed -- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP -- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Failed -- Performing Test HAVE_RWLOCK -- Performing Test HAVE_RWLOCK - Failed -- Performing Test HAVE___DECLSPEC -- Performing Test HAVE___DECLSPEC - Success -- Performing Test STL_NO_NAMESPACE -- Performing Test STL_NO_NAMESPACE - Failed -- Performing Test STL_STD_NAMESPACE -- Performing Test STL_STD_NAMESPACE - Success -- Performing Test HAVE_USING_OPERATOR -- Performing Test HAVE_USING_OPERATOR - Success -- Performing Test HAVE_NAMESPACES -- Performing Test HAVE_NAMESPACES - Success -- Performing Test HAVE_GCC_TLS -- Performing Test HAVE_GCC_TLS - Failed -- Performing Test HAVE_MSVC_TLS -- Performing Test HAVE_MSVC_TLS - Success -- Performing Test HAVE_CXX11_TLS -- Performing Test HAVE_CXX11_TLS - Success -- Performing Test HAVE_ALIGNED_STORAGE -- Performing Test HAVE_ALIGNED_STORAGE - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Performing Test HAVE_CXX11_CONSTEXPR -- Performing Test HAVE_CXX11_CONSTEXPR - Success -- Performing Test HAVE_CXX11_CHRONO -- Performing Test HAVE_CXX11_CHRONO - Success -- Performing Test HAVE_CXX11_NULLPTR_T -- Performing Test HAVE_CXX11_NULLPTR_T - Success -- Performing Test HAVE_SYMBOLIZE -- Performing Test HAVE_SYMBOLIZE - Success -- Performing Test HAVE_LOCALTIME_R -- Performing Test HAVE_LOCALTIME_R - Failed -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success ================================= ================================= Adding Submodule ZLIB -- Check size of off64_t -- Check size of off64_t - failed -- Looking for fseeko -- Looking for fseeko - not found -- Looking for unistd.h -- Looking for unistd.h - not found ================================= ================================= Adding Submodule glfw -- Using Win32 for window creation ================================= ================================= Adding Submodule libPNG -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT - Failed ================================= ================================= Adding Submodule assimp -- Shared libraries enabled -- Looking for ZLIB... -- Found PkgConfig: C:/ProgramData/chocolatey/bin/pkg-config.exe (found version "0.28") -- Checking for module 'zzip-zlib-config' -- No package 'zzip-zlib-config' found -- Checking for module 'minizip' -- No package 'minizip' found -- Enabled importer formats: AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXF CSM HMP IRRMESH IQM IRR LWO LWS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY M S3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD -- Disabled importer formats: -- Enabled exporter formats: OBJ OPENGEX PLY 3DS ASSBIN ASSXML M3D COLLADA FBX STL X X3D GLTF 3MF PBRT ASSJSON STEP -- Disabled exporter formats: -- Treating all warnings as errors (for assimp library only) ================================= ================================= Adding Submodule googletest -- Found Python: G:/GS/GS3d/venv/Scripts/python.exe (found version "3.9.9") found components: Interpreter -- Package gtest Yes, at $;$/include> ================================= -- Package Eigen3::Eigen Yes, at $;$ -- Package glfw Yes, at $;$ -- Package zlibstatic Yes, at $;$ -- Package png_static Yes, at $;$ -- Package assimp Yes, at $;$;$ -- Package glog Yes, at $;$;$;$ -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Package OpenMP Yes -- Package FreeImage No -- Found OpenGL: opengl32 -- Package OpenGL Yes -- Package EGL No -- SAIGA_CUDA_VERSION -- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include (found suitable version "11.8.89", minimum required is "10.2") -- Enabled CUDA. Version: 11.8.89 -- Package CUDA::cudart Yes, at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- Package CUDA::nppif Yes, at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- Package CUDA::nppig Yes, at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- SAIGA_CUDA_FLAGS: -Xcompiler=/openmp;-Xcompiler=/W0;-use_fast_math;--expt-relaxed-constexpr;-Xcudafe=--diag_suppress=esa_on_defaulted_function_ignored;-Xcudaf e=--diag_suppress=field_without_dll_interface;-Xcudafe=--diag_suppress=base_class_has_different_dll_interface;-Xcudafe=--diag_suppress=dll_interface_conflict_non e_assumed;-Xcudafe=--diag_suppress=dll_interface_conflict_dllexport_assumed -- Using automatic CUDA Arch detection... -- Autodetected CUDA architecture(s): 8.6 -- SAIGA_CUDA_ARCH: -- SAIGA_CUDA_ARCH_FLAGS: -gencode;arch=compute_86,code=sm_86 -- Compiler Flags: -- SAIGA_CXX_FLAGS: /bigobj;/MP;-openmp -- SAIGA_PRIVATE_CXX_FLAGS: -- SAIGA_LD_FLAGS: -openmp -- CMAKE_CXX_FLAGS: /MP /DWIN32 /D_WINDOWS /GR /EHsc /MP -- CMAKE_CXX_FLAGS_DEBUG: /Zi /Ob0 /Od /RTC1 -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: /Zi /O2 /Ob1 /DNDEBUG -- CMAKE_CXX_FLAGS_RELEASE: /O2 /Ob2 /DNDEBUG -- CUDA Compiler Flags: -- CMAKE_CUDA_FLAGS: -D_WINDOWS -Xcompiler=" /GR /EHsc" -- CMAKE_CUDA_FLAGS_DEBUG: -Xcompiler=" -Zi -Ob0 -Od /RTC1" -- CMAKE_CUDA_FLAGS_RELWITHDEBINFO: -Xcompiler=" -Zi -O2 -Ob1" -DNDEBUG -- CMAKE_CUDA_FLAGS_RELEASE: -Xcompiler="-O2 -Ob2" -DNDEBUG -- Module enabled: Core -- Module enabled: Opengl -- Module enabled: Cuda CMake Deprecation Warning at External/saiga/src/saiga/cuda/CMakeLists.txt:15 (cmake_policy): The OLD behavior for policy CMP0104 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. -- No samples. -- No tests. -- Found Doxygen: C:/doxygen-1.10.0/doxygen.exe (found version "1.10.0") found components: doxygen dot -- Package saiga_core Yes, at $;$;$;$;$;$;$;$;$;$;$;$;$;$;$;$;$;$>;$ -- Package saiga_opengl Yes, at $;$;$;$;$;$;$ -- Package saiga_cuda Yes, at $;$;$ -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8 (found version "11.8") -- Caffe2: CUDA detected: 11.8 -- Caffe2: CUDA nvcc is: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe -- Caffe2: CUDA toolkit directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8 -- Caffe2: Header version is: 11.8 -- Found CUDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudnn.lib -- Found cuDNN: v8.9.7 (include: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include, library: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v 11.8/lib/x64/cudnn.lib) -- C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/nvrtc.lib shorthash is dd482e34 -- Autodetected CUDA architecture(s): 8.6 -- Added CUDA NVCC flags for: -gencode;arch=compute_86,code=sm_86 -- Found Torch: G:/GS/GS3d/TRIPS/External/libtorch/lib/torch.lib -- Package torch Yes, at G:/GS/GS3d/TRIPS/External/libtorch/include;G:/GS/GS3d/TRIPS/External/libtorch/include/torch/csrc/api/include;C:\Pro gram Files\NVIDIA Corporation\NvToolsExt\/include CMAKE_EXE_LINKER_FLAGS before: /machine:x64 TORCH_LIBRARIES: torch;torch_library;G:/GS/GS3d/TRIPS/External/libtorch/lib/c10.lib;G:/GS/GS3d/TRIPS/External/libtorch/lib/kineto.lib;C:\Program Files\NVIDIA Cor poration\NvToolsExt\/lib/x64/nvToolsExt64_1.lib;C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudart_static.lib;G:/GS/GS3d/TRIPS/External/libt orch/lib/caffe2_nvrtc.lib;G:/GS/GS3d/TRIPS/External/libtorch/lib/c10_cuda.lib TORCH_CXX_FLAGS: CMAKE_EXE_LINKER_FLAGS after: -Wl,--as-needed CUDNN_LIBRARY_PATH: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudnn.lib; CUDNN_INCLUDE_PATH: C:/Program Files/NVIDIA GPU Computing Toolkit /CUDA/v11.8/include -- Obtained CUDA architectures automatically from installed GPUs -- Targeting CUDA architectures: 86 -- Module support is disabled. -- Version: 9.1.1 -- Build type: RelWithDebInfo -- Package tiny-cuda-nn Yes, at G:/GS/GS3d/TRIPS/External/tiny-cuda-nn/include;G:/GS/GS3d/TRIPS/External/tiny-cuda-nn/dependencies;G:/GS/GS3d/TRIPS /External/tiny-cuda-nn/dependencies/cutlass/include;G:/GS/GS3d/TRIPS/External/tiny-cuda-nn/dependencies/cutlass/tools/util/include;G:/GS/GS3d/TRIPS/External/tiny -cuda-nn/dependencies/fmt/include -- CMAKE_CXX_FLAGS/DWIN32 /D_WINDOWS /GR /EHsc /MP -march=native -pthread -- CMAKE_EXE_LINKER_FLAGS-Wl,--as-needed -- App enabled: colmap2adop -- App enabled: scannet2adop -- App enabled: preprocess_pointcloud dll post build copy: copying "G:\GS\GS3d\TRIPS\build\..\External\libtorch\lib\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "%CONDA_PREFIX%\bin\libiomp5md.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\src\saiga\cuda\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\src\saiga\opengl\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\src\saiga\core\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\submodules\assimp\bin\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\submodules\glfw\src\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\submodules\glog\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\GS3d\TRIPS\build\External\saiga\submodules\glfw\src\$\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". dll post build copy: copying "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\*.dll" to "G:\GS\GS3d\TRIPS\build\bin\$\". -- App enabled: train -- App enabled: viewer -- Configuring done (239.0s) CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/lib/CMakeLists.txt: Imported target "torch" includes non-existent path "MKL_INCLUDE_DIR-NOTFOUND" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" CMake Error in src/apps/CMakeLists.txt: Target "NeuralPoints" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES: "MKL_INCLUDE_DIR-NOTFOUND" -- Generating done (1.0s) CMake Generate step failed. Build files cannot be regenerated correctly. ```

how to do ?

lfranke commented 3 months ago

Hi, looks to me that maybe the mkl install via conda did not work? Can you recheck if these lines

conda install -y -c intel mkl=2024.0.0
conda install -y -c intel mkl-static=2024.0.0

worked correctly?

luoww1992 commented 3 months ago

@lfranke , i clear my PC, then i install it again from zero, and i pip install mkl,mkl-static... after conda install mkl, mkl-static...

then run default cmd in the conda prompt shell:

cmake -Bbuild -DCMAKE_CUDA_COMPILER="%CUDA_PATH%\bin\nvcc.exe" -DCMAKE_PREFIX_PATH=".\External\libtorch" -DCONDA_P_PATH="%CONDA_PREFIX%" -DCUDA_P_PATH="%CUDA_PATH%" -DCMAKE_BUILD_TYPE=RelWithDebInfo .

it show me:

cmake log ### cmake log ``` -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.39.33521.0 -- The CXX compiler identification is MSVC 19.39.33521.0 -- The CUDA compiler identification is NVIDIA 11.8.89 -- 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.39.33519/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.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe - skipped -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- Build Type: RelWithDebInfo Build Options -- Option HEADLESS OFF -- Option ASAN OFF -- Option TINY_EIGEN ON -- Option LIVE_TRAIN_VIEWER OFF -- Option USE_VET OFF -- Option MINIMAL_GUI ON -- Build Options -- Option SAIGA_BUILD_SHARED ON -- Option SAIGA_DEBUG OFF -- Option SAIGA_ASSERTS ON -- Option SAIGA_BUILD_SAMPLES OFF -- Option SAIGA_BUILD_TESTS OFF -- Option SAIGA_STRICT_FP OFF -- Option SAIGA_FAST_MATH OFF -- Option SAIGA_FULL_OPTIMIZE OFF -- Option SAIGA_ARCHNATIVE ON -- Option SAIGA_CUDA_DEBUG ON -- Option SAIGA_CUDA_BLSP OFF -- Option SAIGA_CUDA_RDC OFF -- Option SAIGA_CUDA_WITH_NVTOOLS OFF -- Option SAIGA_BUILD_DOC OFF -- Option SAIGA_NO_INSTALL ON -- Option SAIGA_LEGACY_GLM OFF -- Option SAIGA_PCH OFF -- Option SAIGA_OPENMP ON -- Option SAIGA_LIBSTDCPP OFF -- Option SAIGA_DEBUG_ASAN OFF -- Option SAIGA_DEBUG_MSAN OFF -- Option SAIGA_DEBUG_TSAN OFF -- Option SAIGA_DEBIAN_BUILD OFF -- Option SAIGA_BUILD_GLFW ON -- Option SAIGA_GLFW_STATIC OFF -- Option SAIGA_MODULE_CORE ON -- Option SAIGA_MODULE_OPENGL ON -- Option SAIGA_MODULE_VULKAN OFF -- Option SAIGA_MODULE_VISION OFF -- Option SAIGA_MODULE_CUDA ON -- Option SAIGA_WITH_GTEST ON -- Option SAIGA_WITH_ASSIMP ON -- Option SAIGA_WITH_MKL ON -- Option SAIGA_WITH_FFMPEG OFF -- Option SAIGA_WITH_FREETYPE OFF -- Option SAIGA_WITH_FREEIMAGE ON -- Option SAIGA_WITH_YAMLCPP OFF -- Option SAIGA_WITH_OPENAL OFF -- Option SAIGA_WITH_OPENMESH OFF -- Option SAIGA_WITH_G2O OFF -- Option SAIGA_WITH_CHOLMOD OFF -- Option SAIGA_WITH_OPENNI OFF -- Option SAIGA_WITH_K4A OFF -- Option SAIGA_WITH_BULLET OFF -- Option SAIGA_WITH_OPENVR OFF -- Option SAIGA_WITH_OPENCV OFF -- Option SAIGA_WITH_TINY_EIGEN ON -- Build Type: RelWithDebInfo -- Detected Compiler: MSVC -- Compiler Version: 19.39.33521.0 ================================= Adding Submodule tiny-eigen ================================= Adding Submodule glog -- 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 -- Looking for C++ include dlfcn.h -- Looking for C++ include dlfcn.h - not found -- Looking for C++ include execinfo.h -- Looking for C++ include execinfo.h - not found -- Looking for C++ include glob.h -- Looking for C++ include glob.h - not found -- Looking for C++ include inttypes.h -- Looking for C++ include inttypes.h - found -- Looking for C++ include memory.h -- Looking for C++ include memory.h - found -- Looking for C++ include pwd.h -- Looking for C++ include pwd.h - not found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include strings.h -- Looking for C++ include strings.h - not found -- Looking for C++ include sys/stat.h -- Looking for C++ include sys/stat.h - found -- Looking for C++ include sys/syscall.h -- Looking for C++ include sys/syscall.h - not found -- Looking for C++ include sys/time.h -- Looking for C++ include sys/time.h - not found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include sys/utsname.h -- Looking for C++ include sys/utsname.h - not found -- Looking for C++ include sys/wait.h -- Looking for C++ include sys/wait.h - not found -- Looking for C++ include syscall.h -- Looking for C++ include syscall.h - not found -- Looking for C++ include syslog.h -- Looking for C++ include syslog.h - not found -- Looking for C++ include ucontext.h -- Looking for C++ include ucontext.h - not found -- Looking for C++ include unistd.h -- Looking for C++ include unistd.h - not found -- Looking for C++ include ext/hash_map -- Looking for C++ include ext/hash_map - not found -- Looking for C++ include ext/hash_set -- Looking for C++ include ext/hash_set - not found -- Looking for C++ include ext/slist -- Looking for C++ include ext/slist - not found -- Looking for C++ include tr1/unordered_map -- Looking for C++ include tr1/unordered_map - not found -- Looking for C++ include tr1/unordered_set -- Looking for C++ include tr1/unordered_set - not found -- Looking for C++ include unordered_map -- Looking for C++ include unordered_map - found -- Looking for C++ include unordered_set -- Looking for C++ include unordered_set - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of unsigned __int16 -- Check size of unsigned __int16 - done -- Check size of u_int16_t -- Check size of u_int16_t - failed -- Check size of uint16_t -- Check size of uint16_t - done -- Looking for dladdr -- Looking for dladdr - not found -- Looking for fcntl -- Looking for fcntl - not found -- Looking for pread -- Looking for pread - not found -- Looking for pwrite -- Looking for pwrite - not found -- Looking for sigaction -- Looking for sigaction - not found -- Looking for sigaltstack -- Looking for sigaltstack - not found -- Performing Test HAVE_NO_DEPRECATED -- Performing Test HAVE_NO_DEPRECATED - Failed -- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_NO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Looking for pthread_threadid_np -- Looking for pthread_threadid_np - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for UnDecorateSymbolName in dbghelp -- Looking for UnDecorateSymbolName in dbghelp - found -- Performing Test HAVE___ATTRIBUTE__ -- Performing Test HAVE___ATTRIBUTE__ - Failed -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_DEFAULT - Failed -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN -- Performing Test HAVE___ATTRIBUTE__VISIBILITY_HIDDEN - Failed -- Performing Test HAVE___BUILTIN_EXPECT -- Performing Test HAVE___BUILTIN_EXPECT - Failed -- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP -- Performing Test HAVE___SYNC_VAL_COMPARE_AND_SWAP - Failed -- Performing Test HAVE_RWLOCK -- Performing Test HAVE_RWLOCK - Failed -- Performing Test HAVE___DECLSPEC -- Performing Test HAVE___DECLSPEC - Success -- Performing Test STL_NO_NAMESPACE -- Performing Test STL_NO_NAMESPACE - Failed -- Performing Test STL_STD_NAMESPACE -- Performing Test STL_STD_NAMESPACE - Success -- Performing Test HAVE_USING_OPERATOR -- Performing Test HAVE_USING_OPERATOR - Success -- Performing Test HAVE_NAMESPACES -- Performing Test HAVE_NAMESPACES - Success -- Performing Test HAVE_GCC_TLS -- Performing Test HAVE_GCC_TLS - Failed -- Performing Test HAVE_MSVC_TLS -- Performing Test HAVE_MSVC_TLS - Success -- Performing Test HAVE_CXX11_TLS -- Performing Test HAVE_CXX11_TLS - Success -- Performing Test HAVE_ALIGNED_STORAGE -- Performing Test HAVE_ALIGNED_STORAGE - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Performing Test HAVE_CXX11_CONSTEXPR -- Performing Test HAVE_CXX11_CONSTEXPR - Success -- Performing Test HAVE_CXX11_CHRONO -- Performing Test HAVE_CXX11_CHRONO - Success -- Performing Test HAVE_CXX11_NULLPTR_T -- Performing Test HAVE_CXX11_NULLPTR_T - Success -- Performing Test HAVE_SYMBOLIZE -- Performing Test HAVE_SYMBOLIZE - Success -- Performing Test HAVE_LOCALTIME_R -- Performing Test HAVE_LOCALTIME_R - Failed -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed -- Performing Test COMPILER_HAS_DEPRECATED -- Performing Test COMPILER_HAS_DEPRECATED - Success ================================= ================================= Adding Submodule ZLIB -- Check size of off64_t -- Check size of off64_t - failed -- Looking for fseeko -- Looking for fseeko - not found -- Looking for unistd.h -- Looking for unistd.h - not found ================================= ================================= Adding Submodule glfw -- Using Win32 for window creation ================================= ================================= Adding Submodule libPNG -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe -- Performing Test HAVE_LD_VERSION_SCRIPT -- Performing Test HAVE_LD_VERSION_SCRIPT - Failed -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT -- Performing Test HAVE_SOLARIS_LD_VERSION_SCRIPT - Failed ================================= ================================= Adding Submodule assimp -- Shared libraries enabled -- Looking for ZLIB... -- Found PkgConfig: C:/ProgramData/miniconda3/envs/trips/Library/bin/pkg-config.exe (found version "0.29.2") -- Checking for module 'zzip-zlib-config' -- No package 'zzip-zlib-config' found -- Checking for module 'minizip' -- Found minizip, version 4.0.4 -- Enabled importer formats: AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXF CSM HMP IRRMESH IQM IRR LWO LWS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD -- Disabled importer formats: -- Enabled exporter formats: OBJ OPENGEX PLY 3DS ASSBIN ASSXML M3D COLLADA FBX STL X X3D GLTF 3MF PBRT ASSJSON STEP -- Disabled exporter formats: -- Treating all warnings as errors (for assimp library only) ================================= ================================= Adding Submodule googletest -- Found Python: C:/ProgramData/miniconda3/envs/trips/python.exe (found version "3.9.18") found components: Interpreter -- Package gtest Yes, at $;$/include> ================================= -- Package Eigen3::Eigen Yes, at $;$ -- Package glfw Yes, at $;$ -- Package zlibstatic Yes, at $;$ -- Package png_static Yes, at $;$ -- Package assimp Yes, at $;$;$ -- Package glog Yes, at $;$;$;$ -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Package OpenMP Yes -- Package FreeImage Yes, at C:/ProgramData/miniconda3/envs/trips/Library/include -- Found OpenGL: opengl32 -- Package OpenGL Yes -- Package EGL No -- SAIGA_CUDA_VERSION -- Found CUDAToolkit: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include (found suitable version "11.8.89", minimum required is "10.2") -- Enabled CUDA. Version: 11.8.89 -- Package CUDA::cudart Yes, at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- Package CUDA::nppif Yes, at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- Package CUDA::nppig Yes, at C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- SAIGA_CUDA_FLAGS: -Xcompiler=/openmp;-Xcompiler=/W0;-use_fast_math;--expt-relaxed-constexpr;-Xcudafe=--diag_suppress=esa_on_defaulted_function_ignored;-Xcudafe=--diag_suppress=field_without_dll_interface;-Xcudafe=--diag_suppress=base_class_has_different_dll_interface;-Xcudafe=--diag_suppress=dll_interface_conflict_none_assumed;-Xcudafe=--diag_suppress=dll_interface_conflict_dllexport_assumed -- Using automatic CUDA Arch detection... -- Autodetected CUDA architecture(s): 8.6 -- SAIGA_CUDA_ARCH: -- SAIGA_CUDA_ARCH_FLAGS: -gencode;arch=compute_86,code=sm_86 -- Compiler Flags: -- SAIGA_CXX_FLAGS: /bigobj;/MP;-openmp -- SAIGA_PRIVATE_CXX_FLAGS: -- SAIGA_LD_FLAGS: -openmp -- CMAKE_CXX_FLAGS: /MP /DWIN32 /D_WINDOWS /GR /EHsc /MP -- CMAKE_CXX_FLAGS_DEBUG: /Zi /Ob0 /Od /RTC1 -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: /Zi /O2 /Ob1 /DNDEBUG -- CMAKE_CXX_FLAGS_RELEASE: /O2 /Ob2 /DNDEBUG -- CUDA Compiler Flags: -- CMAKE_CUDA_FLAGS: -D_WINDOWS -Xcompiler=" /GR /EHsc" -- CMAKE_CUDA_FLAGS_DEBUG: -Xcompiler=" -Zi -Ob0 -Od /RTC1" -- CMAKE_CUDA_FLAGS_RELWITHDEBINFO: -Xcompiler=" -Zi -O2 -Ob1" -DNDEBUG -- CMAKE_CUDA_FLAGS_RELEASE: -Xcompiler="-O2 -Ob2" -DNDEBUG -- Module enabled: Core -- Module enabled: Opengl -- Module enabled: Cuda CMake Deprecation Warning at External/saiga/src/saiga/cuda/CMakeLists.txt:15 (cmake_policy): The OLD behavior for policy CMP0104 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. -- No samples. -- No tests. -- Found Doxygen: C:/ProgramData/miniconda3/envs/trips/Library/bin/doxygen.exe (found version "1.10.0") found components: doxygen dot -- Package saiga_core Yes, at $;$;$;$;$;$;$;$;$;$;$;$;$;$;$;$;$;$;C:/ProgramData/miniconda3/envs/trips/Library/include>;$ -- Package saiga_opengl Yes, at $;$;$;$;$;$;$ -- Package saiga_cuda Yes, at $;$;$ -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8 (found version "11.8") -- Caffe2: CUDA detected: 11.8 -- Caffe2: CUDA nvcc is: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/bin/nvcc.exe -- Caffe2: CUDA toolkit directory: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8 -- Caffe2: Header version is: 11.8 -- Found CUDNN: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudnn.lib -- Found cuDNN: v8.9.7 (include: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include, library: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudnn.lib) -- C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/nvrtc.lib shorthash is dd482e34 -- Autodetected CUDA architecture(s): 8.6 -- Added CUDA NVCC flags for: -gencode;arch=compute_86,code=sm_86 -- Found Torch: G:/GS/conda_GS/TRIPS/External/libtorch/lib/torch.lib -- Package torch Yes, at G:/GS/conda_GS/TRIPS/External/libtorch/include;G:/GS/conda_GS/TRIPS/External/libtorch/include/torch/csrc/api/include;C:\Program Files\NVIDIA Corporation\NvToolsExt\/include CMAKE_EXE_LINKER_FLAGS before: /machine:x64 TORCH_LIBRARIES: torch;torch_library;G:/GS/conda_GS/TRIPS/External/libtorch/lib/c10.lib;G:/GS/conda_GS/TRIPS/External/libtorch/lib/kineto.lib;C:\Program Files\NVIDIA Corporation\NvToolsExt\/lib/x64/nvToolsExt64_1.lib;C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudart_static.lib;G:/GS/conda_GS/TRIPS/External/libtorch/lib/caffe2_nvrtc.lib;G:/GS/conda_GS/TRIPS/External/libtorch/lib/c10_cuda.lib TORCH_CXX_FLAGS: CMAKE_EXE_LINKER_FLAGS after: -Wl,--as-needed CUDNN_LIBRARY_PATH: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/cudnn.lib; CUDNN_INCLUDE_PATH: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include -- Obtained CUDA architectures automatically from installed GPUs -- Targeting CUDA architectures: 86 -- Module support is disabled. -- Version: 9.1.1 -- Build type: RelWithDebInfo -- Package tiny-cuda-nn Yes, at G:/GS/conda_GS/TRIPS/External/tiny-cuda-nn/include;G:/GS/conda_GS/TRIPS/External/tiny-cuda-nn/dependencies;G:/GS/conda_GS/TRIPS/External/tiny-cuda-nn/dependencies/cutlass/include;G:/GS/conda_GS/TRIPS/External/tiny-cuda-nn/dependencies/cutlass/tools/util/include;G:/GS/conda_GS/TRIPS/External/tiny-cuda-nn/dependencies/fmt/include -- CMAKE_CXX_FLAGS/DWIN32 /D_WINDOWS /GR /EHsc /MP -march=native -pthread -- CMAKE_EXE_LINKER_FLAGS-Wl,--as-needed -- App enabled: colmap2adop -- App enabled: scannet2adop -- App enabled: preprocess_pointcloud dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\..\External\libtorch\lib\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "C:\ProgramData\miniconda3\envs\trips\bin\libiomp5md.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\src\saiga\cuda\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\src\saiga\opengl\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\src\saiga\core\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\bin\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\glfw\src\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\glog\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\glfw\src\$\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". dll post build copy: copying "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\*.dll" to "G:\GS\conda_GS\TRIPS\build\bin\$\". -- App enabled: train -- App enabled: viewer -- Configuring done (66.0s) -- Generating done (0.9s) -- Build files have been written to: G:/GS/conda_GS/TRIPS/build ```

it looks the build is OK, 1>, while i notice there are some diff like:

"-- Looking for C++ include ext/slist - not found" ,

"Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed"

"No package 'zzip-zlib-config' found"

"-- Package EGL No",

so Is this normal?

2>, at last in log, it show me copy man .dll file to build/bin, but this is no fold bin, the fold will be maked after step2? and the dll file copyed after step2 ?

luoww1992 commented 3 months ago

@lfranke after, when i run cmd: "cmake --build build --config RelWithDebInfo -j" there are some about:

G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(150,23): error C2146: 语法错误: 缺少“;”(在标识符“write”的前面) [G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\code\assimp.vcxproj]
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(150,92): error C2143: 语法错误: 缺少“;”(在“{”的前面) [G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\code\assimp.vcxproj]
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(150,92): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) [G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\code\assimp.vcxproj]
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(156,53): error C2146: 语法错误: 缺少“)”(在标识符“stream”的前面) [G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\code\assimp.vcxproj]
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(156,61): error C2143: 语法错误: 缺少“;”(在“{”的前面) [G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\code\assimp.vcxproj]
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(156,61): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) [G:\GS\conda_GS\TRIPS\build\External\saiga\submodules\assimp\code\assimp.vcxproj]
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(162,53): error C2146: 语法错误: 缺少“)”(在标识符“stream”的前面)
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(162,87): error C2143: 语法错误: 缺少“;”(在“{”的前面) 

G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(162,87): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) 
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(182,34): error C2146: 语法错误: 缺少“)”(在标识符“opaque”的前面) 

G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(182,57): error C2143: 语法错误: 缺少“;”(在“{”的前面) [G:\GS\conda_GS\TRIPS\build\External\saiga\

G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(182,57): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(191,67): error C2761: “int Assimp::IOSystem2Unzip::testerror(void)”: 不允许重新声明成员
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(191,69): error C2143: 语法错误: 缺少“;”(在“{”的前面) 
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(191,69): error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(198,42): error C2065: “open”: 未声明的标识符 
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(202,42): error C2065: “read”: 未声明的标识符 
G:\GS\conda_GS\TRIPS\External\saiga\submodules\assimp\code\Common\ZipArchiveIOSystem.cpp(203,44): error C2065: “write”: 未声明的标识符 

i see the code, i can't find wrong, so the saiga branch in External is right ?

luoww1992 commented 3 months ago

@lfranke https://github.com/lfranke/TRIPS/issues/32#issuecomment-1972376785

https://github.com/lfranke/TRIPS/issues/32#issuecomment-1972395071

can you help me? Is it me missing some packages

luoww1992 commented 3 months ago

i run demo sucessfully in win10,