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.
Locked
z2442
Posts: 25
Joined: Sat Mar 03, 2012 2:27 am

How to link the Vita SDL port?

Post 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! :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 »

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 »

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 »

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 »

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 »

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
Locked

Return to “Rejuvenate”