Giter Club home page Giter Club logo

Comments (4)

gareth-cross avatar gareth-cross commented on July 21, 2024

If you change it to -std=c++0x - does that resolve the issue?

from rviz_satellite.

dani-carbonell avatar dani-carbonell commented on July 21, 2024

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.

gareth-cross avatar gareth-cross commented on July 21, 2024

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.

dani-carbonell avatar dani-carbonell commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.