Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

current libprotobuf-dev is not what's needed for brodmann detector #1

Open
jeremy-rutman opened this issue Jul 4, 2018 · 0 comments

Comments

@jeremy-rutman
Copy link

jeremy-rutman commented Jul 4, 2018

it seems the latest libprotobuf-dev (3.0.0-9.1ubuntu1) is not what you actually require (2.6.1 it seems) and thus
sudo apt-get install libopenblas-dev libprotobuf-dev
won't avoid the following type problems , rather the dl from https://github.com/google/protobuf/releases/tag/v2.6.1 is necessary


jeremy:~/Brodmann17FaceDetector/example/build$  sudo apt-get install libopenblas-dev libprotobuf-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libprotobuf-dev is already the newest version (3.0.0-9.1ubuntu1).
libopenblas-dev is already the newest version (0.2.20+ds-4).
0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.



jeremy:~/Brodmann17FaceDetector/example/build$ make 
Scanning dependencies of target example
[ 50%] Building CXX object CMakeFiles/example.dir/example.cpp.o
[100%] Linking CXX executable example
/usr/bin/x86_64-linux-gnu-ld: warning: libprotobuf.so.9, needed by /home/jeremy/PycharmProjects/Brodmann17FaceDetector/lib/x86_64/libbrodmann17.so, not found (try using -rpath or -rpath-link)


jeremy:~/Brodmann17FaceDetector/example/build$ locate libprotobuf.so
/home/jeremy/sw/anaconda3/lib/libprotobuf.so
/home/jeremy/sw/anaconda3/lib/libprotobuf.so.15
/home/jeremy/sw/anaconda3/lib/libprotobuf.so.15.0.1
/home/jeremy/sw/anaconda3/pkgs/libprotobuf-3.5.2-h6f1eeef_0/lib/libprotobuf.so
/home/jeremy/sw/anaconda3/pkgs/libprotobuf-3.5.2-h6f1eeef_0/lib/libprotobuf.so.15
/home/jeremy/sw/anaconda3/pkgs/libprotobuf-3.5.2-h6f1eeef_0/lib/libprotobuf.so.15.0.1
/usr/lib/x86_64-linux-gnu/libprotobuf.so
/usr/lib/x86_64-linux-gnu/libprotobuf.so.10
/usr/lib/x86_64-linux-gnu/libprotobuf.so.10.0.0

after dl of v2.6.1, compilation, and ldconfig , it runs fine. nice job, do you have stats on standard datasets?

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

No branches or pull requests

1 participant