Closed nikhardoshi closed 5 months ago
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include directory.
Do you have 14.39.33519
locally? Or have you installed it?
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include directory.
Do you have
14.39.33519
locally? Or have you installed it?
Yes I had the above version installed with Visual Studio!
@nikhardoshi Could you please install ATL
and try again? :)
Hi @FrankXie05, I already have ATL installed. I believe the situation is, in colmap , it is trying to build and in build files the import of C Header Library, where as these files are stored in Cpp format!
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Operating system
Windows
Compiler
No response
Steps to reproduce the behavior
Failure logs
Package: colmap[core,cuda,tests]:x64-windows@2023-10-01
Host Environment
To Reproduce
vcpkg install colmap[cuda,tests]:x64-windows
Failure logsC:\src\vcpkg\buildtrees\colmap\install-x64-windows-dbg-out.log
``` Change Dir: 'C:/src/vcpkg/buildtrees/colmap/x64-windows-dbg' Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j25 install [1/369] C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe /TP -DCOLMAP_CGAL_ENABLED -DCOLMAP_CUDA_ENABLED -DCOLMAP_GPU_ENABLED -DCOLMAP_GUI_ENABLED -DCOLMAP_OPENGL_ENABLED -DCOLMAP_OPENMP_ENABLED -DEIGEN_INITIALIZE_MATRICES_BY_NAN -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DGLOG_USE_GFLAGS -DGLOG_USE_GLOG_EXPORT -DGL_GLEXT_PROTOTYPES -DIMATH_DLL -DNOMINMAX -DOPENEXR_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DWIN32_LEAN_AND_MEAN -D_MWAITXINTRIN_H_INCLUDED -IC:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src -external:IC:\src\vcpkg\installed\x64-windows\include -external:IC:\src\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\src\vcpkg\installed\x64-windows\include\qt5 -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtCore -external:IC:\src\vcpkg\installed\x64-windows\tools\qt5\mkspecs\win32-msvc -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtOpenGL -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtWidgets -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtGui -external:IC:\src\vcpkg\installed\x64-windows\include\openjpeg-2.5 -external:IC:\src\vcpkg\installed\x64-windows\include\webp -external:IC:\src\vcpkg\installed\x64-windows\include\OpenEXR -external:IC:\src\vcpkg\installed\x64-windows\include\Imath -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /EHsc /MP /bigobj /W3 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++14 /Zc:__cplusplus /EHsc /showIncludes /Fosrc\colmap\estimators\CMakeFiles\colmap_estimators.dir\generalized_absolute_pose_coeffs.cc.obj /Fdsrc\colmap\estimators\CMakeFiles\colmap_estimators.dir\colmap_estimators.pdb /FS -c C:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src\colmap\estimators\generalized_absolute_pose_coeffs.cc [2/369] C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe /TP -DCOLMAP_CGAL_ENABLED -DCOLMAP_CUDA_ENABLED -DCOLMAP_GPU_ENABLED -DCOLMAP_GUI_ENABLED -DCOLMAP_OPENGL_ENABLED -DCOLMAP_OPENMP_ENABLED -DEIGEN_INITIALIZE_MATRICES_BY_NAN -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DGLOG_USE_GFLAGS -DGLOG_USE_GLOG_EXPORT -DGL_GLEXT_PROTOTYPES -DIMATH_DLL -DNOMINMAX -DOPENEXR_DLL -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DWIN32_LEAN_AND_MEAN -D_MWAITXINTRIN_H_INCLUDED -IC:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src -external:IC:\src\vcpkg\installed\x64-windows\include -external:IC:\src\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\src\vcpkg\installed\x64-windows\include\qt5 -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtCore -external:IC:\src\vcpkg\installed\x64-windows\tools\qt5\mkspecs\win32-msvc -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtOpenGL -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtWidgets -external:IC:\src\vcpkg\installed\x64-windows\include\qt5\QtGui -external:IC:\src\vcpkg\installed\x64-windows\include\openjpeg-2.5 -external:IC:\src\vcpkg\installed\x64-windows\include\webp -external:IC:\src\vcpkg\installed\x64-windows\include\OpenEXR -external:IC:\src\vcpkg\installed\x64-windows\include\Imath -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP /EHsc /MP /bigobj /W3 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 -std:c++14 /Zc:__cplusplus /EHsc /showIncludes /Fosrc\colmap\estimators\CMakeFiles\colmap_estimators.dir\triangulation.cc.obj /Fdsrc\colmap\estimators\CMakeFiles\colmap_estimators.dir\colmap_estimators.pdb /FS -c C:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src\colmap\estimators\triangulation.cc C:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src\colmap/optim/ransac.h(152): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data C:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src\colmap/optim/ransac.h(152): note: the template instantiation context (the oldest one first) is C:\src\vcpkg\buildtrees\colmap\src\f69e5aa28f-361efbb7b2.clean\src\colmap\estimators\triangulation.cc(150): note: see reference to class template instantiation 'colmap::LORANSACAdditional context
Additionally I have tried manually using cmake in the working directory: C:\src\vcpkg\buildtrees\colmap\x64-windows-dbg to build the package but produces the same inherent error.
The errors produced there are:
It is important to note that the libraries mentioned are already present in the C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include directory.
Also, another thing that I noticed, which might not be an issue and could be irrelevant, but VCPKG installtion shows MSVC 19.39.33523.0 as the compiler when the compiler in my Visual Studio 2022 is MSVC 14.39.33519. Could that be an issue??