#Using sdl with c in vscode using msys clang and libdb debugger

16 messages · Page 1 of 1 (latest)

stray scarab
#

Hello, I am a complete beginner to C coming from python and a bit of java, and am having trouble finding any information on this topic. I downloaded the sdl3 zip from github which has an install.md file but all it says is this:

# Using this package

This package contains SDL3 built for x64 Windows.

To use this package, simply replace an existing 64-bit SDL3.dll with the one included here.

# Development packages

If you're looking for packages with headers and libraries, you can download one of these:
-  SDL3-devel-3.2.8-VC.zip, for development using Visual Studio
-  SDL3-devel-3.2.8-mingw.zip, for development using mingw-w64```
I am not sure what to do from here as I have no experience with any of this stuff. Looking for help on this.
vagrant estuaryBOT
#

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.

stray scarab
#

I may need to use cmake it looks like?

#

I dont even have cmake downloaded or anything so i am completely stuck lol

#

is it more popular to use visual studio rather than vscode for c and c++?

#

i would prefer vscode though

stray scarab
#

so im following the visual studio tutorial now from sdl wiki

pale mortar
#

It kinda covers using libraries as well. For SDL specifically you had to download SDL3-devel-3.2.8-mingw.zip (unless you want to compile SDL itself from source, which is tedious)

stray scarab
pale mortar
stray scarab
#

btw if you wanted to know this is the speed it was

pale mortar
#

Probably works as intended

#

I'm not sure if you're using clangd right now or not, if not try it

#

Maybe it'll use slightly different colors