run autoconf in src folder
./configure --with-features=huge --prefix=`pwd`/build --enable-python3interp=yes --with-python3-config-dir=/Users/karsten/.pyenv/versions/3.7.4/lib/python3.7/config-3.7m-darwin/
repositories: | |
ros2/rosbag2_bag_v2: | |
type: git | |
url: https://github.com/ros2/rosbag2_bag_v2.git | |
version: master |
#include <iostream> | |
using namespace std; | |
struct Callable | |
{ | |
void operator()(std::string s) { cout << "call my struct with " << s << endl; } | |
}; | |
struct Assignable | |
{ |
run autoconf in src folder
./configure --with-features=huge --prefix=`pwd`/build --enable-python3interp=yes --with-python3-config-dir=/Users/karsten/.pyenv/versions/3.7.4/lib/python3.7/config-3.7m-darwin/
repositories: | |
eclipse/iceoryx: | |
type: git | |
url: https://github.com/eclipse/iceoryx.git | |
version: master |
repositories: | |
ros-controls/ros2_control: | |
type: git | |
url: https://github.com/ros-controls/ros2_control.git | |
version: master | |
ros-controls/ros2_controllers: | |
type: git | |
url: https://github.com/ros-controls/ros2_controllers.git | |
version: master | |
ros-controls/realtime_tools: |
from here: https://stackoverflow.com/a/28878360/4583130 | |
template <class T, class A = std::allocator<T>> | |
struct FixedVector : private std::vector<T, A> | |
{ | |
using FixedVector::vector::vector; | |
using FixedVector::vector::operator=; | |
using FixedVector::vector::get_allocator; | |
using FixedVector::vector::at; | |
using FixedVector::vector::front; |
One debian systems, there are pre-compiled toolchains, for OSX however they have to be built from scratch. A decent tool for creating such toolchains is crosstool-ng.
Compilation Note there's a problem with having ncurses installed via homebrew. Add the libs and include paths to LDFLAGS/CXXFLAGS before the configure step For python problems on gdb, see https://stackoverflow.com/a/11600411/4583130
repositories: | |
ament/ament_cmake: | |
type: git | |
url: https://github.com/ament/ament_cmake.git | |
version: master | |
ament/ament_index: | |
type: git | |
url: https://github.com/ament/ament_index.git | |
version: master | |
ament/ament_lint: |
repositories: | |
ros-controls/ros2_control: | |
type: git | |
url: https://github.com/Ace314159/ros2_control.git | |
version: master | |
ros-controls/ros2_controllers: | |
type: git | |
url: https://github.com/Ace314159/ros2_controllers.git | |
version: master | |
control_msgs: |