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

make error #28

Open
dg618k opened this issue Dec 4, 2018 · 3 comments
Open

make error #28

dg618k opened this issue Dec 4, 2018 · 3 comments

Comments

@dg618k
Copy link

dg618k commented Dec 4, 2018

Hi @wywu
I'm really interesting about your method and great result represented in your paper.
I'd like to reproduce your code, but I get errors when make it.
What I have done is "make all -j4" in the Home directory.
What I get is
"src/caffe/alignment_tools/io.cpp: In function ‘void alignment_tools::ReadImageLabelList(const string&, const int&, std::vector<std::__cxx11::basic_string >&, std::vector<std::vector >&)’:
src/caffe/alignment_tools/io.cpp:52:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, max_path, fp);
"
and
"Makefile:572: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed"
Although, it's a negligible problem, I hope you or anyone else can give me some help.
My system is Ubuntu 16.04, with gcc-5.4, cuda-8.0.
thx.

@dg618k
Copy link
Author

dg618k commented Dec 4, 2018

I've solved it by alter Makefile.config and Makefile.
thank anyway

@hugohong200410
Copy link

Hi @dg618k
I have faced this error as well, can you let me know what did you alter in Makefile.config and Makefile exactly? Many thanks

"src/caffe/alignment_tools/io.cpp: In function ‘void alignment_tools::ReadImageLabelList(const string&, const int&, std::vector<std::__cxx11::basic_string >&, std::vector<std::vector >&)’:
src/caffe/alignment_tools/io.cpp:52:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, max_path, fp);

@JsBlueCat
Copy link

nvcc fatal : Unsupported gpu architecture 'compute_70'

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