{"id":21845401,"url":"https://github.com/chirag-droid/opengl","last_synced_at":"2026-05-18T08:02:06.053Z","repository":{"id":46719337,"uuid":"407947209","full_name":"chirag-droid/OpenGl","owner":"chirag-droid","description":"This is my first OpenGl project.","archived":false,"fork":false,"pushed_at":"2021-09-29T11:26:52.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T16:58:23.502Z","etag":null,"topics":["cmake","cmakelists","cpp","glad","glfw","glfw3","graphics","graphics-library","graphics-programming","opengl"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chirag-droid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-18T19:14:20.000Z","updated_at":"2021-11-14T20:15:27.000Z","dependencies_parsed_at":"2022-09-07T06:22:56.743Z","dependency_job_id":null,"html_url":"https://github.com/chirag-droid/OpenGl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chirag-droid/OpenGl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag-droid%2FOpenGl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag-droid%2FOpenGl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag-droid%2FOpenGl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag-droid%2FOpenGl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chirag-droid","download_url":"https://codeload.github.com/chirag-droid/OpenGl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chirag-droid%2FOpenGl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33170442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cmake","cmakelists","cpp","glad","glfw","glfw3","graphics","graphics-library","graphics-programming","opengl"],"created_at":"2024-11-27T23:09:47.159Z","updated_at":"2026-05-18T08:02:06.036Z","avatar_url":"https://github.com/chirag-droid.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenGl\n\nThis is my first c++ project with OpenGl. Useful resources for learning OpenGl:\n\n- [LearnOpengl.com book on opengl](https://learnopengl.com/book/book_pdf.pdf)\n- freeCodeCamp.org's OpenGl course by [VictorGordan](https://github.com/VictorGordan) - https://www.youtube.com/watch?v=45MIykWJ-C4\n- [TheCherno](https://youtube.com/c/TheChernoProject) OpenGl series on youtube - https://www.youtube.com/playlist?list=PLlrATfBNZ98foTJPJ_Ev03o2oq3-GGOS2\n- [OpenGl docs](https://docs.gl)\n- http://www.opengl-tutorial.org/\n\n## Compiling from source\n\n- ### Downloading the repository\n  Start by cloning the repository with `git  clone --recursive https://github.com chirag-droid/OpenGl`. This will download the repository and also download the submodules glfw and glad.\n\n  If the repository was cloned non-recursively previously, use git submodule update --init to clone the necessary submodules.\n\n- ### Toolchain\n  The project uses Cmake for build automation. Cmake generates files for other build system e.g. Ninja, make, nmake etc.\n\n  I, use Ninja but you can use any build system you have.\n\n  \u003e Note that a working python installation is also required to generate glad files.\n\n- ### Compiling\n  First generate file for your build system using \n  \n  `\n  cmake -S . -B build/ -G (ninja | \u003cyour_build_system\u003e)\n  `\n\n  The S flag specifies the source directory, while B flag specifies the build directory. And the G flag specifies the generator to use\n\n  Next go to the newly generated build directory by using `cd build`. Now use the command for the generator you used. I used ninja so running `ninja` will make an executable file called `main.exe`.\n\nIf you encounter any error while doing so, feel free to open an issue\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchirag-droid%2Fopengl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchirag-droid%2Fopengl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchirag-droid%2Fopengl/lists"}