Skip to content
This repository has been archived by the owner. It is now read-only.

Parse error at "BOOST_JOIN" with Boost 1.58 in moveit_ros/visalization package #653

Closed
enricovillagrossi opened this issue Mar 11, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@enricovillagrossi
Copy link

commented Mar 11, 2016

ERROR:
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"

appear compiling visulization package.
It seems to be a known problem as reported here:
stonier/qt_ros#8
#399

already fixed after 0.5.13 (2014-02-06), but I still have the same problem, some workarounds proposed:
https://bugreports.qt.io/browse/QTBUG-22829

don't work for me. I'm trying to compiling both indigo-devel and jade-devel under debian/stretch with Boost 1.58 and Qt4 4.8.
Can anyone help me?
Thank you in advance!

Enrico

@nikhilkalige

This comment has been minimized.

Copy link

commented Apr 5, 2016

@enricovillagrossi

Make the following changes in files
trajectory_rviz_plugin/include/..../trajectory_display.h

#ifndef MOVEIT_TRAJECTORY_RVIZ_PLUGIN__TRAJECTORY_DISPLAY
#define MOVEIT_TRAJECTORY_RVIZ_PLUGIN__TRAJECTORY_DISPLAY

#include <rviz/display.h>

#include <moveit/rviz_plugin_render_tools/trajectory_visualization.h>
#ifndef Q_MOC_RUN
#include <ros/ros.h>
#include <moveit/rdf_loader/rdf_loader.h>
#endif

rviz_plugin_render_tools/include/..../trajectory_visualization


#ifndef MOVEIT_TRAJECTORY_RVIZ_PLUGIN__TRAJECTORY_VISUALIZATION
#define MOVEIT_TRAJECTORY_RVIZ_PLUGIN__TRAJECTORY_VISUALIZATION

#include <moveit/macros/class_forward.h>
#include <rviz/display.h>

#ifndef Q_MOC_RUN
#include <moveit/rviz_plugin_render_tools/robot_state_visualization.h>
#include <ros/ros.h>
#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_state/robot_state.h>
#include <moveit/robot_trajectory/robot_trajectory.h>
#include <moveit_msgs/DisplayTrajectory.h>
#endif

namespace rviz

I was able to compile after this, but I am not sure if that is the right way of adding #ifndef.

@enricovillagrossi

This comment has been minimized.

Copy link
Author

commented Apr 6, 2016

Thank you @nikhilkalige !
Your suggestion fix the problem.

Enrico

@davetcoleman

This comment has been minimized.

Copy link
Member

commented Apr 12, 2016

pull request?

davetcoleman added a commit that referenced this issue Apr 28, 2016

Merge pull request #666 from Thomqa/jade-devel
Solved parse error with Boost 1.58. Fixes #653

otamachan pushed a commit to otamachan/moveit_ros that referenced this issue Oct 22, 2017

otamachan pushed a commit to otamachan/moveit_ros that referenced this issue Oct 22, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.