Hello,
I appear to have succesfully compiled openttd on debian 10 for ARM, however, I keep ending up with an openttd binary of 170 mb.
Am I doing something wrong?
Here is my cmake line:
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOPTION_DEDICATED=ON -DOPTION_USE_ASSERTS=OFF -DOPTION_USE_THREADS=OFF ..
Cheers.
Compiling for debian 10 ARM
Moderator: OpenTTD Developers
Re: Compiling for debian 10 ARM
You use the RelWithDebInfo build type, which has debug info. Try using the Release build type instead.
Re: Compiling for debian 10 ARM
The faq states:
-DCMAKE_BUILD_TYPE=RelWithDebInfo: build a release build. This is significant faster than a debug build, but has far less useful information in case of a crash.
I think this is confusing people this will build a "Release Build with Debian Info".
I will try with "-DCMAKE_BUILD_TYPE=Release"
Cheers n thanks
-DCMAKE_BUILD_TYPE=RelWithDebInfo: build a release build. This is significant faster than a debug build, but has far less useful information in case of a crash.
I think this is confusing people this will build a "Release Build with Debian Info".
I will try with "-DCMAKE_BUILD_TYPE=Release"
Cheers n thanks
Who is online
Users browsing this forum: No registered users and 14 guests