Skip to content

Commit

Permalink
Merge branch 'martinmagnusson-build-dependencies'
Browse files Browse the repository at this point in the history
  • Loading branch information
MalcolmMielle committed May 24, 2022
2 parents c2f7fa0 + 9c9a415 commit 3c0d812
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
25 changes: 25 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# source /opt/ros/melodic/setup.bash

# RUN THIS SCRIPT FROM `your-workspace/src/`
vcs import < Auto-Complete-Graph/rosinstall
sudo apt update
rosdep install --from-paths . --ignore-src -r -y

# Stop g2o from complaining about old cmake version
g2o_cmake="libraries/g2o/CMakeLists.txt"
if [ -f $g2o_cmake ]
then
sed -ie '/cmake_minimum_required/s/3.14/3.10/' $g2o_cmake
else
echo -e "\e[31mWhere is $g2o_cmake?\e[0m"
fi

pushd libraries/BetterGraph && mkdir -p build && cd build && cmake .. && sudo make install
popd
pushd libraries/VoDiGrEx && mkdir -p build && cd build && cmake .. && sudo make install
popd
pushd libraries/g2o && mkdir -p build && cd build && cmake .. && sudo make install
popd

catkin build
45 changes: 45 additions & 0 deletions rosinstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#-*-yaml-*-
repositories:
# non-catkin stuff
libraries/BetterGraph:
type: git
url: https://github.com/MalcolmMielle/BetterGraph.git
version: master
libraries/VoDiGrEx:
type: git
url: https://github.com/MalcolmMielle/VoDiGrEx.git
version: master
libraries/g2o:
type: git
url: https://github.com/RainerKuemmerle/g2o.git
version: master

# catkin stuff
occupancy_grid_utils:
type: git
url: https://github.com/clearpathrobotics/occupancy_grid_utils.git
version: indigo-devel # noetic-devel
octomap:
type: git
url: https://github.com/OctoMap/octomap.git
version: master
velodyne_pointcloud_oru:
type: git
url: https://github.com/dan11003/velodyne_pointcloud_oru.git
version: master
graph_map_public:
type: git
url: https://gitsvn-nt.oru.se/software/graph_map_public.git
version: merging
grid_map:
type: git
url: https://github.com/ANYbotics/grid_map.git
version: melodic-devel
ndt_core_public:
type: git
url: https://gitsvn-nt.oru.se/software/ndt_core_public.git
version: melodic-devel
ndt_tools_public:
type: git
url: https://gitsvn-nt.oru.se/software/ndt_tools_public.git
version: melodic-devel

0 comments on commit 3c0d812

Please sign in to comment.