ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I was also able to compile make it work with MATLAB 2016b and Boost 1.56 on 64-bit machine. First, I compiled ROS from source with Boost 1.56 using the following tutorial: http://answers.ros.org/question/196227/compiling-win_ros-hydro-on-windows7-64bit-with-vs2013-x64/ Then, I compiled the .cpp file with the following command in MATLAB: mex ROS_sub.cpp stdafx.cpp dllmain.cpp -IC:/opt/rosdeps/hydro/x64/include/ -IC:/opt/ros/hydro/x64/include/ -I. -LC:/opt/rosdeps/hydro/x64/lib/ -LC:/opt/ros/hydro/x64/lib/ -DROS_BUILD_SHARED_LIBS=1 -lroscpp -lroscpp_serialization -lrosconsole -lrostime
2 | No.2 Revision |
I was also able to compile make it work with MATLAB 2016b and Boost 1.56 on 64-bit machine. First, I compiled ROS from source with Boost 1.56 using the following tutorial: http://answers.ros.org/question/196227/compiling-win_ros-hydro-on-windows7-64bit-with-vs2013-x64/
Then, I compiled the .cpp file with the following command in MATLAB: mex ROS_sub.cpp stdafx.cpp dllmain.cpp -IC:/opt/rosdeps/hydro/x64/include/ -IC:/opt/ros/hydro/x64/include/ -I. -LC:/opt/rosdeps/hydro/x64/lib/ -LC:/opt/ros/hydro/x64/lib/ -DROS_BUILD_SHARED_LIBS=1 -lroscpp -lroscpp_serialization -lrosconsole -lrostime