Skip to content
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

problem about the compile #32

Open
Lvhhhh opened this issue Nov 11, 2016 · 4 comments
Open

problem about the compile #32

Lvhhhh opened this issue Nov 11, 2016 · 4 comments

Comments

@Lvhhhh
Copy link

Lvhhhh commented Nov 11, 2016

hi,
when i compile the libcaffe.
i have many problem about the boost
my cuda is 7.5 ,my cudnn is v4 . in win7
do you have the same problem?
please help me

@bluekingdom
Copy link

I met the some problem about boost when compile file detection_output_layer.cu/cpp.
it seem like boost regex is not work in vs2013, so delete code relate to
#include <boost/regex.hpp>
and then this error gone.
hope it can help u

@zhubuntu
Copy link

@bluekingdom I tried what you said and it worked. But it report

error : expected an identifier in caffe.pb.h 

when compile the bbox_util.cu, do you know how to solve this problem?

@bluekingdom
Copy link

@zhubuntu it may be caused by conflicting about an variable named STRICT,you can solve by:

  1. add a marco control at caffe.pb.h
    #if _MSC_VER #undef STRICT #endif
  2. delete the code that generate the caffe.pb.h/cc in ProtoCompile.cmd.
    :: move /y "%PROTO_TEMP_DIR%\caffe.pb.h" "%INCLUDE_PROTO_DIR%\caffe.pb.h" :: move /y "%PROTO_TEMP_DIR%\caffe.pb.cc" "%SRC_PROTO_DIR%\caffe.pb.cc"

@zhubuntu
Copy link

zhubuntu commented Dec 9, 2016

@bluekingdom thank you very much, it can works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants