From 93385f54248d643c1600fcda82dfcf380f18270c Mon Sep 17 00:00:00 2001 From: O1LER <44237025+O1LER@users.noreply.github.com> Date: Sat, 8 Mar 2025 11:43:47 +0100 Subject: [PATCH 1/2] Remove build type from cmake commands --- docs/en/game/getting-started.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/en/game/getting-started.md b/docs/en/game/getting-started.md index e3cf9eec..1630a35c 100644 --- a/docs/en/game/getting-started.md +++ b/docs/en/game/getting-started.md @@ -49,18 +49,22 @@ In the root directory of the project, 1. ```cmake -cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux +cmake . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux ``` 2. ```cmake -cmake --build bin --parallel --config Release +cmake --build bin --parallel ``` -!!!note +!!!note "" Should you run out of RAM while building, you can ommit the --parallel instruction, it will then use less RAM due to building only on one CPU thread. +!!!note "" + + By not specifying `-DCMAKE_BUILD_TYPE=Release` you are building a debug version, which is larger in filesize but does not cpntain the launcher-can-only-connect-to-a-server-once bug + Move the finished application out of the `/bin` folder into its own folder and run it from there The native linux BeamMP-Launcher will start and use native linux BeamNG.drive From 019d91bc92b5028d0e7822c126a726a1b08da95c Mon Sep 17 00:00:00 2001 From: O1LER <44237025+O1LER@users.noreply.github.com> Date: Sat, 8 Mar 2025 11:45:47 +0100 Subject: [PATCH 2/2] Fix typo --- docs/en/game/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/game/getting-started.md b/docs/en/game/getting-started.md index 1630a35c..f7d5ec53 100644 --- a/docs/en/game/getting-started.md +++ b/docs/en/game/getting-started.md @@ -63,7 +63,7 @@ cmake --build bin --parallel !!!note "" - By not specifying `-DCMAKE_BUILD_TYPE=Release` you are building a debug version, which is larger in filesize but does not cpntain the launcher-can-only-connect-to-a-server-once bug + By not specifying `-DCMAKE_BUILD_TYPE=Release` you are building a debug version, which is larger in filesize but does not contain the launcher-can-only-connect-to-a-server-once bug Move the finished application out of the `/bin` folder into its own folder and run it from there