ToadKing / wii-u-gc-adapter

Tool for using the Wii U GameCube Adapter on Linux
MIT License
240 stars 42 forks source link

make failed on linux mint 17 #13

Open jdavis30 opened 9 years ago

jdavis30 commented 9 years ago

I downloaded the zip, unzipped it, entered the directory, and opened a terminal in said directory, typing "make". I get the following message: "Package libusb-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libusb-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libusb-1.0' found cc -c -o wii-u-gc-adapter.o wii-u-gc-adapter.c -Wall -Wextra -pedantic -Wno-format -std=c99 -O2 wii-u-gc-adapter.c:20:20: fatal error: libusb.h: No such file or directory

include

                ^

compilation terminated. make: *\ [wii-u-gc-adapter.o] Error 1 " It appears I lack a "libusb-1.0". this is likely due to the fact that it has been replaced by "libusb-1.0-0" or libusb 1.0.17. will keep you updated.

jdavis30 commented 9 years ago

was able to install libusb by going to the main sourceforge page for the package. perhaps put this in the readme. http://sourceforge.net/projects/libusb/

ourex commented 9 years ago

I just ran apt-get install libusb-1.0-0

vokama commented 8 years ago

Same problem with Debian Jessie, installing libusb-1.0-0 and libusb-deb did not help, I will try to use source codes.

EDIT: apparently it just started working when I've typed "apt install libusb-1.0" and compiled the project. Before that I've deleted all libusb related packages which led to some problems, but I figured it out. Probably it's just magic. Notice that in wii-u-gc-adapter.c I've changed #include <libusb.h> to #include <libusb-1.0/libusb.h>

Because, well, I've found that file at this directory. Feel free to address me anytime if this doesn't make any sence to you, my english is not that good.