I'm running OSX 10.9.2
I've successfully compiled and run the example program for wiiuse. However, this meant making a makefile with CMake, then running make. I am stuck, though, as to how I can compile my own program using this library. As a first step, I'm trying to recompile the example program on my own. I've made a directory which contains example.c and wiiuse.h. When I run
clang example.c -lwiiuse -o example
I get
ld: library not found for -lwiiuse
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What gives? Why can't include the library?