HOW TO SETUP CODE BLOCKS FOR GRAPHICS PROGRAMS

How to setup...


  • Download Code::Blocks from here.

You have to download the codeblocks-17.12mingw-setup.exe or codeblocks-17.12mingw nosetup.zip file.
The first file(highlighted) is the install-able setup and the other one(highlighted) is portable zip file(not need to install). If you are beginners you prefer the first one.

  • After the installation you locate the code blocks at location C:\Program Files (x86)\CodeBlocks
    or at C:\Program Files\CodeBlocks.
  • You have to download the graphics file from this link .
  • Extras this zip file, it includes three files (two header files & a library file). 
  •  Now copy the graphics.h & winbgim.h header files and paste at location C:\Program Files (x86)\CodeBlocks\MinGW\include
  • And copy the libbgi.a file at location C:\Program Files (x86)\CodeBlocks\MinGW\lib
  • Now open the code blocks and follow the steps:

1. Left click on "Settings (menu item)" in "Start here - Code::Blocks "



2. Left click on "Compiler... (menu item)"

3.  User left click on "Linker settings (tab item)" in "Compiler settings"

4. User left click on "Add (button)" in "Compiler settings"

5. User left click on "Add library (dialogue)" in "Add library"

6. User left click on "Address: C:\Program Files (x86)\CodeBlocks\MinGW\lib (tool bar)" in "Choose library to link"

7. User left click in "Choose library to link" and Select libbgi.a

 8.  User left click on "Open (button)" in "Choose library to link"

9. User left click on "OK (button)" in "Add library"

10. User left click on "Other linker options: (edit)" in "Compiler settings"

11.  User left click on "Text Editor (edit)" in "commands.txt - Notepad

12. User keyboard input on "Text Editor (edit)" in "commands.txt - Notepad" [... Ctrl-C] copy all commands.

13. User keyboard input on "Other linker options: (edit)" in "Compiler settings" [... Ctrl-V] paste all commands.

14. User left click on "Toolchain executables (tab item)" in "Compiler settings"

15. User left click on "... (button)" in "Compiler settings"

16. User left click in "Browse For Folder" and locate the path C:\Program Files (x86)\CodeBlocks\MinGW\bin


17. User left click on "OK (button)" in "Browse For Folder"

18. User left click on "OK (button)" in "Compiler settings"

All Done!!!

Comments

  1. thanku satya
    mujhe sare step smjh to aa gye..
    phle nii atte the
    i will try to install via zip file

    ReplyDelete
  2. How To Setup Code Blocks For Graphics Programs >>>>> Download Now

    >>>>> Download Full

    How To Setup Code Blocks For Graphics Programs >>>>> Download LINK

    >>>>> Download Now

    How To Setup Code Blocks For Graphics Programs >>>>> Download Full

    >>>>> Download LINK oj

    ReplyDelete

Post a Comment

Popular posts from this blog

Smile emoji using graphics in Java using Applet