Comments (4)
If you change it to -std=c++0x
- does that resolve the issue?
from rviz_satellite.
I've modified this line in the CMakeLists.txt:
add_definitions("-Wall -Wunused -std=c++0x")
and I get this errors:
####
#### Running command: "make -j8 -l8" in "/home/dardo/catkin_ws/build"
####
[ 16%] [ 50%] [ 50%] [ 66%] Building CXX object rviz_satellite/CMakeFiles/rviz_satellite.dir/src/tileloader.cpp.o
Building CXX object rviz_satellite/CMakeFiles/rviz_satellite.dir/src/moc_tileloader.cxx.o
Building CXX object rviz_satellite/CMakeFiles/rviz_satellite.dir/src/aerialmap_display.cpp.o
Building CXX object rviz_satellite/CMakeFiles/rviz_satellite.dir/src/moc_aerialmap_display.cxx.o
In file included from /usr/include/boost/signals/connection.hpp:13:0,
from /usr/include/boost/signals/signal_template.hpp:18,
from /usr/include/boost/signals/signal0.hpp:24,
from /usr/include/boost/signal.hpp:19,
from /usr/include/boost/signals.hpp:9,
from /opt/ros/hydro/include/tf/tf.h:45,
from /opt/ros/hydro/include/tf/transform_listener.h:38,
from /home/dardo/catkin_ws/src/rviz_satellite/src/aerialmap_display.cpp:27:
/usr/include/boost/signals/detail/signals_common.hpp:26:13: error: expected identifier before ‘protected’
/usr/include/boost/signals/detail/signals_common.hpp:26:13: error: expected unqualified-id before ‘protected’
In file included from /usr/include/boost/units/detail/utility.hpp:20:0,
from /usr/include/boost/exception/detail/type_info.hpp:19,
from /usr/include/boost/exception/detail/object_hex_dump.hpp:15,
from /usr/include/boost/exception/to_string_stub.hpp:16,
from /usr/include/boost/exception/info.hpp:16,
from /usr/include/boost/exception/detail/exception_ptr.hpp:20,
from /usr/include/boost/exception_ptr.hpp:9,
from /usr/include/boost/thread/future.hpp:14,
from /usr/include/boost/thread.hpp:24,
from /opt/ros/hydro/include/tf/transform_listener.h:43,
from /home/dardo/catkin_ws/src/rviz_satellite/src/aerialmap_display.cpp:27:
/usr/include/c++/4.6/cxxabi.h:47:37: error: expected ‘}’ before end of line
/usr/include/c++/4.6/cxxabi.h:47:37: error: expected declaration before end of line
make[2]: *** [rviz_satellite/CMakeFiles/rviz_satellite.dir/src/aerialmap_display.cpp.o] Error 1
make[1]: *** [rviz_satellite/CMakeFiles/rviz_satellite.dir/all] Error 2
make: *** [all] Error 2
Invoking "make" failed
Which ROS version are you using?
from rviz_satellite.
I am using Indigo (1.11.10) on Ubuntu 14.04, with gcc 4.8.2. I do not have a Hydro machine handy at the moment. Historically I have had difficulty using the c++11 switch on Ubuntu 12, since it requires upgrading both gcc and boost.
from rviz_satellite.
Thank you gareth for the fast answer.
I've just installed the package on Ubuntu 14.04 - Indigo and it compiles perfect. If I am able to install it on hydro I will let you know. By the moment I am interested in the functionality so I am testing it on Indigo.
from rviz_satellite.
Related Issues (20)
- ERROR: Not enough arguments HOT 2
- Failed to load plugin 'AerialMapDisplay' HOT 6
- sample.bag not showing path
- The plugin for class 'rviz_plugins/AerialMapDisplay' failed to load. HOT 6
- Fail to complie on kinetic HOT 2
- [ROS2] MAP_FRAME hardcoded to "map"
- 100% CPU usage
- About source frame error.
- Drawn map is shaking with map as fixed frame
- Error: Unable to decode image at http://a.tiles.mapbox.com
- Adding SLAM maps is inconsistent with Google Maps HOT 4
- RVIZ crash while I change the {x}{y}{z} in tile URL HOT 1
- can't launch demo in ros2 HOT 2
- ros2 qos incompatible HOT 1
- Dynamically reload option HOT 1
- Error transferring https://maps.wikimedia.org/osm-intl/18/76323/99291.png HOT 1
- confusion between TF HOT 3
- [BUG] Tiles are shifting when the robot moves from one tile to the next tile HOT 9
- Load images from computer HOT 1
- ROS2 support 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 rviz_satellite.