Issues Building Rocky SDK on Fresh Install Ubuntu 24.04 Arm64 #233
|
I've been trying to get the bootstrap scripts and subsequent builds of Rocky SDK to work so I can evaluate the package as an option for a project I'm working on, but every time I've attempted so far over the last two days I've hit snags the whole way and get stuck on the vcpkg manifest install of Generally, I've followed these steps (I included the commands I used below):
Are there more detailed build instructions for Linux machines? echo "Installing System Deps"
sudo apt update
sudo apt install -y build-essential tar git zip unzip curl pkg-config
sudo apt-get install -y \
bison \
build-essential \
cmake \
ninja-build \
pkg-config \
libx11-dev \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev \
libvulkan-dev \
libvulkan1 \
libxxf86vm-dev \
libxcb1-dev \
libx11-xcb-dev \
mono-complete \
autoconf \
autoconf-archive \
automake \
libtool \
flex
# Install Vcpkg
echo
echo "Installing VCPKG"
rm -rf ~/vcpkg
git clone https://github.com/microsoft/vcpkg.git ~/vcpkg
cd ~/vcpkg
./bootstrap-vcpkg.sh
echo 'export VCPKG_ROOT=$HOME/vcpkg' >> ~/.bashrc
echo 'export PATH=$VCPKG_ROOT:$PATH' >> ~/.bashrc
source ~/.bashrc
# Had trouble reaching tarball from vcpkg. Downloaded and cached it.
cd ~/
wget https://gitlab.dkrz.de/k202009/libaec/-/archive/v1.1.6/libaec-v1.1.6.tar.gz
sleep 1
mkdir -p ~/vcpkg/downloads
mv ./libaec-v1.1.6.tar.gz ~/vcpkg/downloads/k202009-libaec-v1.1.6.tar.gz
echo "Install Rocky"
rm -rf ~/git/rocky
git clone https://github.com/pelicanmapping/rocky.git ~/git/rocky
cd ~/git/rocky
sudo chmod +x ./bootstrap-vcpkg.sh
./bootstrap-vcpkg.sh |
Replies: 1 comment
|
Personally I avoid using vcpkg under Linux. Not because it doesn't work, but because you can end up with dependency conflicts if your path isn't set up just right. (My guess is that it's looking for xcb in vcpkg_installed and it's not there...? just a guess.) Under Ubuntu I build VSG (et al) from source, use |
Personally I avoid using vcpkg under Linux. Not because it doesn't work, but because you can end up with dependency conflicts if your path isn't set up just right. (My guess is that it's looking for xcb in vcpkg_installed and it's not there...? just a guess.)
Under Ubuntu I build VSG (et al) from source, use
aptto pull in any necessary dependencies, and then use cmake-gui to point the Rocky project at the locally built VSG libraries. A bit of extra setup, but reliable and will then use normal apt-installed deps. VSG and friends should build cleanly.