Advertising (This ad goes away for registered users. You can Login or Register)

How to link the Vita SDL port?

Rejuvenate is a native homebrew platform for PS Vita. Read more about Rejuvenate here.
Post Reply
z2442
Posts: 25
Joined: Sat Mar 03, 2012 2:27 am

How to link the Vita SDL port?

Post by z2442 » Fri Jul 08, 2016 12:34 am

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! :shock:
Advertising
PSP 1000 6.60 ME

xyz
Posts: 61
Joined: Thu Jan 20, 2011 7:06 pm

Re: How to link the Vita SDL port?

Post by xyz » Fri Jul 08, 2016 7:14 am

What Vita SDL port?
Advertising

z2442
Posts: 25
Joined: Sat Mar 03, 2012 2:27 am

Re: How to link the Vita SDL port?

Post by z2442 » Fri Jul 08, 2016 10:35 pm

https://github.com/xerpi/SDL-Vita
this is the one ive beeen using
PSP 1000 6.60 ME

xyz
Posts: 61
Joined: Thu Jan 20, 2011 7:06 pm

Re: How to link the Vita SDL port?

Post by xyz » Sat Jul 09, 2016 6:59 pm

Seems like just adding "-lSDL2" to your linker command should work then.

z2442
Posts: 25
Joined: Sat Mar 03, 2012 2:27 am

Re: How to link the Vita SDL port?

Post by z2442 » Sun Jul 10, 2016 9:13 pm

Ok so I tried to link with -lSDL2 still nothing but a bunch of undefined reference errors to all of the SDL2 functions.
PSP 1000 6.60 ME

xyz
Posts: 61
Joined: Thu Jan 20, 2011 7:06 pm

Re: How to link the Vita SDL port?

Post by xyz » Sun Jul 10, 2016 10:26 pm

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

Post Reply

Return to “Rejuvenate”