-
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
Branch:windows, build_win.cmd failed with error:“caffe/include_symbols.hpp”: No such file or directory #6215
Comments
Same issue Operating system:Win10 x64 |
Same issue OS: Win10 x64 |
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: |
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. |
IntroI came up with a small work around. At least it finished without any errors ProblemThis include_symbols.hpp is being accessed in the file export.hpp in the DIR My Solutionbut my work around is that i have created an empty include_symbols.hpp file in the same DIR |
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
build.log
CMakeCache.txt
The text was updated successfully, but these errors were encountered: