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

PS Plus Heads up! PS Plus 12 Months subscription is $39.99 on Amazon for Prime Day. Get it while supplies last.

Creating Vita plugins using C++?

Open discussions on programming specifically for the PS Vita.
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
MinikPLayer
Posts: 1
Joined: Sat Sep 02, 2017 5:22 pm

Creating Vita plugins using C++?

Post by MinikPLayer » Wed May 29, 2019 3:22 pm

Is it possible to create Vita (user/kernel) plugins using C++? I know that creating homebrews is possible but when trying to do the same with plugin I get something like this:

Code: Select all

main.cpp:37:6: error: 'void _start()' aliased to undefined symbol 'module_start'
Am I doing something wrong or it's just not possible to create plugins using C++?
Advertising

User avatar
noname120
Developer
Posts: 777
Joined: Thu Oct 07, 2010 4:29 pm

Re: Creating Vita plugins using C++?

Post by noname120 » Tue Jun 25, 2019 9:30 pm

C++ symbols are mangled. Put your module_start definition inside an extern block:

Code: Select all

extern "C" {
   int module_start(SceSize argc, void *args);
}
Advertising
Funny stuff
<yifanlu> I enjoy being loud and obnoxious
<yifanlu> rooting an android is like getting a hooker pregnant
<xerpi> I sometimes think I should leave all this stressing **** and be a farmer instead

Post Reply

Return to “Programming and Security”