diff --git a/README.md b/README.md index 27e9f8e6..55052b56 100644 --- a/README.md +++ b/README.md @@ -296,31 +296,25 @@ cmake --version - Run the installer and follow the instructions - Ensure CMake is added to your system PATH -## Quick Start (Ubuntu) -```bash -git clone https://github.com/MapsHD/HDMapping.git +## Quick Start (Ubuntu / Ubuntu 24.04 @ WSL2) +``` bash +git clone --recursive https://github.com/MapsHD/HDMapping.git cd HDMapping -mkdir build -git submodule init -git submodule update --recursive -cd build +./ubuntu-24.04-apt-requirements.sh # Auto-optimized build (detects your CPU automatically) -cmake -DCMAKE_BUILD_TYPE=Release .. -make -j +cmake -B build -S . -DCMAKE_BUILD_TYPE=Release +cmake --build build --config Release -j ``` ## Quick Start (Windows) ```bash -git clone https://github.com/MapsHD/HDMapping.git +git clone --recursive https://github.com/MapsHD/HDMapping.git cd HDMapping -mkdir build -git submodule init -git submodule update --recursive # Auto-optimized build (detects your CPU automatically) -cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -cmake --build ./build --config Release +cmake -B build -S . -DCMAKE_BUILD_TYPE=Release +cmake --build build --config Release ``` ## WSL2 GUI diff --git a/info.txt b/info.txt deleted file mode 100644 index 20b7ec02..00000000 --- a/info.txt +++ /dev/null @@ -1,8 +0,0 @@ -git clone https://github.com/MapsHD/HDMapping.git -cd HDMapping -mkdir build -git submodule init -git submodule update --recursive -cd build -cmake -DCMAKE_BUILD_TYPE=Release .. -make -j \ No newline at end of file diff --git a/ubuntu-24.04-apt-requirements.sh b/ubuntu-24.04-apt-requirements.sh new file mode 100755 index 00000000..e23d30d2 --- /dev/null +++ b/ubuntu-24.04-apt-requirements.sh @@ -0,0 +1 @@ +sudo apt update && sudo apt upgrade && sudo apt install g++ cmake libglx-dev libopengl-dev libgl-dev libglut-dev libopencv-dev libopencv-contrib-dev \ No newline at end of file