It'll be a little different depending on your IDE, but basically you need to make sure your search directories are pointing to the directory that stores the correct header files. Then you need to go in and make sure the linking flags are set to properly link in the library.
If you've done a bunch of messing around, I'd go back and reset everything and start from scratch.