Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple OpenGL Example with GLEW and GLFW3

This repository contains a basic example of using OpenGL with GLEW (OpenGL Extension Wrangler) and GLFW3 (Graphics Library Framework) in Visual Studio. The project demonstrates setting up a window.

Table of Contents

Prerequisites

Before you begin, ensure you have the following software installed:

Installation

  1. Clone the repository with another name:

    git clone https://github.com/arturo-intel/baseGLEW.git new-name
    cd new-name
  2. Rename the following files

    WhatsApp Image 2025-01-21 at 10 37 55_05428bed

    to the new name (i.e. letest)

    WhatsApp Image 2025-01-21 at 10 38 55_b3166465

  3. Open the project in Visual Studio.

    WhatsApp Image 2025-01-21 at 10 39 18_870d7ab0

    A warning message will pop up, click on OK

  4. The solution will still pointing to the "0_base" project.

    WhatsApp Image 2025-01-21 at 10 40 05_65d4620a

    To fix this, remove "0_base" project. Right click over and select delete

    WhatsApp Image 2025-01-21 at 10 40 40_4ec4dd4b

    Click OK

    WhatsApp Image 2025-01-21 at 10 41 05_a8fabd4e

    Then add the exisisting "letest" project by right clicking over the solution and select add existing project

    WhatsApp Image 2025-01-21 at 10 41 50_89b49d29

    Navigate to where the .vcxproj file is and select it.

    WhatsApp Image 2025-01-21 at 10 42 19_1adce079

  5. Done!. Visual Studio project is configured to use all the attached dependencies (GLEW and GLFW3).

    WhatsApp Image 2025-01-21 at 10 42 48_c3d69100

Usage

  1. Build the project in Visual Studio.
  2. Run the executable to see the OpenGL window .

Contributing

Contributions are always welcome! Please follow these steps if you'd like to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch-name).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin feature-branch-name).
  5. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages