problem in finding MSVC version

647 views
Skip to first unread message

reza

unread,
Jun 8, 2017, 2:29:38 PM6/8/17
to Caffe Users
I got this error when I tried to build caffe: 
The system cannot find the drive specified.
The system cannot find the drive specified.
INFO: ============================================================
INFO: Summary:
INFO: ============================================================
INFO: MSVC_VERSION               = 12
INFO: WITH_NINJA                 = 0
INFO: CMAKE_GENERATOR            = "Visual Studio 12 2013 Win64"
INFO: CPU_ONLY                   = 0
INFO: CUDA_ARCH_NAME             = Auto
INFO: CMAKE_CONFIG               = Release
INFO: USE_NCCL                   = 0
INFO: CMAKE_BUILD_SHARED_LIBS    = 0
INFO: PYTHON_VERSION             = 2
INFO: BUILD_PYTHON               = 1
INFO: BUILD_PYTHON_LAYER         = 1
INFO: BUILD_MATLAB               = 1
INFO: PYTHON_EXE                 = "python"
INFO: RUN_TESTS                  = 0
INFO: RUN_LINT                   = 0
INFO: RUN_INSTALL                = 0
INFO: ============================================================
-- The C compiler identification is MSVC 18.0.40629.0
-- The CXX compiler identification is MSVC 18.0.40629.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: C:/Users/Reza Alikhani/AppData/Local/Programs/Python/Python35/python.exe (found suitable version "3.5.2", minimum required is "2.7")
CMake Error at cmake/WindowsDownloadPrebuiltDependencies.cmake:40 (message):
  Could not find url for MSVC version = 1800 and Python version = 3.5.
Call Stack (most recent call first):
  CMakeLists.txt:77 (include)


-- Configuring incomplete, errors occurred!
See also "C:/caffe-windows/scripts/build/CMakeFiles/CMakeOutput.log".
ERROR: Configure failed

C:\caffe-windows\scripts>



















































































Cameron Cowan

unread,
Jun 25, 2017, 5:23:37 PM6/25/17
to Caffe Users
Exactly the same problem, including the MSVC 1800 and Python 3.5 codes.

Any luck finding a solution?

Cameron Cowan

unread,
Jun 25, 2017, 6:13:22 PM6/25/17
to Caffe Users
After looking further, the problem is in the cmake download of the pre-built binaries. 3.5 is listed but only for MSVC=1900 (presumably Visual Studio 2015).

After looking further, the problem is that the cmake download of the pre-built binaries doesn't list this specific combination. VS 2015 should work with either version of Python, but for VS 2013 only python 2.7 is currently supported.

Indeed, after swapping in Python 2.7 it worked fine.
Reply all
Reply to author
Forward
0 new messages