Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install with pip. #6

Closed
jonaselmesten opened this issue Mar 29, 2021 · 3 comments
Closed

Can't install with pip. #6

jonaselmesten opened this issue Mar 29, 2021 · 3 comments

Comments

@jonaselmesten
Copy link

It feels like I've tried everything, could someone help me?

ERROR: Command errored out with exit status 1:
command: 'C:\Users\Jonas\anaconda3\envs\cuda\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users
\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\setup.py'"'"'; file='"'"'C:\Users\Jonas\AppData\Local\Temp\pip-req
-build-8apctr4e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'
"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Jonas\AppData\Local\Temp\pip-record-zmi5_s1
6\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Jonas\anaconda3\envs\cuda\Include\p
ycolmap'
cwd: C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e
Complete output (220 lines):
running install
running build
running build_ext
['cmake', 'C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Jonas
\AppData\Local\Temp\pip-req-build-8apctr4e\build\lib.win-amd64-3.6', '-DPYTHON_EXECUTABLE=C:\Users\Jonas\anaconda3\envs\c
uda\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\
lib.win-amd64-3.6', '-A', 'x64']
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.28.29913.0
-- The CXX compiler identification is MSVC 19.28.29913.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Ho
stx64/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 (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/
Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: C:/dev/vcpkg/installed/x64-windows/include (found version "1.75.0")
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Found required Ceres dependency: Eigen version 3.3.9 in C:/dev/vcpkg/installed/x64-windows/include/eigen3
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: BLAS_LIBRARIES-PLACEHOLDER-FOR-EMPTY-LIBRARIES
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
-- Found Ceres version: 2.0.0 installed in: C:/dev/vcpkg/installed/x64-windows/share with components: [LAPACK, SuiteSparse, Spa
rseLinearAlgebraLibrary, SchurSpecializations, Multithreading]
CMake Warning at C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
C:/dev/vcpkg/installed/x64-windows/share/colmap/COLMAPConfig.cmake:91 (find_package)
C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
CMakeLists.txt:9 (find_package)

CMake Warning at C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
  C:/dev/vcpkg/installed/x64-windows/share/colmap/COLMAPConfig.cmake:91 (find_package)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  CMakeLists.txt:9 (find_package)


CMake Warning at C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
  C:/dev/vcpkg/installed/x64-windows/share/colmap/COLMAPConfig.cmake:91 (find_package)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  CMakeLists.txt:9 (find_package)


CMake Warning at C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
  C:/dev/vcpkg/installed/x64-windows/share/colmap/COLMAPConfig.cmake:91 (find_package)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  CMakeLists.txt:9 (find_package)


CMake Warning at C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1187 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1311 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Users/Jonas/anaconda3/envs/cuda/Library/share/cmake-3.18/Modules/FindBoost.cmake:1919 (_Boost_MISSING_DEPENDENCIES)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
  C:/dev/vcpkg/installed/x64-windows/share/colmap/COLMAPConfig.cmake:91 (find_package)
  C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:861 (_find_package)
  CMakeLists.txt:9 (find_package)


-- Found Boost: C:/dev/vcpkg/installed/x64-windows/include (found version "1.75.0") found components: program_options filesyste

m regex system unit_test_framework
-- Found Eigen3: C:/dev/vcpkg/installed/x64-windows/include/eigen3 (Required is at least version "2.91.0")
-- Found Eigen
-- Includes : C:/dev/vcpkg/installed/x64-windows/include/eigen3
-- Found FreeImage
-- Includes : C:/dev/vcpkg/installed/x64-windows/include
-- Libraries : C:/dev/vcpkg/installed/x64-windows/lib/FreeImage.lib
-- Found Glog
-- Includes : C:/dev/vcpkg/installed/x64-windows/include
-- Libraries : C:/dev/vcpkg/installed/x64-windows/debug/lib/glog.lib
-- Found OpenGL: opengl32
-- Visual Leak Detector (VLD) is not found.
-- Using header-only CGAL
-- Targetting Visual Studio 16 2019
-- Target build enviroment supports auto-linking
-- Using VC toolset 142.
-- Generator uses intermediate configuration directory: $(Configuration)
-- Found GMP: C:/dev/vcpkg/installed/x64-windows/lib/gmp.lib
-- Found MPFR: C:/dev/vcpkg/installed/x64-windows/debug/lib/mpfr.lib
-- Found Boost: C:/dev/vcpkg/installed/x64-windows/include (found suitable version "1.75.0", minimum required is "1.48")
-- Boost include dirs: C:/dev/vcpkg/installed/x64-windows/include
-- Boost libraries:
-- Found PythonInterp: C:/Users/Jonas/anaconda3/envs/cuda/python.exe (found version "3.6.13")
-- Found PythonLibs: C:/Users/Jonas/anaconda3/envs/cuda/libs/Python36.lib
-- pybind11 v2.5.dev1
-- Performing Test HAS_MSVC_GL_LTCG
-- Performing Test HAS_MSVC_GL_LTCG - Failed
-- LTO disabled (not supported by the compiler and/or linker)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Jonas/AppData/Local/Temp/pip-req-build-8apctr4e/build/temp.win-amd64-3.6/Release
Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(523,5): warn

ing MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues
with incremental build. [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\ZERO_CHECK.vcxpr
oj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(523,5): warn
ing MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues
with incremental build. [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj
]
Building Custom Rule C:/Users/Jonas/AppData/Local/Temp/pip-req-build-8apctr4e/CMakeLists.txt
cl : command line warning D9002: ignoring unknown option '-std=c++11' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e
\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
main.cc
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(87,21): warning C4251: 'ceres::GradientC
hecker::ProbeResults::residuals': class 'Eigen::Matrix<double,-1,1,0,-1,1>' needs to have dll-interface to be used by clients of st
ruct 'ceres::GradientChecker::ProbeResults' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Rele
ase\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\include\Eigen\src/Core/Matrix.h(449): message : see declaration of 'Eigen::Matrix<double,-1,
1,0,-1,1>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(97,34): warning C4251: 'ceres::GradientC
hecker::ProbeResults::jacobians': class 'std::vector<ceres::Matrix,std::allocatorceres::Matrix>' needs to have dll-interface to b
e used by clients of struct 'ceres::GradientChecker::ProbeResults' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build
temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(97): message : see declaration of 'std::
vector<ceres::Matrix,std::allocatorceres::Matrix>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64
-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(100,40): warning C4251: 'ceres::Gradient
Checker::ProbeResults::local_jacobians': class 'std::vector<ceres::Matrix,std::allocatorceres::Matrix>' needs to have dll-interfa
ce to be used by clients of struct 'ceres::GradientChecker::ProbeResults' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e
\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(97): message : see declaration of 'std::
vector<ceres::Matrix,std::allocatorceres::Matrix>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64
-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(103,42): warning C4251: 'ceres::Gradient
Checker::ProbeResults::numeric_jacobians': class 'std::vector<ceres::Matrix,std::allocatorceres::Matrix>' needs to have dll-inter
face to be used by clients of struct 'ceres::GradientChecker::ProbeResults' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr
4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(97): message : see declaration of 'std::
vector<ceres::Matrix,std::allocatorceres::Matrix>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64
-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(106,48): warning C4251: 'ceres::Gradient
Checker::ProbeResults::local_numeric_jacobians': class 'std::vector<ceres::Matrix,std::allocatorceres::Matrix>' needs to have dll
-interface to be used by clients of struct 'ceres::GradientChecker::ProbeResults' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-
8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(97): message : see declaration of 'std::
vector<ceres::Matrix,std::allocatorceres::Matrix>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64
-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(113,26): warning C4251: 'ceres::Gradient
Checker::ProbeResults::error_log': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-in
terface to be used by clients of struct 'ceres::GradientChecker::ProbeResults' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8ap
ctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xstring(4648): message : see de
claration of 'std::basic_string<char,std::char_traits,std::allocator>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build
-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(143,69): warning C4251: 'ceres::Gradient
Checker::local_parameterizations_': class 'std::vector<const ceres::LocalParameterization *,std::allocator<const ceres::LocalParame
terization *>>' needs to have dll-interface to be used by clients of class 'ceres::GradientChecker' [C:\Users\Jonas\AppData\Local\T
emp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(78): message : see declaration of 'std::
vector<const ceres::LocalParameterization *,std::allocator<const ceres::LocalParameterization *>>' [C:\Users\Jonas\AppData\Local\Te
mp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_checker.h(145,59): warning C4251: 'ceres::Gradient
Checker::finite_diff_cost_function_': class 'std::unique_ptr<ceres::CostFunction,std::default_deleteceres::CostFunction>' needs t
o have dll-interface to be used by clients of class 'ceres::GradientChecker' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apct
r4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/conditioned_cost_function.h(92): message : see declaration
of 'std::unique_ptr<ceres::CostFunction,std::default_deleteceres::CostFunction>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build
-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem.h(109,48): warning C4251: 'ceres::Gradient
Problem::function_': class 'std::unique_ptr<ceres::FirstOrderFunction,std::default_deleteceres::FirstOrderFunction>' needs to hav
e dll-interface to be used by clients of class 'ceres::GradientProblem' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\b
uild\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem.h(109): message : see declaration of 'std:
:unique_ptr<ceres::FirstOrderFunction,std::default_deleteceres::FirstOrderFunction>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-b
uild-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem.h(110,59): warning C4251: 'ceres::Gradient
Problem::parameterization_': class 'std::unique_ptr<ceres::LocalParameterization,std::default_deleteceres::LocalParameterization>
' needs to have dll-interface to be used by clients of class 'ceres::GradientProblem' [C:\Users\Jonas\AppData\Local\Temp\pip-req-bu
ild-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/local_parameterization.h(351): message : see declaration of
'std::unique_ptr<ceres::LocalParameterization,std::default_deleteceres::LocalParameterization>' [C:\Users\Jonas\AppData\Local\Te
mp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem.h(111,37): warning C4251: 'ceres::Gradient
Problem::scratch_': class 'std::unique_ptr<double [],std::default_delete<double []>>' needs to have dll-interface to be used by cli
ents of class 'ceres::GradientProblem' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\p
ycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem.h(111): message : see declaration of 'std:
:unique_ptr<double [],std::default_delete<double []>>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd
64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem_solver.h(254,46): warning C4251: 'ceres::G
radientProblemSolver::Options::callbacks': class 'std::vector<ceres::IterationCallback *,std::allocator<ceres::IterationCallback *>

' needs to have dll-interface to be used by clients of struct 'ceres::GradientProblemSolver::Options' [C:\Users\Jonas\AppData\Loca
l\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem_solver.h(254): message : see declaration o
f 'std::vector<ceres::IterationCallback *,std::allocator<ceres::IterationCallback *>>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-b
uild-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem_solver.h(272,25): warning C4251: 'ceres::G
radientProblemSolver::Summary::message': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have
dll-interface to be used by clients of struct 'ceres::GradientProblemSolver::Summary' [C:\Users\Jonas\AppData\Local\Temp\pip-req-bu
ild-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\xstring(4648): message : see de
claration of 'std::basic_string<char,std::char_traits,std::allocator>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build
-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem_solver.h(283,45): warning C4251: 'ceres::G
radientProblemSolver::Summary::iterations': class 'std::vector<ceres::IterationSummary,std::allocatorceres::IterationSummary>' ne
eds to have dll-interface to be used by clients of struct 'ceres::GradientProblemSolver::Summary' [C:\Users\Jonas\AppData\Local\Tem
p\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\dev\vcpkg\installed\x64-windows\share\colmap....\include\ceres/gradient_problem_solver.h(283): message : see declaration o
f 'std::vector<ceres::IterationSummary,std::allocatorceres::IterationSummary>' [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8
apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\sift.cc(33,63): warning C4244: 'argument': conversion from 'pybind11::
ssize_t' to 'int', possible loss of data [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release
\pycolmap.vcxproj]
C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\sift.cc(33,47): warning C4244: 'argument': conversion from 'pybind11::
ssize_t' to 'int', possible loss of data [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release
\pycolmap.vcxproj]
C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\sift.cc(97,98): warning C4244: 'argument': conversion from 'double' to
'const float', possible loss of data [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\py
colmap.vcxproj]
C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\sift.cc(116,47): warning C4267: 'initializing': conversion from 'size_
t' to 'int', possible loss of data [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycol
map.vcxproj]
C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\sift.cc(116,47): warning C4267: 'initializing': conversion from 'size_
t' to 'const int', possible loss of data [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release
\pycolmap.vcxproj]
Creating library C:/Users/Jonas/AppData/Local/Temp/pip-req-build-8apctr4e/build/temp.win-amd64-3.6/Release/Release/pycolma
p.lib and object C:/Users/Jonas/AppData/Local/Temp/pip-req-build-8apctr4e/build/temp.win-amd64-3.6/Release/Release/pycolmap.exp
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::path
_traits::convert(char const *,char const *,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator > &,class std::codecvt<wchar_t,char,struct _Mbstatet> const &)" (_imp?convert@path_traits@filesystem@boost@@YAXPEBD0AEAV?$
basic_string@_WU?$char_traits@_W@std@@v?$allocator@_W@2@@std@@aebv?$codecvt@_WDU_Mbstatet@@@5@@z) referenced in function "public: _
_cdecl boost::filesystem::path::path<class std::basic_string<char,struct std::char_traits,class std::allocator > >(clas
s std::basic_string<char,struct std::char_traits,class std::allocator > const &,void *)" (??$?0V?$basic_string@DU?$char
_traits@D@std@@v?$allocator@D@2@@std@@@path@filesystem@boost@@qeaa@AEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@
@Peax@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::path
_traits::convert(wchar_t const *,wchar_t const *,class std::basic_string<char,struct std::char_traits,class std::allocator > &,class std::codecvt<wchar_t,char,struct _Mbstatet> const &)" (_imp?convert@path_traits@filesystem@boost@@YAXPEB_W0AEAV?$ba
sic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@aebv?$codecvt@_WDU_Mbstatet@@@5@@z) referenced in function "class std::vec
tor<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_s
tring<char,struct std::char_traits,class std::allocator > > > __cdecl colmap::GetDirList(class std::basic_string<char,s
truct std::char_traits,class std::allocator > const &)" (?GetDirList@colmap@@ya?AV?$vector@V?$basic_string@DU?$char_tra
its@D@std@@v?$allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@std@@aebv?$basic_s
tring@DU?$char_traits@D@std@@v?$allocator@D@2@@3@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64
-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::path
_traits::dispatch(class boost::filesystem::directory_entry const &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>
,class std::allocator<wchar_t> > &)" (_imp?dispatch@path_traits@filesystem@boost@@YAXAEBVdirectory_entry@23@AEAV?$basic_string@_W
U?$char_traits@_W@std@@v?$allocator@_W@2@@std@@@z) referenced in function "public: __cdecl boost::filesystem::path::path(class boost::filesystem::directory_entry const &,void *)" (??$?0Vdirectory_entry@filesystem@boost@@
@path@filesystem@boost@@qeaa@AEBVdirectory_entry@12@PEAX@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.wi
n-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class boost::filesystem::pat
h & __cdecl boost::filesystem::path::operator/=(class boost::filesystem::path const &)" (_imp??_0path@filesystem@boost@@QEAAAEAV0
12@AEBV012@@z) referenced in function "class std::basic_string<char,struct std::char_traits,class std::allocator > __cd
ecl colmap::GetRelativePath(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class s
td::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?GetRelativePath@colmap@@ya?AV?$basic_s
tring@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV23@0@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\tem
p.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __cdecl boost::filesyste
m::path::compare(class boost::filesystem::path const &)const " (_imp?compare@path@filesystem@boost@@QEBAHAEBV123@@z) referenced i
n function "bool __cdecl boost::filesystem::operator==(class boost::filesystem::path const &,class boost::filesystem::path const &)
" (??8filesystem@boost@@YA_NAEBVpath@01@0@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Rel
ease\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class boost::filesystem::pat
h __cdecl boost::filesystem::path::parent_path(void)const " (_imp?parent_path@path@filesystem@boost@@qeba?AV123@XZ) referenced in
function "class std::basic_string<char,struct std::char_traits,class std::allocator > _cdecl colmap::GetParentDir(cla
ss std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?GetParentDir@colmap@@ya?AV?$basic

string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV23@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\tem
p.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class boost::filesystem::pat
h::iterator __cdecl boost::filesystem::path::begin(void)const " (_imp?begin@path@filesystem@boost@@qeba?AViterator@123@XZ) refere
nced in function "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl colmap::GetRelati
vePath(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char
,struct std::char_traits,class std::allocator > const &)" (?GetRelativePath@colmap@@ya?AV?$basic_string@DU?$char_traits
@d@std@@v?$allocator@D@2@@std@@AEBV23@0@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Relea
se\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class boost::filesystem::pat
h::iterator __cdecl boost::filesystem::path::end(void)const " (_imp?end@path@filesystem@boost@@qeba?AViterator@123@XZ) referenced
in function "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl colmap::GetRelativePa
th(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,str
uct std::char_traits,class std::allocator > const &)" (?GetRelativePath@colmap@@ya?AV?$basic_string@DU?$char_traits@D@s
td@@v?$allocator@D@2@@std@@AEBV23@0@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\p
ycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class std::codecvt<wc
har_t,char,struct _Mbstatet> const & __cdecl boost::filesystem::path::codecvt(void)" (_imp?codecvt@path@filesystem@boost@@SAAEBV?
$codecvt@_WDU_Mbstatet@@@std@@xz) referenced in function "public: __cdecl boost::filesystem::path::path<class std::basic_string<cha
r,struct std::char_traits,class std::allocator > >(class std::basic_string<char,struct std::char_traits,class std
::allocator > const &,void *)" (??$?0V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@path@filesystem@boost@@qe
AA@AEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@Peax@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr
4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned __int64 __cdecl bo
ost::filesystem::path::m_append_separator_if_needed(void)" (_imp?m_append_separator_if_needed@path@filesystem@boost@@AEAA_KXZ) re
ferenced in function "public: class boost::filesystem::path & __cdecl boost::filesystem::path::operator/=<char [3]>(char const (&)[
3])" (??$?_0$$BY02D@path@filesystem@boost@@QEAAAEAV012@AEAY02$$CBD@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\bui
ld\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __cdecl boost::filesys
tem::path::m_erase_redundant_separator(unsigned __int64)" (_imp?m_erase_redundant_separator@path@filesystem@boost@@AEAAX_K@Z) ref
erenced in function "public: class boost::filesystem::path & __cdecl boost::filesystem::path::operator/=<char [3]>(char const (&)[3
])" (??$?_0$$BY02D@path@filesystem@boost@@QEAAAEAV012@AEAY02$$CBD@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\buil
d\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) private: static void __cdecl boost::
filesystem::path::m_path_iterator_increment(class boost::filesystem::path::iterator &)" (_imp?m_path_iterator_increment@path@file
system@boost@@CAXAEAViterator@123@@z) referenced in function "private: static void __cdecl boost::iterators::iterator_core_access::
increment(class boost::filesystem::path::iterator &)" (??$increment@Viterator@path@filesys
tem@boost@@@iterator_core_access@iterators@boost@@CAXAEAViterator@path@filesystem@2@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-
build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) private: class boost::filesystem::fi
le_status __cdecl boost::filesystem::directory_entry::get_status(class boost::system::error_code *)const " (_imp?get_status@direc
tory_entry@filesystem@boost@@aeba?AVfile_status@23@PEAVerror_code@system@3@@z) referenced in function "class std::vector<class std:
:basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,str
uct std::char_traits,class std::allocator > > > __cdecl colmap::GetDirList(class std::basic_string<char,struct std::cha
r_traits,class std::allocator > const &)" (?GetDirList@colmap@@ya?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@v?$
allocator@D@2@@std@@v?$allocator@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@2@@std@@aebv?$basic_string@DU?$char
_traits@D@std@@v?$allocator@D@2@@3@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\p
ycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) class boost::system::error_code __cd
ecl boost::filesystem::detail::dir_itr_close(void * &)" (_imp?dir_itr_close@detail@filesystem@boost@@ya?AVerror_code@system@3@AEA
PEAX@Z) referenced in function "void __cdecl std::_Destroy_range<class std::allocator
(class boost::filesystem::directory_iterator *,class boost::filesystem::directory_iterator * const,class std::allocator &)" (??$_Destroy_range@V?$allocator@Vdirectory_iterator@filesystem@boost@@@std@@@std@@YAXPEAVdir
ectory_iterator@filesystem@boost@@QEAV123@AEAV?$allocator@Vdirectory_iterator@filesystem@boost@@@0@@z) [C:\Users\Jonas\AppData\Loca
l\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::deta
il::directory_iterator_construct(class boost::filesystem::directory_iterator &,class boost::filesystem::path const &,unsigned int,c
lass boost::system::error_code *)" (_imp?directory_iterator_construct@detail@filesystem@boost@@YAXAEAVdirectory_iterator@23@AEBVp
ath@23@IPEAVerror_code@system@3@@z) referenced in function "public: __cdecl boost::filesystem::directory_iterator::directory_iterat
or(class boost::filesystem::path const &,enum boost::filesystem::directory_options)" (??0directory_iterator@filesystem@boost@@qeaa@
AEBVpath@12@W4directory_options@12@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\p
ycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::deta
il::directory_iterator_increment(class boost::filesystem::directory_iterator &,class boost::system::error_code *)" (_imp?director
y_iterator_increment@detail@filesystem@boost@@YAXAEAVdirectory_iterator@23@PEAVerror_code@system@3@@z) referenced in function "priv
ate: static void __cdecl boost::iterators::iterator_core_access::increment(class boost
::filesystem::directory_iterator &)" (??$increment@Vdirectory_iterator@filesystem@boost@@@iterator_core_access@iterators@boost@@cax
AEAVdirectory_iterator@filesystem@2@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release
pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::deta
il::recursive_directory_iterator_construct(class boost::filesystem::recursive_directory_iterator &,class boost::filesystem::path co
nst &,unsigned int,class boost::system::error_code *)" (_imp?recursive_directory_iterator_construct@detail@filesystem@boost@@yaxa
EAVrecursive_directory_iterator@23@AEBVpath@23@IPEAVerror_code@system@3@@z) referenced in function "public: __cdecl boost::filesyst
em::recursive_directory_iterator::recursive_directory_iterator(class boost::filesystem::path const &)" (??0recursive_directory_iter
ator@filesystem@boost@@qeaa@AEBVpath@12@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Rele
ase\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl boost::filesystem::deta
il::recursive_directory_iterator_increment(class boost::filesystem::recursive_directory_iterator &,class boost::system::error_code
*)" (_imp?recursive_directory_iterator_increment@detail@filesystem@boost@@YAXAEAVrecursive_directory_iterator@23@PEAVerror_code@s
ystem@3@@z) referenced in function "private: static void __cdecl boost::iterators::iterator_core_access::increment(class boost::filesystem::recursive_directory_iterator &)" (??$increment@Vrecursive_directory
_iterator@filesystem@boost@@@iterator_core_access@iterators@boost@@CAXAEAVrecursive_directory_iterator@filesystem@2@@z) [C:\Users\J
onas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) class boost::filesystem::file_status
__cdecl boost::filesystem::detail::status(class boost::filesystem::path const &,class boost::system::error_code *)" (_imp?status
@detail@filesystem@boost@@ya?AVfile_status@23@AEBVpath@23@PEAVerror_code@system@3@@z) referenced in function "void __cdecl colmap::
CreateDirIfNotExists(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?CreateDirI
fNotExists@colmap@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z) [C:\Users\Jonas\AppData\Local\Temp\pip-r
eq-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) class boost::filesystem::path __cdec
l boost::filesystem::detail::canonical(class boost::filesystem::path const &,class boost::filesystem::path const &,class boost::sys
tem::error_code *)" (_imp?canonical@detail@filesystem@boost@@ya?AVpath@23@AEBV423@0PEAVerror_code@system@3@@z) referenced in func
tion "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl colmap::GetRelativePath(class
std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std:
:char_traits,class std::allocator > const &)" (?GetRelativePath@colmap@@ya?AV?$basic_string@DU?$char_traits@D@std@@v?$a
llocator@D@2@@std@@AEBV23@0@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.
vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) bool __cdecl boost::filesystem::deta
il::create_directory(class boost::filesystem::path const &,class boost::filesystem::path const *,class boost::system::error_code *)
" (_imp?create_directory@detail@filesystem@boost@@YA_NAEBVpath@23@PEBV423@PEAVerror_code@system@3@@z) referenced in function "voi
d __cdecl colmap::CreateDirIfNotExists(class std::basic_string<char,struct std::char_traits,class std::allocator > cons
t &)" (?CreateDirIfNotExists@colmap@@YAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z) [C:\Users\Jonas\AppDat
a\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
colmap.lib(misc.cc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) class boost::filesystem::path __cdec
l boost::filesystem::detail::current_path(class boost::system::error_code *)" (_imp?current_path@detail@filesystem@boost@@ya?AVpa
th@23@PEAVerror_code@system@3@@z) referenced in function "class std::basic_string<char,struct std::char_traits,class std::all
ocator > __cdecl colmap::GetRelativePath(class std::basic_string<char,struct std::char_traits,class std::allocator<char

const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?GetRelativePath@col
map@@ya?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@AEBV23@0@Z) [C:\Users\Jonas\AppData\Local\Temp\pip-req-build
-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vcxproj]
C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\lib.win-amd64-3.6\pycolmap.cp36-win_amd64.pyd : fatal error LNK1
120: 22 unresolved externals [C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\build\temp.win-amd64-3.6\Release\pycolmap.vc
xproj]
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\setup.py", line 71, in
zip_safe=False,
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\setup.py", line 32, in run
self.build_extension(ext)
File "C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\setup.py", line 60, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "C:\Users\Jonas\anaconda3\envs\cuda\lib\subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit st
atus 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\Jonas\anaconda3\envs\cuda\python.exe' -u -c 'import sys, setuptools, token
ize; sys.argv[0] = '"'"'C:\Users\Jonas\AppData\Local\Temp\pip-req-build-8apctr4e\setup.py'"'"'; file='"'"'C:\Users\Jon
as\AppData\Local\Temp\pip-req-build-8apctr4e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().r
eplace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Jonas\AppD
ata\Local\Temp\pip-record-zmi5_s16\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Jo
nas\anaconda3\envs\cuda\Include\pycolmap' Check the logs for full command output.

@mihaidusmanu
Copy link
Collaborator

Hello. I never managed to get this working under Windows so I sadly cannot help - I am mostly using Ubuntu / WSL. Leaving the issue open, maybe someone else can lend a hand.

@AilsonAir
Copy link

Same problem here with Windows10. Seems like sourcedir in setup.py is not right.

@jonaselmesten
Copy link
Author

Hello. I never managed to get this working under Windows so I sadly cannot help - I am mostly using Ubuntu / WSL. Leaving the issue open, maybe someone else can lend a hand.

Yeah, I tried with ubuntu and now it worked after some minor changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants