Hartie95 / PokemonCheatPlugin

55 stars 18 forks source link

Error building source win10 #26

Open Ninjistix opened 6 years ago

Ninjistix commented 6 years ago
rm: cannot lstat `obj/*.o': No such file or directory
rm: cannot lstat `bin/*.elf': No such file or directory
source\menu.c: In function 'updateMenu':
source\menu.c:36:33: warning: implicit declaration of function 'getCurrentProcessId'; did you mean 'svc_getProcessId'? [-Wimplicit-function-declaration]
  plgLoaderInfo->gamePluginPid = getCurrentProcessId();
                                 ^~~~~~~~~~~~~~~~~~~
                                 svc_getProcessId
arm-none-eabi-ld: cannot find -lc
cp: target `obj/' is not a directory: No such file or directory
cp: cannot stat `a.out': No such file or directory
arm-none-eabi-objcopy: 'a.out': No such file

then exits

unsure if im missing something, just downloaded source and ran build.bat

Hartie95 commented 6 years ago

Just create a bin and obj folder, after that it should work

Ninjistix commented 6 years ago

tried that, same issue, if you have the time, please email me, for contact info, maybe you can check what I'm doing wrong via teamviewer or something? my bad, i think this is my actual problem

D:\Users\Ninji\Desktop\PokemonCheatPlugin>build.py
rm: cannot lstat `bin/*.elf': No such file or directory
source\menu.c: In function 'updateMenu':
source\menu.c:36:33: warning: implicit declaration of function 'getCurrentProcessId'; did you mean 'svc_getProcessId'? [-Wimplicit-function-declaration]
  plgLoaderInfo->gamePluginPid = getCurrentProcessId();
                                 ^~~~~~~~~~~~~~~~~~~
                                 svc_getProcessId
arm-none-eabi-ld: cannot find -lc
cp: cannot stat `a.out': No such file or directory
arm-none-eabi-objcopy: 'a.out': No such file
rm: cannot lstat `*.out': No such file or directory
cp: cannot stat `payload.bin': No such file or directory

D:\Users\Ninji\Desktop\PokemonCheatPlugin>pause
Press any key to continue . . .
Ninjistix commented 6 years ago

@Nanquitas or @hartmannaf was wondering if i could get some help,

Hartie95 commented 6 years ago

Looks like the build script needs to be updated for a newer devkit pro version, you could try to remove the -lc param from the buildscript.

Ninjistix commented 6 years ago

still gives me

D:\Users\Ninji\Desktop\PokemonCheatPlugin>build.py
source\menu.c: In function 'updateMenu':
source\menu.c:36:33: warning: implicit declaration of function 'getCurrentProcessId'; did you mean 'svc_getProcessId'? [-Wimplicit-function-declaration]
  plgLoaderInfo->gamePluginPid = getCurrentProcessId();
                                 ^~~~~~~~~~~~~~~~~~~
                                 svc_getProcessId

D:\Users\Ninji\Desktop\PokemonCheatPlugin>pause
Press any key to continue . . .
Hartie95 commented 6 years ago

Its just a warning, was the plg file created?

Ninjistix commented 6 years ago

sorry for the late comment, with all the files being added/removed to the folder, it seems like the cheat.plg was made, is that universal for all 4 games? and also i was trying to read through the file to see if i could find the list of cheats to possibly port them to the blank cheat menu, or Nanquitas new Action Replay CTR plugin menu

Hartie95 commented 6 years ago

Yes, its an universal plugin. Also I got most of the cheats already working with nanquitas framework, as full plugin

Ninjistix commented 6 years ago

oh i hadn't released that this was already ported to the newer framework, is it posted somewhere? I know megamew had done a preview of one, but I believe it was not updated or the broken codes weren't fixed.

Hartie95 commented 6 years ago

Its not yet released.

Ninjistix commented 6 years ago

oh okay. ill patiently wait then XD, since I managed to get the plugin built ill close this one now, but would it be possible push the "fixes" in case anyone else encounters these problems?

0none commented 5 years ago

Just create a bin and obj folder, after that it should work

I'll create a pull request shortly addressing this in the build.py