PokemonCheatPlugin icon indicating copy to clipboard operation
PokemonCheatPlugin copied to clipboard

Error building source win10

Open Ninjistix opened this issue 7 years ago • 12 comments

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

Ninjistix avatar Dec 20 '17 16:12 Ninjistix

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

Hartie95 avatar Dec 22 '17 02:12 Hartie95

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 avatar Dec 22 '17 04:12 Ninjistix

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

Ninjistix avatar Dec 31 '17 06:12 Ninjistix

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.

Hartie95 avatar Dec 31 '17 13:12 Hartie95

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 . . .

Ninjistix avatar Dec 31 '17 15:12 Ninjistix

Its just a warning, was the plg file created?

Hartie95 avatar Dec 31 '17 17:12 Hartie95

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

Ninjistix avatar Jan 01 '18 03:01 Ninjistix

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

Hartie95 avatar Jan 01 '18 04:01 Hartie95

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.

Ninjistix avatar Jan 01 '18 04:01 Ninjistix

Its not yet released.

Hartie95 avatar Jan 01 '18 04:01 Hartie95

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?

Ninjistix avatar Jan 01 '18 05:01 Ninjistix

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

0none avatar Dec 12 '18 20:12 0none