Page 1 of 1

Creating Vita plugins using C++?

Posted: Wed May 29, 2019 3:22 pm
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++?

Re: Creating Vita plugins using C++?

Posted: Tue Jun 25, 2019 9:30 pm
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);