ahk...@gmail.com

unread,
May 9, 2017, 9:25:14 PM5/9/17
to Caffe Users

I'm getting this error while install caffe !:

...........................................................................

  C:\Projects\caffe>scripts\build_win.cmd
  The system cannot find the drive specified.
The system cannot find the drive specified.
INFO: ============================================================
INFO: Summary:
INFO: ============================================================
INFO: MSVC_VERSION               = 14
INFO: WITH_NINJA                 = 1
INFO: CMAKE_GENERATOR            = "Ninja"
INFO: CPU_ONLY                   = 1
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               = 0
INFO: PYTHON_EXE                 = "python"
INFO: RUN_TESTS                  = 0
INFO: RUN_LINT                   = 0
INFO: RUN_INSTALL                = 0
INFO: ============================================================
The system cannot find the path specified.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:18 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:18 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "C:/Projects/caffe/build/CMakeFiles/CMakeError.log".

ERROR: Configure failed

............................................................................

system info: i'm using windows 10 64-bit OS

installed : anaconda python 2.7 and python 3.6 i don't have GPU so just CPU-only

if any one can help me with this i'll appreciate that >

Indrajeet Haldar

unread,
Jun 5, 2017, 12:21:15 PM6/5/17
to Caffe Users
Did you end up solving this? I have a similar issue while installing caffe too.

Paul Delamusica

unread,
Jun 5, 2017, 8:15:58 PM6/5/17
to Caffe Users
Would it work without Ninja? I installed OK with VC2013. 

Guillaume Dumont

unread,
Jun 6, 2017, 8:40:44 AM6/6/17
to Caffe Users
Looks like you don't have VS 2015 installed. You need 2013 or 2015.

If you want to use VS 2013 use set MSVC_VERSION=12.
Reply all
Reply to author
Forward
0 new messages