-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Issue with scripts\build_win.cmd #6563
Comments
You are correct. I have built caffe's dependencies for python 2.7 and 3.5. So the automatic download of those dependencies fails since you have 3.6. You can build your own version of the dependencies with python 3.6 using caffe-builder. @Coderx7 had success at compiling the dependencies for python 3.6 as documented here: willyd/caffe-builder#46 |
In case you want the prebuilt libraries for python3.6 , here it is; libraries_v140_x64_py36_1.1.0.tar.bz2. note that you need to alter several sections in |
I'm getting almost the same error on Windows-10. 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 = 0 INFO: CMAKE_GENERATOR = "Visual Studio 14 2015 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 = 0 INFO: PYTHON_EXE = "python" INFO: RUN_TESTS = 0 INFO: RUN_LINT = 0 INFO: RUN_INSTALL = 0 INFO: ============================================================ '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools....\VC\vcvarsall.bat"' is not operable program or batch file. 'cmake' is not recognized as an internal or external command, operable program or batch file. ERROR: Configure failed_` Need Help |
Hi @Coderx7, Using your dependency prebuilt(for python 3.6) for building caffe, takes hdf5 debug library instead of release version even the library pre-built is available for debug and release both in tar, because CMake/hdf5-target-release.cmake file is not available. Due to that the caffe build does not work on all the windows machines as it copies the hdf5*_D.dll but caffe does not copy the dependent debug dlls from the Visual Studio. It will be helpful if you can upload the updated tar.bz2 at the same url so that manual copying can be avoided. Thanks, |
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 = 0
INFO: CMAKE_GENERATOR = "Visual Studio 14 2015 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 = 0
INFO: PYTHON_EXE = "python"
INFO: RUN_TESTS = 0
INFO: RUN_LINT = 0
INFO: RUN_INSTALL = 0
INFO: ============================================================
-- Selecting Windows SDK version to target Windows 10.0.15063.
-- The C compiler identification is MSVC 19.0.24210.0
-- The CXX compiler identification is MSVC 19.0.24210.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.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 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.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/Srikanth1.R/AppData/Local/Continuum/anaconda3/python.exe (found suitable version "3.6.5", minimum required is "2.7")
CMake Error at cmake/WindowsDownloadPrebuiltDependencies.cmake:40 (message):
Could not find url for MSVC version = 1900 and Python version = 3.6.
Call Stack (most recent call first):
CMakeLists.txt:77 (include)
-- Configuring incomplete, errors occurred!
See also "C:/Users/Srikanth1.R/caffe/build/CMakeFiles/CMakeOutput.log".
ERROR: Configure failed
According to what I understand there is some sort of error with python 3.6. Is it that this is built only for versions till python 3.5 ? Please suggest me the solution
The text was updated successfully, but these errors were encountered: