-
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
Fatal error C1017 when compile on windows #6466
Comments
@ycui123 Hi, did you solve this problem? I'm same here. |
@ycui123 @Noiredd see #5994, since cuda7.5 it use
|
For people who met this problem when build caffe with cmake and cuda on windows, you can refer to my Chinese blog for the whole successful steps: Windows下用cmake编译Caffe |
@mlosab3 I didn't use ck tools, since I was on half way of using willyd's provided dependencies. With some modifications in cmake related config files, I can successfully build the windows branch of caffe, you may refer to my blog. |
@zchrissirhcz - my school started using Ck because it detects or installs all required software for windows branch of caffe without the need to modify config files - that's neat. It is also recommended by several conferences where we publish our papers. Check it out at http://www.cknowledge.org |
@mlosab3 Thanks for you recommendation on Ck. Actually, I think the official Caffe's windows branch is not that hard to be configured, but forks such as SSD or faster rcnn are difficult, especially on windows. To use the original user's code, I think I still need to use Linux instead of Windows. |
@zchrissirhcz - that's right. We were suggested to use ck mainly because we do not have much time and have to concentrate on improving classification for our assignment rather than on installing Caffe. Ck just provided the same "front end" for all students to install Caffe on laptops with different operating systems. But we did not yet look at other forks so I actually do not know how or if they are supported by the ck. |
Issue summary
Fatal error C1017 when compile on windows. Can't compile
Steps to reproduce
Followed the instruction. Failed at scripts\build_win.cmd.
System configuration
Issue checklist
"E:\caffe\build\ALL_BUILD.vcxproj" (default target) (1) ->
"E:\caffe\build\src\caffe\caffe.vcxproj" (default target) (3) ->
(CustomBuild target) ->
C:/Users/Jack/.caffe/dependencies/libraries_v140_x64_py35_1.1.0/libraries/include/boost-1_61\boost/config/compiler/nv
cc.hpp(22): fatal error C1017: invalid integer constant expression [E:\caffe\build\src\caffe\caffe.vcxproj]
The text was updated successfully, but these errors were encountered: