From 05f562db53d77faa37191f9e2a6e684c8335f39a Mon Sep 17 00:00:00 2001 From: Koen de Vos Date: Thu, 16 Feb 2023 10:30:56 +0100 Subject: [PATCH 1/2] prep assignments --- setup/emc-update-impl.bash | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup/emc-update-impl.bash b/setup/emc-update-impl.bash index 0d9fc04..9e4ad2e 100755 --- a/setup/emc-update-impl.bash +++ b/setup/emc-update-impl.bash @@ -146,4 +146,11 @@ fi sudo cp "$EMC_SYSTEM_DIR"/devel/lib/libemc_system.so /usr/lib/libemc-framework.so sudo cp "$EMC_SYSTEM_DIR"/src/emc_system/include/emc /usr/include/ -r +# 6) Install gtest for localization assignments +_make_sure_installed libgtest-dev +cd /usr/src/gtest +sudo cmake CMakeLists.txt +sudo make +sudo cp ./lib/libgtest*.a /usr/lib + trap - ERR From a1ab9e30f805fc0618def7289c12f7d6bc5fb7ef Mon Sep 17 00:00:00 2001 From: Koen de Vos Date: Thu, 16 Feb 2023 11:05:33 +0100 Subject: [PATCH 2/2] fix --- setup/emc-update-impl.bash | 4 ---- 1 file changed, 4 deletions(-) diff --git a/setup/emc-update-impl.bash b/setup/emc-update-impl.bash index 9e4ad2e..4ed53cf 100755 --- a/setup/emc-update-impl.bash +++ b/setup/emc-update-impl.bash @@ -148,9 +148,5 @@ sudo cp "$EMC_SYSTEM_DIR"/src/emc_system/include/emc /usr/include/ -r # 6) Install gtest for localization assignments _make_sure_installed libgtest-dev -cd /usr/src/gtest -sudo cmake CMakeLists.txt -sudo make -sudo cp ./lib/libgtest*.a /usr/lib trap - ERR