https://github.com/shyguyberlin/opengldemo
A small project for a university class
https://github.com/shyguyberlin/opengldemo
cpp glfw3 opengl
Last synced: about 2 months ago
JSON representation
A small project for a university class
- Host: GitHub
- URL: https://github.com/shyguyberlin/opengldemo
- Owner: ShyguyBerlin
- Created: 2025-01-19T14:33:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-12T12:37:18.000Z (over 1 year ago)
- Last Synced: 2025-04-04T23:43:22.466Z (over 1 year ago)
- Topics: cpp, glfw3, opengl
- Language: C
- Homepage:
- Size: 1.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Requirements
to get all the packages needed to build the project run the following:
```
(Ubuntu)
$ sudo apt install libglfw3-dev libgl-dev cmake
```
for windows you install [MSYS2](https://github.com/msys2/msys2-installer/releases/download/2024-12-08/msys2-x86_64-20241208.exe)
and run
```
pacman -S mingw-w64-x86_64-toolchain
```
and
```
pacman -S mingw-w64-x86_64-glfw
```
in the msys2 console.
after that you add
```
list(APPEND CMAKE_PREFIX_PATH "C:/msys64/mingw64/lib/cmake/glfw3")
find_package(glfw3 3.4 REQUIRED)
```
is to CMakeLists.txt and
```
C:\msys64\mingw64\bin
```
to PATH (system variable)
# Build
Optimally you can run any cmake wrapper in your IDE. There is a really nice extension for VSCode that does that for you, with a bit of configuration. Else you can also run the following command:
```
$ figure this out I have no idea
```