fgsfdsfgs / max_vita

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error build last state

DvaMishkiLapa opened this issue · comments

commented

Tried to build the last state.
Nothing has changed, VitaSDK is the current version.

[  6%] Building C object CMakeFiles/max.elf.dir/main.c.obj
/home/thesame/vita/max_vita/main.c: In function 'check_kubridge':
/home/thesame/vita/max_vita/main.c:75:17: error: conflicting types for '_vshKernelSearchModuleByName'
   75 |   extern SceUID _vshKernelSearchModuleByName(const char *, int *);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/vitasdk/arm-vita-eabi/include/vitasdk.h:83,
                 from /home/thesame/vita/max_vita/main.c:12:
/usr/local/vitasdk/arm-vita-eabi/include/psp2/vshbridge.h:43:8: note: previous declaration of '_vshKernelSearchModuleByName' was here
   43 | SceUID _vshKernelSearchModuleByName(const char *module_name, const void *buffer);
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/thesame/vita/max_vita/main.c: In function 'main':
/home/thesame/vita/max_vita/main.c:148:33: error: 'SHARK_OPT_UNSAFE' undeclared (first use in this function)
  148 |   vglSetupRuntimeShaderCompiler(SHARK_OPT_UNSAFE, SHARK_ENABLE, SHARK_ENABLE, SHARK_ENABLE);
      |                                 ^~~~~~~~~~~~~~~~
/home/thesame/vita/max_vita/main.c:148:33: note: each undeclared identifier is reported only once for each function it appears in
/home/thesame/vita/max_vita/main.c:148:51: error: 'SHARK_ENABLE' undeclared (first use in this function)
  148 |   vglSetupRuntimeShaderCompiler(SHARK_OPT_UNSAFE, SHARK_ENABLE, SHARK_ENABLE, SHARK_ENABLE);
      |                                                   ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/max.elf.dir/build.make:63: CMakeFiles/max.elf.dir/main.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:162: CMakeFiles/max.elf.dir/all] Error 2
make: *** [Makefile:84: all] Error 2