pspdev / psplinkusb

General purpose homebrew/debugging toolkit for PSP
https://pspdev.github.io/debugging.html
BSD 3-Clause "New" or "Revised" License
64 stars 35 forks source link

Port usbhostfs_pc to libusb-1.0 #15

Open BioBox opened 3 years ago

BioBox commented 3 years ago

I have issues compiling this because the pspsh makefile uses the out of date -lcurses library, which my linker can't find even though I have all the development packages. Changing it to -lncurses fixes it. Is there any reason not to change this?

I also have problems with the libusb requirement. This software uses libusb 0.1, but my os only has the dev package for libusb 1.0 which is not backwards compatible.

sharkwouter commented 3 years ago

Try libusb-compat. That provides what pspsh needs.

carstene1ns commented 3 years ago

Porting to libusb-1.0 api is possible, just nobody working on it currently. On my system (Arch) curses library is symlinked to ncurses, so I did not find this issue yet. However, just changing it in the Makefile should be sufficient here.