Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Define ABSL_LEGACY_THREAD_ANNOTATIONS (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksanford authored Feb 28, 2023
1 parent b293014 commit d22f8b4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions slam-libraries/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ install-lua-carto:
testcarto:
cd viam-cartographer && ./scripts/test_cartographer.sh

installcarto:
sudo cp viam-cartographer/build/carto_grpc_server /usr/local/bin/carto_grpc_server

installorb:
sudo cp viam-orb-slam3/bin/orb_grpc_server /usr/local/bin/orb_grpc_server

carto-all: bufinstall buf setupcarto buildcarto install-lua-carto testcarto

include *.make
1 change: 1 addition & 0 deletions slam-libraries/viam-cartographer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.2)

project(viam-cartographer)
add_definitions(-DABSL_LEGACY_THREAD_ANNOTATIONS)

set(VIAM_CARTOGRAPHER_MAJOR_VERSION 1)
set(VIAM_CARTOGRAPHER_MINOR_VERSION 0)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 3.2)

project(cartographer)
add_definitions(-DABSL_LEGACY_THREAD_ANNOTATIONS)

set(CARTOGRAPHER_MAJOR_VERSION 1)
set(CARTOGRAPHER_MINOR_VERSION 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rm -rf build
mkdir build
pushd build

echo building cartogropher
cmake .. -G Ninja -DCMAKE_CXX_STANDARD=17 -DCMAKE_PREFIX_PATH=`brew --prefix`
ninja
popd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ fi

pushd build

echo building viam cartogropher
cmake .. -G Ninja -DCMAKE_CXX_STANDARD=17 -DCMAKE_PREFIX_PATH=`brew --prefix` -DQt5_DIR=$(brew --prefix qt5)/lib/cmake/Qt5
ninja
popd

0 comments on commit d22f8b4

Please sign in to comment.