-
Notifications
You must be signed in to change notification settings - Fork 318
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 convert_imageset_and_flow.cpp failed #28
Comments
Might be an issue with |
Thank you for replying. I run 'apt-cache policy libleveldb-dev | grep "Installed"' in my terminal, and the output of it is nothing. Is there something wrong? |
Ah sorry, you might be on another OS language. Just run |
libleveldb-dev: |
Hm, that's fine. Can you please run |
CXX tools/compute_image_mean.cpp
|
Thanks for the translation ;) |
CXX .build_release/src/caffe/proto/caffe.pb.cc
|
And I have install another caffe before, is it an influence? |
If your environment variables and paths do not include anything from your previous Caffe installation, it should not be a problem. But I am a little confused. In any case, you do not need the |
Sorry for don't say it clearly. The first leveldb error is the result of running 'make all' , and compute_image_mean can builds without problem. The caffe.pb.h error is the result of running 'VERBOSE=1 make tools', I also don't why this two kinds of error occurred. |
I also don't really understand why I don't think you need to reinstall leveldb (but you can try it, of course!). Your installed version is ok, it's also the one used in https://github.com/lmb-freiburg/flownet2-docker. But if you have another leveldb installation somewhere, that might interfere. Sorry, but I can't really help any more here. |
You have helped me a lot. Thank you very much. |
In file included from ./include/thirdparty/CImg/CImg.h:361:0,
from tools/convert_imageset_and_flow.cpp:38:
tools/convert_imageset_and_flow.cpp: In function ‘int main(int, char**)’:
tools/convert_imageset_and_flow.cpp:373:14: error: expected unqualified-id before ‘int’
leveldb::Status status = leveldb::DB::Open(options, argv[arg_offset+2], &db);
^
In file included from tools/convert_imageset_and_flow.cpp:18:0:
tools/convert_imageset_and_flow.cpp:374:11: error: ‘status’ was not declared in this scope
CHECK(status.ok()) << "Failed to open leveldb " << argv[arg_offset+2];
^
tools/convert_imageset_and_flow.cpp:374:11: note: suggested alternatives:
In file included from /usr/include/boost/filesystem.hpp:17:0,
from ./include/caffe/util/io.hpp:4,
from tools/convert_imageset_and_flow.cpp:36:
/usr/include/boost/filesystem/operations.hpp:396:15: note: ‘boost::filesystem::status’
file_status status(const path& p, system::error_code& ec)
^
/usr/include/boost/filesystem/operations.hpp:320:17: note: ‘boost::filesystem::detail::status’
file_status status(const path&p, system::error_code* ec=0);
^
Makefile:581: recipe for target '.build_release/tools/convert_imageset_and_flow.o' failed
make: *** [.build_release/tools/convert_imageset_and_flow.o] Error 1
make: *** 正在等待未完成的任务....
I have tried to compile this code in ubuntu 16.04 with cuda 8.0 and gcc 5, this error happened, and I have no idea how to solve it? please help me , thank you!
The text was updated successfully, but these errors were encountered: