Closed paulober closed 9 months ago
You're not adding the libs you need to link. If you're using stock Makefiles then add `$(PREFIX)pkg-config --cflags SDL2_net` to CFLAGS and `$(PREFIX)pkg-config --libs SDL2_net` to LIBS. If not then post on the forums instead with details of the build system you're using.
Sorry for bothering you. I'm new to Makefiles and your suggestion fixed it.
I wanted to build a switch executable and use
sdl2_net
from the switch portlib and got following linker error: