{"id":28289753,"url":"https://github.com/seagwave/opengl","last_synced_at":"2025-06-13T06:31:41.919Z","repository":{"id":175803820,"uuid":"269344085","full_name":"Seagwave/OpenGL","owner":"Seagwave","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-13T14:09:42.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T02:11:37.194Z","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/Seagwave.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-04T11:42:02.000Z","updated_at":"2021-07-13T14:09:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b3e57b4-b059-4154-be57-7ade4cc3f8a0","html_url":"https://github.com/Seagwave/OpenGL","commit_stats":null,"previous_names":["lhaibo/opengl","seagwave/opengl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Seagwave/OpenGL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seagwave%2FOpenGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seagwave%2FOpenGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seagwave%2FOpenGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seagwave%2FOpenGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seagwave","download_url":"https://codeload.github.com/Seagwave/OpenGL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seagwave%2FOpenGL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259594225,"owners_count":22881623,"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":"2025-05-22T02:11:20.498Z","updated_at":"2025-06-13T06:31:41.909Z","avatar_url":"https://github.com/Seagwave.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 记录学习OpenGL\n\n## 傻瓜式九步完成开发OpenGL的环境配置\n\n本教程适用于VS2019，高于2019应该也可以，低于2019不保证可行\n\n1.工具-\u003eNuGet包管理器-\u003e管理解决方案的NuGet程序包\n\n2.搜索glew下载安装\n\n3.右键解决方案-\u003e在文件资源管理器中打开文件夹\n\n4.进入packages文件夹，检查是否有glew.x.x.x.x以及glew.redist.x.x.x.x , x为版本号\n\n5.同1，搜索glfw下载安装\n\n6.同4，检查是否有glfw.x.x.x.x文件夹\n\n7.右键解决方案下的项目-\u003e属性-\u003e配置属性-\u003ec/c++-\u003e常规-\u003e附加包含目录，编辑附加包含目录，在其中添加刚刚在packages文件夹中查看的文件夹中的include文件夹，类似如下，根据存放路径的不同，在packages之前的路径基本都不相同：\n\n\u003e E:\\GitProject\\openGL\\OpenGL\\packages\\glfw.3.3.0.1\\build\\native\\include\n\u003e\n\u003e E:\\GitProject\\openGL\\OpenGL\\packages\\glew.1.9.0.1\\build\\native\\include\n\n8..接着是右键解决方案下的项目-\u003e属性-\u003e配置属性-\u003e链接器-\u003e常规-\u003e附加库目录，编辑附加库目录，在其中添加glew.lib的路径，类似如下，根据存放路径的不同，在packages之前的路径基本都不相同，具体可以进入类似路径下查看是否有glew.lib：\n\n\u003e E:\\GitProject\\openGL\\OpenGL\\packages\\glew.1.9.0.1\\build\\native\\lib\\v110\\x64\\Debug\\static\n\n9.右键解决方案下的项目-\u003e属性-\u003e配置属性-\u003e链接器-\u003e输入-\u003e附加依赖项\n\n编辑附加依赖项，添加如下：\n\n\u003e glew.lib\n\u003e opengl32.lib\n\n配置完成后，即可F5运行。\n\n可选插件，glsl插件\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseagwave%2Fopengl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseagwave%2Fopengl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseagwave%2Fopengl/lists"}