-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nix stuff #38
Comments
Yea ... SDL with nix is a pain, since it needs to load libs dynamically by itself.
I don't know this one, might be an SDL_Image issue. |
Actually, can you run with -L to see the full cmake run? Speaking from experience, the error is likely further up. Also, if you tried to build tomato with just |
The first error confirms this when building with tomato> -- Check for working CXX compiler: /nix/store/r73z9i18vbjcph7k2f3isrysxzx6sqjx-gcc-wrapper-13.2.0/bin/g++ - skipped
tomato> -- Detecting CXX compile features
tomato> -- Detecting CXX compile features - done
tomato> II TOMATO_BREAKPAD: OFF
tomato> II TOMATO_TOX_AV: ON
tomato> -- Using the multi-header code from /nix/store/i8xbp4fwlggg8mggifkq5kb68gz6lxxh-source/include/
tomato> CMake Error at external/CMakeLists.txt:7 (add_subdirectory):
tomato> The source directory
tomato> /build/nax43w29bja1wcljp56wjknanjgm9dyw-source/external/solanaceae_util
tomato> does not contain a CMakeLists.txt file. On the topic of Vulkan, I did find a way to build a package that uses it (and SDL_gpu) on Nix. Feel free to look at my code here: https://git.allpurposem.at/mat/gooey/src/branch/main/nix/packages/gooey/default.nix |
|
Hi! I'm working on a NixOS project with SDL3, and I wanted to see how you have it set up. Cloning tomato locally and running
nix build
however fails, with this log tail:It's strange because you disable
tif
from SDL3_image backends, but it is still looking for the library.The text was updated successfully, but these errors were encountered: