I am guessing he has a bad library but, the person seems to NOT understand the question about the library version and source.
Or Compiler version and source.
Tim S.
let's try again:I downloaded New C:B release 13.12 from
http://sourceforge.net/projects/codeblocks/codeblocks-13.12mingw-setup-TDM-GCC-481.exe << GCC version 4.8.1
Borland BGI Graphics emulation for the MingW (GCC port) Compiler from
http://winbgim.codecutter.org/Library built with MingW 5.0.3 and GCC 3.4.5
Copy headers winbgim.h, and graphics.h in %Program Files%\CodeBlocks\MingW\include directory.
Copy library libbgi.a in %Program Files%\CodeBlocks\MingW\lib directory.
Add Settings >> Compiler >>linker settings
>> link libraries: libbgi.a
>> other linkers options: -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
I don't modify anything else, my library and my compiller its from original package.