LAB icon indicating copy to clipboard operation
LAB copied to clipboard

make error

Open dg618k opened this issue 6 years ago • 3 comments
trafficstars

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 avatar Dec 04 '18 09:12 dg618k

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

dg618k avatar Dec 04 '18 10:12 dg618k

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);

hugohong200410 avatar Mar 27 '19 15:03 hugohong200410

nvcc fatal : Unsupported gpu architecture 'compute_70'

JsBlueCat avatar Jun 13 '19 10:06 JsBlueCat