Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ssi-anik/f91fbf6a3b14a9f761c7 to your computer and use it in GitHub Desktop.
Save ssi-anik/f91fbf6a3b14a9f761c7 to your computer and use it in GitHub Desktop.
-> Copy graphics.h and winbgim.h files in include folder of your compiler directory
-> Copy libbgi.a to lib folder of your compiler directory
-> In code::blocks open Settings >> Compiler and debugger >>linker settings ( or, Compiler > General > Linker ( or right side) )
-> Click Add button in link libraries part and browse and select libbgi.a file
-> In right part (ie. other linker options) paste commands "-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32"
-> Click Ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment