System: Linux Mint 19
Code::Blocks 17.12 -flatpak-
Problem: after a missing libusb I've installed the libusb-1.0_dev. The necessary library is here:
/usr/include/libusb-1.0/libusb.h
I've added the path for the compiler: /usr/include/libusb-1.0
Compiling fails!
Buildlog:
gcc -Wall -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -pg -g -rdynamic -I/usr/include/gtk-3.0 -I/usr/include/gtk-3.0 -I/usr/include/libusb-1.0 -c /home/axel/Projects/Aqualampe_cb/callbacks.c -o obj/Debug/callbacks.o
In file included from /home/axel/Projects/Aqualampe_cb/callbacks.c:30:0:
/home/axel/Projects/Aqualampe_cb/callbacks.h:26:20: fatal error: libusb.h: No such file or directory
#include <libusb.h>
By typing #include " in the editor I got a hugh list of known *.h files. But libusb.h wasn't in there. Where Code::Blocks got these list or build it? Maybe this is the problem?
Cheers, Panama