Comments (3)
Yes, i had the same mistake.
How i solved that:
sudo apt-get install libgoogle-glog-dev libgflags-dev
Then, you need find libgflags.so in /usr/lib/ this file (for me it was /usr/lib/x86_64-linux-gnu/libgflags.so), and make link to /home/upboard/svo_install_ws/install/lib/
ln -s /usr/lib/x86_64-linux-gnu/libgflags.so /home/upboard/svo_install_ws/install/lib/
Then you need to do same for libglog.so
And again build you svo_ros.
If it will build, for start SVO2 i writing:
LD_PRELOAD=/home/zichao/svo_install_ws/install/lib/libgflags.so.2.2.1 roslaunch svo_ros launch_name.launch
If don't use LD_PRELOAD, you will have mistake.
from rpg_svo_example.
I used your method and successfully built it in my machine.
Now I can't run the examples,as it shows error. I already tried using the way wrote:
LD_PRELOAD=/home/bikram/svo_install_ws/install/lib/libgflags.so.2.2.1 roslaunch svo_ros launch_name.launch
It just shows an error:
auto-starting new master
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
process[master]: started with pid [23622]
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 03e49b90-4526-11e8-9274-9cb6d0177e71
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
process[rosout-1]: started with pid [23635]
started core service [/rosout]
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
process[svo-2]: started with pid [23653]
/home/bikram/svo_install_overlay_ws/devel/lib/svo_ros/svo_node: error while loading shared libraries: libgflags.so.2.2: cannot open shared object file: No such file or directory
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
process[vis-3]: started with pid [23654]
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
process[svo_gui-4]: started with pid [23655]
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[svo-2] process has died [pid 23653, exit code 127, cmd /home/bikram/svo_install_overlay_ws/devel/lib/svo_ros/svo_node __name:=svo __log:=/home/bikram/.ros/log/03e49b90-4526-11e8-9274-9cb6d0177e71/svo-2.log].
log file: /home/bikram/.ros/log/03e49b90-4526-11e8-9274-9cb6d0177e71/svo-2*.log
ERROR: ld.so: object 'svo_install_ws/install/lib/libgflags.so.2.2.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Any idea what is wrong :(
from rpg_svo_example.
Hey I deleted the two files because they're only text-files containing the lib's name:
file /home/localadmin/svo_install_ws/install/lib/libgflags.so
/home/localadmin/svo_install_ws/install/lib/libgflags.so: ASCII text, with no line terminators
If you compare them to another one you'll see the difference:
file /home/localadmin/svo_install_ws/install/lib/libvikit_ros.so
/home/localadmin/svo_install_ws/install/lib/libvikit_ros.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=3dfc6fd2293a152d5ad4a9dee6dd3f5bb38213e7, not stripped
so I deleted libglog.so and libgflag.so and did the symbolic links:
ln -s /usr/lib/x86_64-linux-gnu/libglog.so /home/localadmin/svo_install_ws/install/lib/libglog.so
ln -s /usr/lib/x86_64-linux-gnu/libgflags.so /home/localadmin/svo_install_ws/install/lib/libgflags.so
afterwards the catkin build
was working for me.
from rpg_svo_example.
Related Issues (20)
- Assertion error while running SVO in Gazebo HOT 3
- Error while running my own bag file in SVO
- SVO-Docker integration
- Features disappears with 'Not enough matched features' and 'DepthFilter: RESET
- Different Opencv version
- Check failed issue (Mono+IMU)
- Catkin build fails HOT 3
- In a Stereo cameras + IMU setup what topic publishes the odometry taking into account sensor fusion ?
- Source code
- ROS Melodic release?
- FPS of image show in RVIZ is lower than the fps of the image publish from the camera HOT 1
- error adding symbols: File in wrong format HOT 1
- Build for Ubuntu 18 + ROS Melodic HOT 6
- Opencv Issue
- catkin build error regarding FeatureWrapper
- No Features Tracked on TartanAir
- caktin build error (Docker) HOT 1
- arm32 build fails HOT 2
- Option to turn BA on and off ?
- Query about IMU measure in VIO supported by your SVO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpg_svo_example.