undefined reference to `loadimage(IMAGE*, char const*, int, int, bool)'
这个问题到底怎么解?求助大神啊
#include<graphics.h> #include<iostream> #include<easyx.h> void initGame(); int main() { initGame(); getchar(); return 0; } void initGame() { initgraph(600,500); loadimage(NULL,"背景.jpg"); }
the wrong:C:\Users\ADMINI~1\AppData\Local\Temp\ccwGMKrC.o In function `initGame()':
19 C:\Users\Administrator\Desktop\五子棋.cpp undefined reference to `initgraph(int, int, int)'
21 C:\Users\Administrator\Desktop\五子棋.cpp undefined reference to `loadimage(IMAGE*, char const*, int, int, bool)'
C:\Users\Administrator\Desktop\collect2.exe [Error] ld returned 1 exit status