Solution for graphics.h libbgi error
This build of libbgi.a is compatible with 64 bit compiler. Which means you can link against it without linker error or where linker says it can't find libbgi.a cause 64 bit compiler ignores 32 bit build of the library.
Win32 system calls have been updated to reflect the changes in win32 api for 64 bit compatibility.
Link to original source http://winbgim.codecutter.org/
-
git clone https://github.com/ki9gpin/WinBGIm-64
-
echo %PATH%
If not, add them to path
set PATH=%PATH%;C:\Program Files\CMake\bin;C:/Program Files/CodeBlocks/MinGW/bin
-
cmake -G "MinGW Makefiles" cmake --build .