When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
39 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
What is the procedure you use to perform the compilation?
If you're familiar with cmake, this setup will build a few of the SDL libraries and be able to execute/debug things from vs2022; https://github.com/vorlac/cmake-vcpkg-project-template/tree/sdl-example
You just need to have the vs2022 / tooling deps installed before using it(make addon for vs2022, ninja, etc)
Isn't there an easier way of doing this? It seems really complicated
and why do I need Ninja and Cmake
Cmake and ninja are tools for building projects faster than "manually"
do I really need them?
no but if you don't know the bases of building processus
it's better to use Cmake
he organize project for you, make the build and debug directory
you need no more than 4 lines of configuration for building your project
basic project
what do you do for the compilation ?
which ide do you use ?
Visual Studio Community 2022
you need to create launch.json file and tasks.json file
do you have it in a folder name .vs....
.vscode
@valid cypress where did you download the binaries from?
Link?
ofc, gimme a sec
https://github.com/libsdl-org/SDL/releases/tag/release-2.30.0
SDL2-devel-2.30.0-mingw.zip
One guy on a tutorial said to download that
Are you using mingw?
uh no
Wondering if I should have downloaded SDL2-2.30.0.zip or https://github.com/libsdl-org/SDL/releases/download/release-2.30.0/SDL2-devel-2.30.0-win32-x64.zip instead
gonna try SDL2-2.30.0.zip one
which one should I download?
there's a LOT of them
@valid cypress
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.