{"id":21088295,"url":"https://github.com/dev-saiful/computer-graphics-library","last_synced_at":"2025-03-14T05:43:39.552Z","repository":{"id":190222642,"uuid":"674762132","full_name":"dev-saiful/computer-graphics-library","owner":"dev-saiful","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-23T16:41:34.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T00:45:58.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dev-saiful.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-04T17:55:18.000Z","updated_at":"2023-08-04T18:15:49.000Z","dependencies_parsed_at":"2023-08-23T18:30:40.226Z","dependency_job_id":null,"html_url":"https://github.com/dev-saiful/computer-graphics-library","commit_stats":null,"previous_names":["dev-saiful/computer-graphics-library"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-saiful%2Fcomputer-graphics-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-saiful%2Fcomputer-graphics-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-saiful%2Fcomputer-graphics-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-saiful%2Fcomputer-graphics-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-saiful","download_url":"https://codeload.github.com/dev-saiful/computer-graphics-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532531,"owners_count":20306152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T21:16:44.440Z","updated_at":"2025-03-14T05:43:39.515Z","avatar_url":"https://github.com/dev-saiful.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graphics-Library\nDownload required libraries from here\n\n\n## It is a tradition to use Turbo C for graphic in C/CPP. But it's also a pain in the neck. Here we are using Code::Blocks IDE, which will ease out our work.\n\n\nSteps to run graphic code in CodeBlocks\n## 1. Install Code::Blocks\nMake sure you have installed Code::Blocks IDE on your machine. If you don't have this IDE or have any issue with compiler download and install it from here.  http://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe\nversion may be changed for you.\n## 2. Download the required header files\nWe need few files to be included in the lib folder of Code::Blocks.\nDownload the files from here https://github.com/SagarGaniga/Graphics-Library\n\n## 3. Include graphics.h and winbgim.h\nCopy and Paste the graphics.h and winbgim.h files into include folder of Code::Blocks directory.\n\nPath: C:\\Program Files (x86)\\CodeBlocks\\MinGW\\include\n\n## 4. Include libbgi.a\nCopy and paste libbgi.a file in the lib folder of Code:Blocks\n\nPath: C:\\Program Files (x86)\\CodeBlocks\\MinGW\\lib\n\n## 5. Add Link Libraries in Linker Setting\n   * In the Code::Blocks application go to, Settings \u003e Compiler\n\n   * In the Global Compiler setting, click on the Linker Settings\n\n   * In Link Libraries, Add and browse to C:\\Program Files (x86)\\CodeBlocks\\MinGW\\lib\\ and select libbgi.a.\n\n   * Paste this in the Other Linker Option tab of Linker Settings (i.e. on the right-hand side)\n\n     -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32\n\n   * Save the setting and restart the application\n\n### To test the setting copy paste any computer graphics code from \nhttps://github.com/SagarGaniga/computer-graphics\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-saiful%2Fcomputer-graphics-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-saiful%2Fcomputer-graphics-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-saiful%2Fcomputer-graphics-library/lists"}