win_drv.c.o:win_drv.c:(.text+0xff): undefined reference to 'CreateBitmap@20'
win_drv.c.o:win_drv.c:(.text+0x126): undefined reference to 'CreateCompatibleDC@4'
win_drv.c.o:win_drv.c:(.text+0x137): undefined reference to 'SelectObject@8'
win_drv.c.o:win_drv.c:(.text+0x180): undefined reference to 'BitBlt@36'
win_drv.c.o:win_drv.c:(.text+0x18f): undefined reference to 'SelectObject@8'
win_drv.c.o:win_drv.c:(.text+0x19a): undefined reference to 'DeleteDC@4'
win_drv.c.o:win_drv.c:(.text+0x1bd): undefined reference to 'DeleteObject@4'
Build with tdm64-gcc, report error:
win_drv.c.o:win_drv.c:(.text+0xde): undefined reference to 'imp_CreateBitmap'
win_drv.c.o:win_drv.c:(.text+0xfd): undefined reference to '__imp_CreateCompatibleDC'
win_drv.c.o:win_drv.c:(.text+0x104): undefined reference to 'imp_SelectObject'
win_drv.c.o:win_drv.c:(.text+0x14b): undefined reference to 'imp_BitBlt'
win_drv.c.o:win_drv.c:(.text+0x15c): undefined reference to '__imp_DeleteDC'
win_drv.c.o:win_drv.c:(.text+0x175): undefined reference to 'imp_DeleteObject'
Build with MinGW, report error:
Build with tdm64-gcc, report error:
Have add link flags "-lgdi32", no effect