GithubHelp home page GithubHelp logo

w0lramd / win32openglsetup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmarcos/win32openglsetup

0.0 0.0 0.0 12 KB

OpenGL setup without using GLEW / GLFW / GLU or any other helper libraries.

C++ 85.94% C 7.71% Batchfile 6.36%

win32openglsetup's Introduction

Handmade OpenGL

Setting up OpenGL on Win32 from scratch. No GLEW / GLFW / GLU or any other helper libraries.

Credit to Handmade Hero

Build Steps

I'm working on Windows 10 I hope the steps apply to other versions of Windows.

  • Download and Install Visual Studio Community. Make sure to select Comon Tools For Visual C++ from the feature list so the C compiler gets installed.

  • Make sure to run vcvarsall.bat x64 so the compiler cl and the debugger devenv are available on the Windows terminal. On my machine vcvarsall.bat lives in C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat. You will have to run the script each time you start a console. To automate the process you can create a startup.bat script that gets automatically run each time a console starts.

  • Run the build.bat script included in the repo to build your program

  • If compilation goes right you will get the executable in the build directory. You can also type run as a shortcut.

  • You can run the program in the debugger by running devenv build/main.exe

win32openglsetup's People

Contributors

dmarcos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.