https://blog.csdn.net/thefutureisour/article/details/7576712
这份代码在我的本地编译的时候出现了错误:
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x79): undefined reference to `__imp_GetStockObject'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x2a8): undefined reference to `__imp_Rectangle'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x2cc): undefined reference to `__imp_MoveToEx'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x2ee): undefined reference to `__imp_LineTo'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x315): undefined reference to `__imp_MoveToEx'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x334): undefined reference to `__imp_LineTo'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x3a7): undefined reference to `__imp_Ellipse'
C:\Users\msn\AppData\Local\Temp\ccXLLaev.o:3.cpp:(.text+0x450): undefined reference to `__imp_RoundRect'
collect2.exe: error: ld returned 1 exit status
请问如何解决?