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

Unable to compile due to caffe realted issues #22

Open
tapatupa opened this issue Mar 28, 2019 · 0 comments
Open

Unable to compile due to caffe realted issues #22

tapatupa opened this issue Mar 28, 2019 · 0 comments

Comments

@tapatupa
Copy link

I've properly followed your readme steps and while trying to build the detector, I've encountered
some recurring problems regarding the caffe framework.

e.g.:
src/caffe/net.cpp:29:1: error: prototype for ‘caffe::Net::Net(const caffe::NetParameter&, const caffe::Net)’ does not match any in class ‘caffe::Net’
Net::Net(const NetParameter& param, const Net
root_net)
^
In file included from src/caffe/net.cpp:11:0:
/usr/local/include/caffe/net.hpp:339:1: error: candidates are: caffe::Net::Net(const caffe::Net&)
DISABLE_COPY_AND_ASSIGN(Net);
^
In file included from src/caffe/net.cpp:13:0:
/usr/local/include/caffe/net.hpp:27:12: error: caffe::Net::Net(const string&, caffe::Phase, int, const std::vector<std::__cxx11::basic_string >)
explicit Net(const string& param_file, Phase phase,
^
/usr/local/include/caffe/net.hpp:26:12: error: caffe::Net::Net(const caffe::NetParameter&)
explicit Net(const NetParameter& param);
^
src/caffe/net.cpp:35:1: error: prototype for ‘caffe::Net::Net(const string&, caffe::Phase, int, const std::vector<std::__cxx11::basic_string >
, const caffe::Net)’ does not match any in class ‘caffe::Net’
Net::Net(const string& param_file, Phase phase,
^
In file included from src/caffe/net.cpp:11:0:
/usr/local/include/caffe/net.hpp:339:1: error: candidates are: caffe::Net::Net(const caffe::Net&)
DISABLE_COPY_AND_ASSIGN(Net);
^
In file included from src/caffe/net.cpp:13:0:
/usr/local/include/caffe/net.hpp:27:12: error: caffe::Net::Net(const string&, caffe::Phase, int, const std::vector<std::__cxx11::basic_string >
)
explicit Net(const string& param_file, Phase phase,
^
/usr/local/include/caffe/net.hpp:26:12: error: caffe::Net::Net(const caffe::NetParameter&)

I do believe I've followed your steps correctly, hence I have some questions:

  • Is this a known problem?
  • What version of caffe are you guys using?
  • Am I perhaps missing out on some libraries that aren't explicitly mentioned within your readme?

thanks in advance!

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

1 participant