Operating system:Win7 x64
Compiler: VS2015
CUDA version (if applicable):8.0
Python:2.7.14
CMake:3.10.2
ninjia:1.8.2
both cpu_only on or off failed with this same error.
"C:\Program Files (x86)\MICROS~3.0\VC\bin\amd64\cl.exe" /nologo /TP -DBOOST_ALL_NO_LIB -DCAFFE_VERSION=1.0.0 -DCMAKE_WINDOWS_BUILD -DCPU_ONLY -DGLOG_NO_ABBREVIATED_SEVERITIES -DGOOGLE_GLOG_DLL_DECL=__declspec(dllimport) -DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=__declspec(dllimport) -DH5_BUILT_AS_DYNAMIC_LIB=1 -DUSE_LEVELDB -DUSE_LMDB -DUSE_OPENCV -Iinclude -I. -IC:\Users\Administrator.caffe\dependencies\libraries_v140_x64_py27_1.1.0\libraries\include\boost-1_61 -IC:\Users\Administrator.caffe\dependencies\libraries_v140_x64_py27_1.1.0\libraries\include -IC:\Users\Administrator.caffe\dependencies\libraries_v140_x64_py27_1.1.0\libraries\include\opencv -I..\include -IC:\Users\Administrator.caffe\dependencies\libraries_v140_x64_py27_1.1.0\libraries\Include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /FS /MD /O2 /Ob2 /DNDEBUG /FS /showIncludes /Fotools\CMakeFiles\compute_image_mean.dir\compute_image_mean.cpp.obj /Fdtools\CMakeFiles\compute_image_mean.dir\ /FS -c ..\tools\compute_image_mean.cpp
C:\Users\Administrator.caffe\dependencies\libraries_v140_x64_py27_1.1.0\libraries\include\google/protobuf/message_lite.h(247): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据
.\caffe/export.hpp(7): fatal error C1083: 无法打开包括文件: “caffe/include_symbols.hpp”: No such file or directory
Same issue
Operating system:Win10 x64
Compiler: VS2015
CUDA version (if applicable):8.0
Python:3.5.4
CMake:3.10.2
ninjia: none
Same issue
OS: Win10 x64
Compiler: Visual Studio 2013
CUDA version: None (CPU Only build)
Python: 2.7.14 (Anaconda)
Cmake: 3.9.6
Ninja: 1.8.2
If you can read Chinese, maybe the blog here can help you. "https://blog.csdn.net/havefun00/article/details/81217286"
It seems we should use powershell instead of cmd.exe?
This helped me:
https://groups.google.com/forum/#!topic/caffe-users/kWuf4L0dwmM
If you can read Chinese, maybe the blog here can help you. "https://blog.csdn.net/havefun00/article/details/81217286"
I can read Chinese and this is going to be built without ninja, which is ridiculously slow.
was anyone able to solve this issue ?? In desperate need of caffe.
Thanks in advance.
I came up with a small work around. At least it finished without any errors
This include_symbols.hpp is being accessed in the file export.hpp in the DIR ./caffe/build/caffe
As there is no file in the project it is failing.
Apparently building using VS 2012 includes this file.
but my work around is that i have created an empty include_symbols.hpp file in the same DIR
_MIRACLE !!_
Most helpful comment
Intro
I came up with a small work around. At least it finished without any errors
Problem
This include_symbols.hpp is being accessed in the file export.hpp in the DIR
./caffe/build/caffe
As there is no file in the project it is failing.
Apparently building using VS 2012 includes this file.
My Solution
but my work around is that i have created an empty include_symbols.hpp file in the same DIR
_MIRACLE !!_