Skip to content

MichOchieng/OpenGL_sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL Sandbox

A collection of examples from learn OpenGL

Requirements

Conan
CMake
C Compiler of your choice:

Setup

Mac OS

Install Git

Xcode

Apple ships a binary package of Git with Xcode

Homebrew

Install homebrew if you don't already have it, then:  

brew install git

Install Conan

Python (Recommended as python is needed)
pip install conan
Homebrew
brew install conan
Adding a Profile to Conan

Once Conan is installed create a profile:

conan profile detect

Install Cmake

brew install cmake

Installing dependancies and Building files

On a fresh pull from GitHub run the following in the root directory:

conan install . --build=missing

Use Cmake to build the files with:

cmake --preset conan-release

Followed by

cmake --build --preset conan-release

Now you can run the build:

%% Inside the Build Directory %%
./hello_triangle

About

A collection of examples from learnopengl.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •