A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Hello @Sid Kraft ,
Thanks for your question.
You do not need to execute this module inside a specific project. vcpkg operates globally, meaning once you set it up, the libraries will be available for all your current and future Visual Studio projects.
You can refer to following steps:
- Open the Developer PowerShell.
You can open this directly inside Visual Studio. Go to the top menu bar and select:
- View > Terminal.
- Alternatively, you can navigate to Tools > Command Line > Developer PowerShell.
- Install OpenGL.
In the PowerShell window, type the following command and press Enter:
vcpkg install opengl.
Note: This might take a few minutes as your system downloads and builds the required files.
- Link the Libraries to Visual Studio.
Once the installation finishes, type the following command and press Enter:
vcpkg integrate install.
This command tells Visual Studio where to find your new tools. After it successfully runs, you will be able to start using OpenGL functions in any of your C++ projects.
For more details on how package management works, you can refer to the official documentation on vcpkg documentation.
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback.