BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.04k stars 18.7k forks source link

build_win.cmd error #6732

Open gargisri68 opened 5 years ago

gargisri68 commented 5 years ago

I get the following error

(Caffe-GPU) C:\Users\DELL7810\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 = 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 = 0 INFO: PYTHON_EXE = "python" INFO: RUN_TESTS = 0 INFO: RUN_LINT = 0 INFO: RUN_INSTALL = 0 INFO: ============================================================ -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe -- broken CMake Error at C:/Users/DELL7810/Anaconda3/envs/Caffe-GPU/Library/share/cmake-3. 14/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler

"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/Users/DELL7810/caffe/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Users/DELL7810/Anaconda3/envs/Caffe-GPU/Library/bin/

ninja.exe cmTC_a7790 ninja: fatal: CreateProcess: The requested operation requires elevation.

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:18 (project)

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

Safiullahmarwat commented 5 years ago

facing the similar error. waiting for the solution

AaronZLT commented 5 years ago

how to deal with it?...

Safiullahmarwat commented 5 years ago

I think the developers/seniors/learned ones are not interested in helping the victims :( So frustrated of these issues.

mirtatae commented 5 years ago

Guys, Any updates on this issue? Did you find any solutions to get around this?

sgnet91 commented 4 years ago

I have a similar issue. Has any of you solved this problem?