Hi guys, I'm working at a project about a popular italian game, but I've got any problem in the code: I want to get it better with vector or list for the imagepath, and than I want to modified this code, with some better function...thanks
mmmm I've got another problem: all my program give this problem:
[Linker Error] undefined reference to `readimagefile'
ld returned 1 exit status
C:\Users\Jenny\Desktop\21.05 12.3\Makefile.win [Build Error] [Output/MingW/21.05] Error 1
Linker combines binary code "object files" into the executable. It makes sure that every (function) call is linked to the code implementing that function.
Since your compiler did not stop on error, where-ever you call the readimagefile, you do have a declaration of that function as you should. However, you don't have the implementation for that function in any of the object files or libraries that you do list for the linker.
Either you do not have the code, or don't include it in the build process.