Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing dependencies and build errors #8

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

rosdep install --from-paths src -i -r -y

colcon build --symlink-install --continue-on-error --cmake-args=-DCMAKE_BUILD_TYPE=Release --parallel-workers $(nproc)
23 changes: 22 additions & 1 deletion firstTimeInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,25 @@ echo "export GST_PLUGIN_PATH=$GST_PLUGIN_PATH" >> $GSTREAMER_DIR/setupGstreamer.

echo "Finished building GStreamer"

source ~/.bashrc
source ~/.bashrc

echo "Downloading ZED SDK ..."
cd /tmp
if [ "$(uname -m)" == "aarch64" ]; then
curl -L https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/4.2/ZED_SDK_Tegra_L4T36.4_v4.2.2.zstd.run -o zed_sdk_installer.run
else
curl -L https://download.stereolabs.com/zedsdk/4.2/cu12/ubuntu22 -o zed_sdk_installer.run
fi
chmod +x zed_sdk_installer.run
ConnorNeed marked this conversation as resolved.
Show resolved Hide resolved
./zed_sdk_installer.run -- silent
echo "Finished downloading ZED SDK ..."

echo "Building Kindr ..."
ConnorNeed marked this conversation as resolved.
Show resolved Hide resolved
cd /tmp
git clone https://github.com/ANYbotics/kindr.git
cd kindr/
mkdir build
cd build
cmake .. -DUSE_CMAKE=true
sudo make install
echo "Finished building Kindr ..."
Loading