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

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
Posts: 1
Joined: Sat Sep 02, 2017 5:22 pm

Creating Vita plugins using C++?

Post by MinikPLayer »

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++?
Posts: 777
Joined: Thu Oct 07, 2010 4:29 pm

Re: Creating Vita plugins using C++?

Post by noname120 »

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);
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”