Is it the only error message you get, this single line ? Aren't there any message like "undefined reference to ..." ?
Are you sure that the path to .lib file is correct ?
Be sure to remove LIBS += -lpg from the .pro file and add only the LIBS += "path/to/lib/libpg.lib".
Post the whole .pro file. Try to do a clean build as well.
Did you built the "libpg.lib" yourself ? If you've downloaded it, are you sure it's good one for your compiler ?
---
if you use QtCreator, try to scroll up in the compiler output window, maybe you just see the last line.





Reply With Quote

Bookmarks