using the includes and the libraries in the pkg you need to include pbmplus.h... fix the Makefile to install it and add it to the plist.