pspdev / psptoolchain

A script to automatically build an open-source toolchain for PSP homebrew development.
378 stars 120 forks source link

Eboot, elf but no prx file #49

Closed yoyz closed 9 years ago

yoyz commented 9 years ago

I'm not able to produce a prx file with the toolchain. When i use the "standard" makefile i have my EBOOT.BPB file and it's great and i'm able to launch it, but I need to debug my code with gdb which require psplinkusb which require prx file.

I'm not able to produce a prx... And I don't know if it is the tool chain, makefile or if it's me.

Hope someone could double check.

artart78 commented 9 years ago

Try using https://github.com/pspdev/pspsdk/tree/master/src/samples/prx/testprx as a template (you shouldn't need PRX_EXPORTS and exports.exp)

yoyz commented 9 years ago

Thank you, you have gave me exactly what I need to fix the problem.

And unfortunately, I have fixed it on a small project, but could not fix it on a bigger one.... I will post some comments when I understand the problem.

Thanks a lot

yoyz commented 9 years ago

Ok I had understand what was my problem. BUILD_PRX=1 had a whitespace after the "1 ", and it is BAAAADD, because you don't see it, and it's a terrible mistake..... so be carefull on this you the READER which try to understand why you can't have a PRX. It took me more than one day to see it, so be carefull with copy paste.

Thank you "artart78" without you I would have not find it. So I close this issue, because it is not an issue anymore.

liclac commented 9 years ago

This should be on some kind of FAQ tbh, it tripped me up when I started too