Comments (8)
Hi Mayur,
thanks for posting what works. I'll include the line
cmake .. -DCMAKE_INSTALL_PREFIX=~/g2ofork/install -DG2O_BUILD_EXAMPLES=OFF
in the README.
The below part of your error message shows that the compiler uses the headers of the ros-kinetic-libg2o package. Please try to use the BEFORE parameter in CMakeLists.txt line 92, so that it reads
include_directories(BEFORE SYSTEM ${G2O_INCLUDE_DIR} ${G2O_INCLUDE_DIRS})
.
If that doesn't work (I would be very interested to know whether it does), I guess you must uninstall ros-kinetic-libg2o.
In file included from /usr/include/c++/5/unordered_map:35:0,
from /opt/ros/kinetic/include/g2o/core/hyper_graph.h:38,
from /opt/ros/kinetic/include/g2o/core/optimizable_graph.h:38,
from /opt/ros/kinetic/include/g2o/core/sparse_optimizer.h:32,
from /home/atros/rgbdslam_v2/build/rgbdslam_v2/src/../../../src/rgbdslam_v2/src/graph_manager.h:58,
from /home/atros/rgbdslam_v2/build/rgbdslam_v2/src/../../../src/rgbdslam_v2/src/openni_listener.h:31,
from /home/atros/rgbdslam_v2/build/rgbdslam_v2/src/moc_openni_listener.cpp:9:
from rgbdslam_v2.
Hi,
For the g2o make, I would like to inform that if the package libqglviewer-dev package (which is based on qt5) is present then it breaks the compilation. I removed it and the g++03 fork worked.
I tried the BEFORE argument but it didnt work. I had compiled the g2ofork without the ros-kinetic-libg2o. I tried catkin_make with and without the ros-kinetic-libg2o but in both the cases the same result.
from rgbdslam_v2.
I'm having the same issue. Can you explain exactly what you did? Did you compile g2o separately? How? What is the g++03 fork?
To be clear, I'm getting the #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
errors.
from rgbdslam_v2.
@mayurand, interesting. If the BEFORE didn't work, I have no idea other than uninstalling.
@anuppari, the g2o c++03 fork removes features only available in c++11, the C++ 2011 standard and therefore falls back to the 2003 standard c++03. Apparently this is necessary to link g2o and boost (which pcl uses) to the same binary, i.e., rgbdslam_v2.
from rgbdslam_v2.
from rgbdslam_v2.
@felixendres Thanks for your support. I tried to force the std c++11 by setting compiler in Cmakelists.txt (line 35). It did build the package but the run file does not execute. That results in segementation fault.
from rgbdslam_v2.
@mayurand, that is exactly why the c++03 fork exists.
from rgbdslam_v2.
I have added an install script for the kinetic brachn, that should help you. Have a look at the section "Installation from scratch" in README.md.
from rgbdslam_v2.
Related Issues (20)
- what(): Time is out of dual 32-bit range (using rosbag)
- g2ofork build isuue HOT 1
- Running rgbd slam v2 on sequence of images/frames from video
- can not compile due to /usr/bin/ld: cannot find -lIL HOT 1
- Problem
- CMake Error:_SOLVER_CHOLMOD_LIB notfound HOT 1
- rgbdslam_v2 shutdown when receiving images
- docker image can be nice HOT 1
- Nothing is being published on /rgbdslam/batch_clouds HOT 1
- error: call of overloaded ‘round(float)’ is ambiguous HOT 2
- Is /imu topic used when I run rosluanch rgbdslam.lauch? HOT 2
- Error while loading shared libraries: libg2o_ext_freeglut_minimal.so: cannot open shared object file: No such file or directory HOT 3
- With the topics set according to kinect v2 node, Nothing show on GUI HOT 1
- error: no matching function for call to ‘g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::BlockSolver(g2o::BlockSolver<g2o::BlockSolverTraits<-1, -1> >::LinearSolverType*&)’ = new g2o::BlockSolverX(linearSolver); HOT 1
- GlobalUtil.cpp:(.text._ZN10LiteWindowD2Ev[_ZN10LiteWindowD5Ev]+0x43):undefined reference to `__glutInit
- REQUIRED process [rgbdslam-25] has died! HOT 3
- Breaking detection iterations, because of missing depth HOT 3
- could you please supply a docker image? HOT 1
- ubuntu16.04 ROSkinetic collect2: error: ld returned 1 exit status makefile:169: recipe for target 'siftgpu' failed make[3]: *** [siftgpu] Error 1 HOT 1
- Using a monocular camera to run rgbdslamv2 HOT 5
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 rgbdslam_v2.