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

Open
yplypl opened this Issue Feb 6, 2018 · 5 comments

Comments

Projects
None yet
7 participants
@yplypl
Copy link

yplypl commented Feb 6, 2018

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

@Noiredd Noiredd added the windows label Feb 6, 2018

@adizhol

This comment has been minimized.

Copy link

adizhol commented Feb 10, 2018

Same issue

Operating system:Win10 x64
Compiler: VS2015
CUDA version (if applicable):8.0
Python:3.5.4
CMake:3.10.2
ninjia: none

@yudf2010

This comment has been minimized.

Copy link

yudf2010 commented Feb 28, 2018

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

@havefun007

This comment has been minimized.

Copy link

havefun007 commented Jul 26, 2018

If you can read Chinese, maybe the blog here can help you. "https://blog.csdn.net/havefun00/article/details/81217286"

@zchrissirhcz

This comment has been minimized.

Copy link

zchrissirhcz commented Aug 24, 2018

It seems we should use powershell instead of cmd.exe?

@russoen

This comment has been minimized.

Copy link

russoen commented Sep 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment