Page 1 of 1
How to link the Vita SDL port?
Posted: Fri Jul 08, 2016 12:34 am
by z2442
Hello,
So Ive been working with the vita SDL port and I can't seem to get my program to link correctly from the make file. Normally it would just be LIBS = -SDL2 right?
Thanks!

Re: How to link the Vita SDL port?
Posted: Fri Jul 08, 2016 7:14 am
by xyz
What Vita SDL port?
Re: How to link the Vita SDL port?
Posted: Fri Jul 08, 2016 10:35 pm
by z2442
Re: How to link the Vita SDL port?
Posted: Sat Jul 09, 2016 6:59 pm
by xyz
Seems like just adding "-lSDL2" to your linker command should work then.
Re: How to link the Vita SDL port?
Posted: Sun Jul 10, 2016 9:13 pm
by z2442
Ok so I tried to link with -lSDL2 still nothing but a bunch of undefined reference errors to all of the SDL2 functions.
Re: How to link the Vita SDL port?
Posted: Sun Jul 10, 2016 10:26 pm
by xyz
You should upload a minimal reproducible sample so that we can check it out, and generally provide more information such as the Makefile/the linker command/error log/etc