最先开始用的是mingw编译器,看网上说不适配。就重新下载使用了TDM-GCC。现在就是运行普通程序是可以正常运行的,但是使用easyx的这个库,就会出现如下所示的错。求救求救
D:/codeConfiguration/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\Lenovo\AppData\Local\Temp\cc3vQtku.o: in function `main':
d:/codeConfiguration/myGame/main.cpp:6: undefined reference to `initgraph(int, int, int)'
D:/codeConfiguration/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: d:/codeConfiguration/myGame/main.cpp:7: undefined reference to `circle(int, int, int)'
collect2.exe: error: ld returned 1 exit status