Make sure you're linking the actual library. (#includes are only useful to the compiler; the linker doesn't care about them.)