Your application is built in debug mode and the library is built in release mode. They have to be built in the same mode (either debug or release).