TIC-80
TIC-80 copied to clipboard
Builded version lag
Hi i tried to compile the repo myself, i didn't change anything neither and the build has been done with the stock CMakeList (no BUILD_PRO or other stuff changed, really the basic settings). But the compiled version is considerably more "laggy" than the pre-compiled version. Am i missing something?
Try to add -DCMAKE_BUILD_TYPE=MinSizeRel
to build an optimized binary.
tried but didn't work, seems BUILD_SDLGPU fixed the issue, but i don't know if it has some implication having it on or not
tried but didn't work, seems BUILD_SDLGPU fixed the issue, but i don't know if it has some implication having it on or not
I faced the same issue as you. Could you describe what command you used to build the project? I tried to run it with the flags: -DBUILD_PRO=On -DCMAKE_BUILD_TYPE=MinSizeRel -BUILD_SDLGPU=On
but I am faced with the following error:
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Performing Test CHECK_CPU_ARCHITECTURE_X64
-- Performing Test CHECK_CPU_ARCHITECTURE_X64 - Success
CMake Error at vendor/sdl2/CMakeLists.txt:378 (message):
SDL_SHARED and SDL_STATIC cannot both be disabled
-- Configuring incomplete, errors occurred!
If anybody could guide me on creating an optimised binary I'd be grateful.
You can find all the commands we use to build here https://github.com/nesbox/TIC-80/blob/main/.github/workflows/build.yml