-
Notifications
You must be signed in to change notification settings - Fork 843
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
/usr/bin/ld: cannot find -lPUBLIC #168
Comments
I do not know how the library 'PUBLIC' is getting into the linker string - I've not seen this before. Can you share your build/src/PangolinTargets.cmake file? |
Hello,I find some PUBLIC in files :
I think 'PUBLIC' do not means library here, because when I remove those PUBLIC, all things go well. |
In that case, you may wish to revert to the last tagged version of On Tue, Nov 1, 2016, 9:38 PM KevenLee notifications@github.com wrote:
|
some error happen after I removed 'PUBLIC'. I run ORB-SLAM2 with pangolin. terminate called after throwing an instance of 'std::runtime_error' Can you tell me how to fix it? Thanks |
See my reply to your comment posted here: #74 |
Regarding your original post, I believe I should have just fixed that with commit f807ff7 |
I update the pangolin codes now, but, if I do not remove 'PUBLIC' in the files I mentioned before, I still find something are wrong as following: Linking CXX shared library libpangolin.so OS: ubuntu 12.04
|
Oops - sorry! I found it in exactly one file which I have just corrected in 4c67c63 That is the one reference you're referring too, right? It was causing you trouble because your version of cmake must be quite old. |
Hello, when I compiler the pangolin in ubuntu12.04, I encounter those error:
[ 80%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/v4l.cpp.o
[ 82%] Building C object src/CMakeFiles/pangolin.dir/fonts.c.o
Linking CXX shared library libpangolin.so
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
/usr/bin/ld: cannot find -lPUBLIC
collect2: error: ld returned 1 exit status
make[2]: *** [src/libpangolin.so] Error 1
make[1]: *** [src/CMakeFiles/pangolin.dir/all] Error 2
how should I do.
The text was updated successfully, but these errors were encountered: