I'm trying to add a Library to Eclipse Galileo and it won't work out.
Library: gdi32.lib -> In MinGW: libgdi32.a
What ever I try, it doesn't work. Can anyone tell me EXACTLY where to enter what, to accomplish this ?
Details:
I have the function call:
wndclassex.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
... lead's to error:
WinMain.o: In function `WinMain':
Z:/mtsts_workspace/MTSTS/Debug/../WinMain.c:29:
undefined reference to `GetStockObject@4'
And I have the function call:
TextOut(hdc, 0, 0, TEXT("Hello World!"), 12);
... lead's to error:
WinMain.o: In function `WndProc':
Z:/mtsts_workspace/MTSTS/Debug/../WinMain.c:88:
undefined reference to `TextOutA@20'