5 Mar
2008
5 Mar
'08
3:07 a.m.
"Denver Gingerich" <denver(a)ossguy.com> wrote:
gcc -lgdi32 -luser32 -o x x.o -mwindows x.o:x.c:(.text+0x5e): undefined reference to `EnumDisplaySettingsExA' collect2: ld returned 1 exit status
I'm not very familiar with building applications that use the Windows API with MinGW so it's very likely that I made a silly mistake. Suggestions on how to fix this would be appreciated.
You could try EnumDisplaySettings instead. -- Dmitry.