PageSourceSearch

https://ogldev.org/instructions.html

html ogldev.org collected 2026-09-24 18:23:40 UTC 5,510 bytes, 97 lines download raw bytes

1<!doctype html>
2<html lang="en">
3<head>
4<!-- Google tag (gtag.js) -->
vendor: 64 bytes, lines 4-5
4
5<script async src="https://www.googletagmanager.com/gtag/js?id=
5G-0B8SXQJEDD
vendor: 12 bytes, line 5
5"></script>
6<script>
7  
vendor: 134 bytes, lines 7-11
7window.dataLayer = window.dataLayer || [];
8  function gtag(){dataLayer.push(arguments);}
9  gtag('js', new Date());
10
11  gtag('config', '
11G-0B8SXQJEDD
vendor: 4 bytes, line 11
11');
12</script>
12
13
14    <meta charset="utf-8">
15    <meta name="viewport" content="width=device-width, initial-scale=1">
16    <meta http-equiv="X-UA-Compatible" content="IE=edge">
17  <title>Instructions</title>
18  		<meta name="description" content="Instructions for setting up and building the OGLDEV OpenGL tutorial source code.">
19  		<link rel="canonical" href="https://ogldev.org/instructions.html" />
20        <meta property="og:type" content="website">
21        <meta property="og:title" content="Instructions - OGLDEV">
22        <meta property="og:description" content="Instructions for setting up and building the OGLDEV OpenGL tutorial source code.">
23        <meta property="og:url" content="https://ogldev.org/instructions.html">
24        <meta property="og:image" content="https://ogldev.org/www/logo_hdpi.png">
25        <meta name="twitter:card" content="summary">
26        <meta name="twitter:title" content="Instructions - OGLDEV">
27        <meta name="twitter:description" content="Instructions for setting up and building the OGLDEV OpenGL tutorial source code.">
28        <meta name="twitter:image" content="https://ogldev.org/www/logo_hdpi.png">
29          <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600">
30        <link rel="stylesheet" href="www/style.css">
31        <link rel="stylesheet" href="www/print.css" media="print">
32
33</head>
34    <body class="setup-page">
35        <header id="navigation">
36            <a id="logo" href="index.html" title="Homepage">
37                <img src="www/logo_hdpi.png" alt="OGLDEV logo">
38            </a>
39
40            <div class="nav-links no-print">
41                <ul class="primary-links">
42                    <li><a href="https://www.youtube.com/channel/UC7Z1FTCdSln_qFKK95AWplw"> Youtube </a></li>
43                    <li><a href="instructions.html" class="highlight"> Instructions </a></li>
44                    <li><a href="books.html" class="featured-link"> Books (new!) </a></li>
45                    <li><a href="faq.html"> FAQ </a></li>
46                    <li><a href="news.html"> News </a></li>
47                    <li><a href="contact.html"> Contact </a></li>
48                    <li><a href="donate.html"> Donate </a></li>
49                </ul>
50
51                <ul class="utility-links">
52                    <li><a href="https://github.com/emeiri/ogldev"> Get the source </a></li>
53                    <li><a href="http://jeux.developpez.com/tutoriels/OpenGL-ogldev/"> Français </a></li>
54                    <li><a href="http://triplepointfive.github.io/ogltutor/"> Pусский </a></li>
55                    <li><a href="https://www.zhihu.com/column/c_1375900139991678976"> 中文 </a></li>
56                </ul>
57            </div>
58        </header>
59
60        <main id="content">
61            <section class="setup-intro">
62                <h3>Instructions</h3>
63                <p>The tutorials are written in C++. The expectation is that readers already have experience with C++ and general software development practices.</p>
64                <p>The primary requirement is a GPU that supports at least OpenGL 3.3 (some tutorials, such as tessellation, require OpenGL 4.x).</p>
65            </section>
66
67            <section>
68                <h4>Get the source</h4>
69                <p>The code is maintained on GitHub and can be cloned with submodules:</p>
70                <code>git clone --recurse-submodules https://github.com/emeiri/ogldev.git</code>
71
72                <p>Then install Ubuntu dependencies:</p>
73                <code>cd ogldev && sudo ./install_requirements_ubuntu.sh</code>
74            </section>
75
76            <section>
77                <h4>Setup videos</h4>
78                <p>A video tutorial for setting up Ubuntu for OpenGL development:</p>
79                <div class="video-embed">
80                    <iframe loading="lazy" width="560" height="315" src="https://www.youtube-nocookie.com/embed/h2cP6sQYdf0" title="Ubuntu OpenGL setup" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
81                </div>
82
83                <p>If you are on Windows, watch this setup guide:</p>
84                <div class="video-embed">
85                    <iframe loading="lazy" width="560" height="315" src="https://www.youtube-nocookie.com/embed/WMTxY14aJJE" title="Windows OpenGL setup" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
86                </div>
87
88                <p>For additional setup walkthroughs by Frahaan Hussain, check tutorials for <a href="https://www.youtube.com/watch?v=mGC4T9AG4nc&index=2&list=PLRtjMdoYXLf6zUMDJVRZYV-6g6n62vet8">Windows</a> and <a href="https://www.youtube.com/watch?v=Tz0dq2krCW8&list=PLRtjMdoYXLf6zUMDJVRZYV-6g6n62vet8&index=1">Mac</a>.</p>
89            </section>
90
91            <section>
92                <h4>Arch Linux</h4>
93                <p>Neils Heidbrook has created a similar installation script for Arch Linux. It is available <a href="https://github.com/nielsbiene/opengl">on GitHub</a>.</p>
94            </section>
95        </main>
96</body>
97</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.