vendredi 22 juillet 2016

undefined reference to _imp__GetDIBits@28 with GetDIBits function

I'm trying to use the GetDIBits function with C++ (with QtCreator) on Windows. The code compiles but can not link with the error

undefined reference to _imp__GetDIBits@28

I tried to link add

LIBS = C:/MinGW/lib/libws2_32.a

to my .pro file but nothing changed. is it the correct library or another one ? Thank you

Aucun commentaire:

Enregistrer un commentaire