SDL_init (sdl3) error

i’m changing a 32 bits game that i have with winapi, to sdl, I tried diferents codes, now i have this in my principal file, i’m using microsoft visual studio.

if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) != 0) {
MessageBoxA(
NULL,
MB_OK
);
return 0;
}

everycode I tried, has de same problem:
LNK2019 _SDL_Init no resolvend in function
_WinMain@16

I suspect you have a similar problem to mine. It’s SDL2 but I was able to get around it like this-

#if defined(_WIN64)
int WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw) 
#else
int main(int argc, char *argv[])
#endif