https://github.com/scyth3-c/glfw-glad-cmake-linux
glfw3, glad and glew with cmake in linux
https://github.com/scyth3-c/glfw-glad-cmake-linux
Last synced: about 2 months ago
JSON representation
glfw3, glad and glew with cmake in linux
- Host: GitHub
- URL: https://github.com/scyth3-c/glfw-glad-cmake-linux
- Owner: scyth3-c
- Created: 2021-09-28T21:44:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-09T18:23:17.000Z (over 3 years ago)
- Last Synced: 2025-03-10T06:35:03.246Z (2 months ago)
- Language: C++
- Size: 5.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# all already for glfw-glad-cmake-linux
glfw3, glad and glew with cmake in linux,
prepare everything to compile and work with glfw and glad in c++it is only necessary to clone the repository and run the bash files in the [INSTALL](./INSTALL%20GLFW%20-%20GLAD%20-%20GLEW) folder either as "glfw" or "glad".
```
cd 'INSTALL GLFW - GLAD - GLEW'/
sudo bash 1_download_zip.sh
sudo bash installGlfw.sh
sudo bash installGlad.sh
sudo bash installGlew.sh
```
if there is an error due to dependencies or something like that try it:
```
sudo bash install basicOptionalRequeriment.sh
```# cmake
once everything is installed to run, you can do it in the following ways
(folder root)```
cmake . && make
./source/source
```
OR
```
bash cmake_make.sh```
# clean
to erase cmake traces and make everything cleaner try in the root of the folder:
```
bash clean.sh```
# code
in the "source" folder you will find the source files where all the code will be placed.
in "ventana.cpp" the main code for configuration and use of glfw is centered
## ventana.hpp format guide

SOURCE CODE [ventana.cpp]