No! Never ever include source files (.c or .cpp) in other source files. Place this at the top of the main file:Zitat:
Zitat von Moca
This tells the compiler when it is compiling the main source file that this variable is in another object file and will be linked by the linker later.Code:extern static unsigned char background[];
