Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

[Gazebo9] Fixed fails for OSX: Added using namespace boost::placeholders #2809

Merged
merged 8 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/stand_alone/custom_main_pkgconfig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ link_directories(${GAZEBO_LIBRARY_DIRS})

add_executable(custom_main custom_main.cc)
target_link_libraries(custom_main ${GAZEBO_LIBRARIES})

target_link_directories(custom_main PUBLIC ${Boost_LIBRARY_DIRS})
ahcorde marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions gazebo/gui/model/ModelTreeWidget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#include "gazebo/gui/model/ModelPluginInspector.hh"
#include "gazebo/gui/model/ModelTreeWidget.hh"

#ifdef __APPLE__
chapulina marked this conversation as resolved.
Show resolved Hide resolved
using namespace boost::placeholders;
#endif
using namespace gazebo;
using namespace gui;

Expand Down
3 changes: 3 additions & 0 deletions gazebo/gui/model/SchematicViewWidget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
#include "gazebo/gui/model/ModelEditorEvents.hh"
#include "gazebo/gui/model/SchematicViewWidget.hh"

#ifdef __APPLE__
using namespace boost::placeholders;
#endif
using namespace gazebo;
using namespace gui;

Expand Down
4 changes: 3 additions & 1 deletion test/plugins/ForceTorqueModelRemovalTestPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

#include "gazebo/sensors/ForceTorqueSensor.hh"


#ifdef __APPLE__
using namespace boost::placeholders;
#endif
using namespace gazebo;

GZ_REGISTER_SENSOR_PLUGIN(ForceTorqueModelRemovalTestPlugin)
Expand Down