Check the Desktop development with C++ workload box as you download. If necessary scroll down the page. Click “Language pack” and check “English” box. {“smallUrl”:“https://www. wikihow. com/images/thumb/2/23/Set-Up-SDL-with-Visual-Studio-2017-Step-3-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-3-Version-2. jpg”,“bigUrl”:"/images/thumb/2/23/Set-Up-SDL-with-Visual-Studio-2017-Step-3-Version-2. jpg/aid10454506-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-3-Version-2. jpg",“smallWidth”:460,“smallHeight”:345,“bigWidth”:728,“bigHeight”:546,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}
If folders GL and GLP exist it’s okay. If they do not, right click in empty area > select New > Folder > type GL > hit ↵ Enter. By same way create folder GLP.
If you already have downloaded GLEW binaries and have them in folder GL, it’s okay. If you do not have them, right-click on following link and select Open Link in New Window http://glew. sourceforge. net. Below Downloads, besides Binaries, click “Windows 32-bit and 64-bit”. (If you see stripes in folder’s icon right click and select “Extract all”) In downloading window click folder glew-2. 1. 0 > right click > select Copy. (If folder glew-2. 1. 0-win32 is downloaded, double click it to get glew-2. 1. 0). Navigate to C: > GL > right click > select Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Click twice (no double) on name glew-2. 1. 0 and rename (by copy and paste if you prefer) to GLEWbin
In downloading window if you see stripes on folder’s icon (compressed folder), double click it. Click folder freeglut (uncompressed) > right click > select Copy. Navigate to C: > GL. Right click > select Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Click twice (no double) on its name and type (or copy and paste) GLUTbin Now in folder GL you have folders: GLUTbin and GLEWbin.
In downloading window if you see stripes on folder’s icon (compressed folder), double click it. Click folder freeglut (uncompressed) > right click > select Copy. Navigate to C: > GL. Right click > select Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Click twice (no double) on its name and type (or copy and paste) GLUTbin Now in folder GL you have folders: GLUTbin and GLEWbin.
In downloading window if you see stripes on folder’s icon (compressed folder), double click it. Click folder freeglut (uncompressed) > right click > select Copy. Navigate to C: > GL. Right click > select Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Click twice (no double) on its name and type (or copy and paste) GLUTbin Now in folder GL you have folders: GLUTbin and GLEWbin.
If Visual Studio is not open, open it, click Create a new project click Empty Project > Next. In Configure your new project wizard for “Project name” type (or copy and paste) GLUTx32-GLEWx32-0 Copy C:\GLP and paste in “Location” text field. Check “Place solution and project in the same directory”. Click Create. Wait till Visual Studio instance appears. If Visual Studio is open. In main menu click File > New > Project… > the rest as above.
In Configure your new project wizard for “Project name” type (or copy and paste) GLUTx32-GLEWx32-0 Copy C:\GLP and paste in “Location” text field. Check “Place solution and project in the same directory”. Click Create. Wait till Visual Studio instance appears.
In the solution explorer window, right click the Source Files folder (the last one) > click Add > New Item…. In Add New Item - GLUTx32-GLEWx32-0 window, click C++ File (. cpp) (the first one) from the middle of the window. In the Name text box, type (or copy and paste) Main. cpp Location should be C:\GLP\GLUTx32-GLEWx32-0\ Click the Add button. The file will open in the main text editor but leave the file blank for now.
1. Main menu. In GLUTx32-GLEWx32-0 Property Pages wizard main menu, in Configuration: select Active(Debug) > Platform: Win32 or x86 > click Configuration Manager. “Configuration Manager” wizard In “Active solution platform:” select x86 or Win32 In “Platform”, Win32 or x86 is automatically selected Click Close. 2. Additional Include Directories. Open the C/C++ menu. Click General > Additional Include Directories > click the down arrow at the right of the field > click <Edit. . .
. {“smallUrl”:“https://www. wikihow. com/images/thumb/6/62/Opengl-1. png/460px-Opengl-1. png”,“bigUrl”:"/images/thumb/6/62/Opengl-1. png/700px-Opengl-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 2. 1. Copy C:\GL\GLUTbin\include > in Additional Include Directories wizard, click first icon > paste. 2. 2. Copy C:\GL\GLEWbin\include > click again first icon > paste. {“smallUrl”:“https://www. wikihow. com/images/thumb/5/59/OpenGL-12. png/460px-OpenGL-12. png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12. png/728px-OpenGL-12. png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} In Additional Include Directories wizard click OK. 3. Additional Library Directories. Open the Linker drop-down menu, and click General > click Additional Library Directories entry > down arrow at the right of the field > <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/0/0f/Opengl-2-2. png/460px-Opengl-2-2. png”,“bigUrl”:"/images/thumb/0/0f/Opengl-2-2. png/699px-Opengl-2-2. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 3. 1. Copy C:\GL\GLUTbin\lib > in Additional Library Directories wizard click first icon > paste. 3. 2. Copy C:\GL\GLEWbin\lib\Release\Win32 > click first icon > paste. In Additional Library Directories wizard click OK. 4. Additional Dependencies. In the Linker drop-down menu, click Input > click the Additional Dependencies entry > the down arrow at the right of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/3/32/Opengl-3-1. png/460px-Opengl-3-1. png”,“bigUrl”:"/images/thumb/3/32/Opengl-3-1. png/699px-Opengl-3-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Copy freeglut. lib; glew32. lib; opengl32. lib and paste on the top-most text box of the Additional Dependencies wizard. Click OK in the Additional Dependencies wizard. {“smallUrl”:“https://www. wikihow. com/images/thumb/7/77/Additional-Dependencies-3. png/460px-Additional-Dependencies-3. png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3. png/652px-Additional-Dependencies-3. png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 5. System. In the Linker drop-down menu, click System > SubSystem. Click the down arrow and select Console(/SUBSYSTEM:CONSOLE) from the drop-down menu. Click Apply, then OK on the GLUTx32-GLEWx32-0 Property Pages wizard.
“Configuration Manager” wizard In “Active solution platform:” select x86 or Win32 In “Platform”, Win32 or x86 is automatically selected Click Close.
2. 1. Copy C:\GL\GLUTbin\include > in Additional Include Directories wizard, click first icon > paste. 2. 2. Copy C:\GL\GLEWbin\include > click again first icon > paste. {“smallUrl”:“https://www. wikihow. com/images/thumb/5/59/OpenGL-12. png/460px-OpenGL-12. png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12. png/728px-OpenGL-12. png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} In Additional Include Directories wizard click OK.
3. 1. Copy C:\GL\GLUTbin\lib > in Additional Library Directories wizard click first icon > paste. 3. 2. Copy C:\GL\GLEWbin\lib\Release\Win32 > click first icon > paste. In Additional Library Directories wizard click OK.
Copy freeglut. lib; glew32. lib; opengl32. lib and paste on the top-most text box of the Additional Dependencies wizard. Click OK in the Additional Dependencies wizard. {“smallUrl”:“https://www. wikihow. com/images/thumb/7/77/Additional-Dependencies-3. png/460px-Additional-Dependencies-3. png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3. png/652px-Additional-Dependencies-3. png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. Double click the “Path” (or “PATH”) Variable in the “System Variables” section. “Edit environement variable” wizard is thrown. Copy C:\GL\GLUTbin\bin > click New > Paste. Copy C:\GL\GLEWbin\bin\Release\Win32 > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard asking “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLUTx32-GLEWx32-0. sln”, the first one. Now your project is open ready for test.
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. Double click the “Path” (or “PATH”) Variable in the “System Variables” section. “Edit environement variable” wizard is thrown. Copy C:\GL\GLUTbin\bin > click New > Paste. Copy C:\GL\GLEWbin\bin\Release\Win32 > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard asking “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLUTx32-GLEWx32-0. sln”, the first one. Now your project is open ready for test.
You should see two windows: one black (the console) and other with white square in black background. If you do not see that, do bellow step. {“smallUrl”:“https://www. wikihow. com/images/thumb/3/33/Freeglut-1. png/460px-Freeglut-1. png”,“bigUrl”:"/images/thumb/3/33/Freeglut-1. png/501px-Freeglut-1. png",“smallWidth”:460,“smallHeight”:514,“bigWidth”:501,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}
You should see two windows: one black (the console) and other with white square in black background. If you do not see that, do bellow step. {“smallUrl”:“https://www. wikihow. com/images/thumb/3/33/Freeglut-1. png/460px-Freeglut-1. png”,“bigUrl”:"/images/thumb/3/33/Freeglut-1. png/501px-Freeglut-1. png",“smallWidth”:460,“smallHeight”:514,“bigWidth”:501,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}
In “Error List” if you see error about file with extension . h go to previous Part, step 1, sub step 2. Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, sub step 3. Additional Library Directories, and follow instructions. Also to step 1, sub step 4. Additional Library Directories. “entry point must be defined” go to step 1, sub step 5. System and follow instructions. Thrown wizard about system or file . dll go to previous Part, step 2 and 3 and follow instructions. For other errors, if you cannot correct them, close Visual Studio > delete project folder GLUTx32-GLEWx32-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 3. Good job.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, sub step 2. Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, sub step 3. Additional Library Directories, and follow instructions. Also to step 1, sub step 4. Additional Library Directories. “entry point must be defined” go to step 1, sub step 5. System and follow instructions. Thrown wizard about system or file . dll go to previous Part, step 2 and 3 and follow instructions. For other errors, if you cannot correct them, close Visual Studio > delete project folder GLUTx32-GLEWx32-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 3. Good job.
On Export template Wizard check Project Template, if it’s not checked. Click Next >. On Select Template Options, if Template name is GLUTx32-GLEWx32-0 it’s okay. If it’s not, type (or copy and paste) GLUTx32-GLEWx32-0. Click Finish. Template has been created. Close thrown window with template’s path.
On Export template Wizard check Project Template, if it’s not checked. Click Next >. On Select Template Options, if Template name is GLUTx32-GLEWx32-0 it’s okay. If it’s not, type (or copy and paste) GLUTx32-GLEWx32-0. Click Finish. Template has been created. Close thrown window with template’s path.
In Create a new project wizard, in the list of templates, select GLUTx32-GLEWx32-0 > click Next. In Configure your new project wizard, if “Project name” is GLUTx32-GLEWx32-01 it’s okay. If is not copy GLUTx32-GLEWx32-01 and paste. Location should be C:\GLP. If it’s not, copy C:\GLP\ and paste. Be sure Place solution and project in the same directory is checked. Click Create. In Visual Studio’s GUI main menu, select x86 > hit Ctrl+F5. You should see two windows: one black (the console) and other with white square in black background. Good job. TIP. Remember, when you create project with this template, in Visual Studio GUI main menu select x86.
Location should be C:\GLP. If it’s not, copy C:\GLP\ and paste. Be sure Place solution and project in the same directory is checked. Click Create.
Location should be C:\GLP. If it’s not, copy C:\GLP\ and paste. Be sure Place solution and project in the same directory is checked. Click Create.
Location should be C:\GLP. If it’s not, copy C:\GLP\ and paste. Be sure Place solution and project in the same directory is checked. Click Create.
If folders GL and GLP exist it’s okay. If they do not, right click in empty area > select New > Folder > type GL > hit ↵ Enter. By same way create folder GLP.
If Visual Studio is not open. Open it > Click Create a new project > Empty Project > Next. In Configure your new project wizard, for “Project name”, type (or copy and paste) GLUTx64-GLEWx64-0 “Location” should be C:\GLP. If it’s not, delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory”. Click Create. Wait till Visual Studio instance appears. If it is open. Click File > New > Project… . The rest as above.
In Configure your new project wizard, for “Project name”, type (or copy and paste) GLUTx64-GLEWx64-0 “Location” should be C:\GLP. If it’s not, delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory”. Click Create. Wait till Visual Studio instance appears.
In the Solution Explorer window, right click the Source Files folder (the last one) > click Add > New Item…. In the Add New Item - GLUTx64-GLEWx64-0 window, click C++ File (. cpp) (the first one) from the middle of the window. In the Name text box, type Main. cpp. The Location is C:\GLP\GLUTx64-GLEWx64-0. If it’s not copy C:\GLP\GLUTx64-GLEWx64-0\ and paste. Click the Add button. The file will open in the main text editor but leave the file blank for now.
1. Main menu. In Configuration: select Active(Debug) > Platform: x64 > click Configuration Manager. In “Configuration Manager” wizard In “Active solution platform:” select x64 In “Platform”, x64 is automatically selected Click Close. 2. Additional Include Directories. Open the C/C++ menu. Click General > Additional Include Directories > click the down arrow at the right of the field > click <Edit. . .
. {“smallUrl”:“https://www. wikihow. com/images/thumb/6/62/Opengl-1. png/460px-Opengl-1. png”,“bigUrl”:"/images/thumb/6/62/Opengl-1. png/700px-Opengl-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 2. 1. Copy C:\GL\GLUTbin\include > in Additional Include Directories wizard, click first icon > paste. 2. 2 Copy C:\GL\GLEWbin\include > click again first icon > paste. {“smallUrl”:“https://www. wikihow. com/images/thumb/5/59/OpenGL-12. png/460px-OpenGL-12. png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12. png/728px-OpenGL-12. png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} In Additional Include Directories wizard click OK. 3. Additional Library Directories. Open the Linker drop-down menu, and click General > click Additional Library Directories entry > down arrow at the right of the field > <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/0/0f/Opengl-2-2. png/460px-Opengl-2-2. png”,“bigUrl”:"/images/thumb/0/0f/Opengl-2-2. png/699px-Opengl-2-2. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 3. 1. Copy C:\GL\GLUTbin\lib\x64 > in Additional Library Directories wizard click first icon > paste. 3. 2. Copy C:\GL\GLEWbin\lib\Release\x64 > click first icon > paste. In Additional Library Directories wizard click OK. 4. Additional Dependencies. In the Linker drop-down menu, click Input > click the Additional Dependencies entry > the down arrow at the right of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/3/32/Opengl-3-1. png/460px-Opengl-3-1. png”,“bigUrl”:"/images/thumb/3/32/Opengl-3-1. png/699px-Opengl-3-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Copy freeglut. lib; glew32. lib; opengl32. lib and paste on the top-most text box of the Additional Dependencies wizard. Click OK in the Additional Dependencies wizard. {“smallUrl”:“https://www. wikihow. com/images/thumb/7/77/Additional-Dependencies-3. png/460px-Additional-Dependencies-3. png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3. png/652px-Additional-Dependencies-3. png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 5. System. In the Linker drop-down menu, click System > SubSystem. Click the down arrow and select Console(/SUBSYSTEM:CONSOLE) from the drop-down menu. Click Apply, then OK on the GLUTx64-GLEWx64-0 Property Pages wizard.
1. Main menu. In Configuration: select Active(Debug) > Platform: x64 > click Configuration Manager. In “Configuration Manager” wizard In “Active solution platform:” select x64 In “Platform”, x64 is automatically selected Click Close. 2. Additional Include Directories. Open the C/C++ menu. Click General > Additional Include Directories > click the down arrow at the right of the field > click <Edit. . .
. {“smallUrl”:“https://www. wikihow. com/images/thumb/6/62/Opengl-1. png/460px-Opengl-1. png”,“bigUrl”:"/images/thumb/6/62/Opengl-1. png/700px-Opengl-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 2. 1. Copy C:\GL\GLUTbin\include > in Additional Include Directories wizard, click first icon > paste. 2. 2 Copy C:\GL\GLEWbin\include > click again first icon > paste. {“smallUrl”:“https://www. wikihow. com/images/thumb/5/59/OpenGL-12. png/460px-OpenGL-12. png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12. png/728px-OpenGL-12. png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} In Additional Include Directories wizard click OK. 3. Additional Library Directories. Open the Linker drop-down menu, and click General > click Additional Library Directories entry > down arrow at the right of the field > <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/0/0f/Opengl-2-2. png/460px-Opengl-2-2. png”,“bigUrl”:"/images/thumb/0/0f/Opengl-2-2. png/699px-Opengl-2-2. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 3. 1. Copy C:\GL\GLUTbin\lib\x64 > in Additional Library Directories wizard click first icon > paste. 3. 2. Copy C:\GL\GLEWbin\lib\Release\x64 > click first icon > paste. In Additional Library Directories wizard click OK. 4. Additional Dependencies. In the Linker drop-down menu, click Input > click the Additional Dependencies entry > the down arrow at the right of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/3/32/Opengl-3-1. png/460px-Opengl-3-1. png”,“bigUrl”:"/images/thumb/3/32/Opengl-3-1. png/699px-Opengl-3-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Copy freeglut. lib; glew32. lib; opengl32. lib and paste on the top-most text box of the Additional Dependencies wizard. Click OK in the Additional Dependencies wizard. {“smallUrl”:“https://www. wikihow. com/images/thumb/7/77/Additional-Dependencies-3. png/460px-Additional-Dependencies-3. png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3. png/652px-Additional-Dependencies-3. png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en. wikipedia. org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 5. System. In the Linker drop-down menu, click System > SubSystem. Click the down arrow and select Console(/SUBSYSTEM:CONSOLE) from the drop-down menu. Click Apply, then OK on the GLUTx64-GLEWx64-0 Property Pages wizard.
In “Configuration Manager” wizard In “Active solution platform:” select x64 In “Platform”, x64 is automatically selected Click Close.
2. 1. Copy C:\GL\GLUTbin\include > in Additional Include Directories wizard, click first icon > paste. 2. 2 Copy C:\GL\GLEWbin\include > click again first icon > paste. {“smallUrl”:“https://www. wikihow. com/images/thumb/5/59/OpenGL-12. png/460px-OpenGL-12. png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12. png/728px-OpenGL-12. png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} In Additional Include Directories wizard click OK.
3. 1. Copy C:\GL\GLUTbin\lib\x64 > in Additional Library Directories wizard click first icon > paste. 3. 2. Copy C:\GL\GLEWbin\lib\Release\x64 > click first icon > paste. In Additional Library Directories wizard click OK.
Copy freeglut. lib; glew32. lib; opengl32. lib and paste on the top-most text box of the Additional Dependencies wizard. Click OK in the Additional Dependencies wizard. {“smallUrl”:“https://www. wikihow. com/images/thumb/7/77/Additional-Dependencies-3. png/460px-Additional-Dependencies-3. png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3. png/652px-Additional-Dependencies-3. png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. Double click the “Path” (or “PATH”) Variable in the “System Variables” section. “Edit environement variable” wizard is thrown. Copy C:\GL\GLUTbin\bin\x64 > click New > Paste. Copy C:\GL\GLEWbin\bin\Release\x64 > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard asking “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLUTx64-GLEWx64-0. sln”, the first one. Now your project is open ready for test.
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. Double click the “Path” (or “PATH”) Variable in the “System Variables” section. “Edit environement variable” wizard is thrown. Copy C:\GL\GLUTbin\bin\x64 > click New > Paste. Copy C:\GL\GLEWbin\bin\Release\x64 > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard asking “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLUTx64-GLEWx64-0. sln”, the first one. Now your project is open ready for test.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, sub step ‘“2. Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, sub step 3. Additional Library Directories, and follow instructions. Also to sub-step 4. Additional Dependencies. “entry point must be defined” go to previous Part step 1, sub step ‘5. System and follow instructions. Thrown wizard about System or file . dll go previous Part, step 2 and 3, and follow instructions. For other errors, if you cannot correct them, close Visual Studio > delete project folder GLUTx64-GLEWx64 which lives in C:\GLP > open Visual Studio > repeat set up from Part 7. Good job.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, sub step ‘“2. Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, sub step 3. Additional Library Directories, and follow instructions. Also to sub-step 4. Additional Dependencies. “entry point must be defined” go to previous Part step 1, sub step ‘5. System and follow instructions. Thrown wizard about System or file . dll go previous Part, step 2 and 3, and follow instructions. For other errors, if you cannot correct them, close Visual Studio > delete project folder GLUTx64-GLEWx64 which lives in C:\GLP > open Visual Studio > repeat set up from Part 7. Good job.
On Export template Wizard check Project Template, if it’s not checked. Click Next >. On Select Template Options, if Template name is GLUTx64-GLEWx64-0 it’s okay. If it’s not, type (or copy and paste) GLUTx64-GLEWx64-0 Click Finish. Template has been created. Close thrown window with template’s path.
On Export template Wizard check Project Template, if it’s not checked. Click Next >. On Select Template Options, if Template name is GLUTx64-GLEWx64-0 it’s okay. If it’s not, type (or copy and paste) GLUTx64-GLEWx64-0 Click Finish. Template has been created. Close thrown window with template’s path.
In Create a new project wizard, in templates list, select (if necessary scroll down the list) GLUTx64-GLEWx64-0 > click Next. In Configure your new project wizard, in “‘Project name”’ is GLUTx64-GLEWx64-01 it’s okay. If it’s not, type (or copy and paste) GLUTx64-GLEWx64-01 If Location is C:\GLP, it’s okay. If it’s not, copy C:\GLP, and paste. Be sure Place solution and project in the same directory is checked. Click Create. In Visual Studio’s GUI main menu, select x64 > hit Ctrl+F5. TIP. When you create project with this template remember in Visual Studio GUI’s main menu select x64.
If folders GL and GLP exist it’s okay. If they do not, right click in empty area > select New > Folder > type GL > hit ↵ Enter. By same way create folder GLP.
If the downloaded folder doesn’t contain line with stripes (unzipped folder) click it > right click > Copy. (If downloaded folder’s icon contains vertical line with stripes (zipped folder), double click it for get unzipped folder, (or alternatively, click folder > right click > in drop-down menu select Extract all). When unzipping (extracting files) is finished, click unzip folder cmake-3. 25. 2-windows-x86_64. zip (or latest) > right click > Copy. ) Go to drive (directory) C: > GL > right click > Paste. (Alternatively click unzipped folder “cmake-3. 25. 2-windows-x86_64” and drag into folder “GL”). When copying is finished click folder “cmake-3. 25. 2-windows-x86_64” > right click > select “Rename” > type CMake > hit ↵ Enter > double click it > double click folder bin > inside you should see CMake’s logo next to file name cmake-gui > double click this file. If wizard “Windows protect your PC” appears, click More information > Run anyway. Now on your screen you have CMake GUI. Each time you need CMake, navigate to C:\ > GL > double click folder CMake > double click “bin” > double click file cmake-gui (the one with CMake’s logo).
After downloading click “freeglut-3. 2. 2. zip” (or latest version) > in thrown window click “freeglut-3. 2. 2” > right click > Copy (Alternatively if “Copy to . . . " option exists instead click it > copy C:\GL\ and paste in thrown wizard > click OK). If you see letter Z (zipped) on folder’s icon, double click it for get folder without Z (unzipped). Go to C:\ > GL > right click > Paste. Click on folder “freeglut-3. 2. 2” > right click > click “Rename” > type (or copy and paste): GLUTsrc > hit ↵ Enter.
After downloading click “freeglut-3. 2. 2. zip” (or latest version) > in thrown window click “freeglut-3. 2. 2” > right click > Copy (Alternatively if “Copy to . . . " option exists instead click it > copy C:\GL\ and paste in thrown wizard > click OK). If you see letter Z (zipped) on folder’s icon, double click it for get folder without Z (unzipped). Go to C:\ > GL > right click > Paste. Click on folder “freeglut-3. 2. 2” > right click > click “Rename” > type (or copy and paste): GLUTsrc > hit ↵ Enter.
If you see letter Z (zipped) on folder’s icon, double click it for get folder without Z (unzipped).
In downloaded window click folder glew-2. 1. 0 (or latest) > right click > Copy. Navigate to C:\ > GL. Right click > Paste. Rename folder to GLEWsrc > hit ↵ Enter. Now in folder GL you have folders GLUTsrc and GLEWsrc.
In downloaded window click folder glew-2. 1. 0 (or latest) > right click > Copy. Navigate to C:\ > GL. Right click > Paste. Rename folder to GLEWsrc > hit ↵ Enter. Now in folder GL you have folders GLUTsrc and GLEWsrc.
Go to CMake GUI. See below image. {“smallUrl”:“https://www. wikihow. com/images/thumb/f/fc/Cmake_3. png/460px-Cmake_3. png”,“bigUrl”:”/images/thumb/f/fc/Cmake_3. png/728px-Cmake_3. png”,“smallWidth”:460,“smallHeight”:345,“bigWidth”:728,“bigHeight”:546,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>”} Where is the source code: Copy (attention: do not copy any space)C:/GL/GLUTsrc and paste in text field.
Where to build the binaries: Copy (attention: do not copy any space)C:/GL/GLUTsrc/build and paste in text field.
Configure and generate.
In CMake GUI, click Configure > in wizard Create Directory click Yes > in wizard “Specify the generator for this project” click Finish.
When, in CMake GUI, you read: “Configuring done”, click Generate.
You should read: “Generating done”.
If, instead, wizard “Error” is thrown, click OK > click “File” > click “Delete Cache” > in thrown wizard “Delete Cache”, click Yes.
Build your solution.
Navigate to C: > GL > GLUTsrc > build.
Double click “freeglut.
sln”, or “freeglut”, or “ALL_BUILD.
vcxproj”.
An instance of Visual Studio appears.
Wait until in main menu, Build entry appears.
Click Build > Build Solution (the first option).
Wait till you read the last line in “Output” window: ========== Build: 28 succeeded, 0 failed, 0 up-to-date, 1 skipped” ========== Number of “succeeded” changes in freeglut versions.
Navigate to C:\GL\GLUTsrc\build\lib\Debug .
Inside you should see file freeglutd.
lib below other files.
Close this Visual Studio GUI.
Copy (attention: do not copy any space)C:/GL/GLEWsrc/build/cmake and paste in first text field. Copy (attention: do not copy any space)C:/GL/GLEWsrc/build and paste in second text field. Configure and generate. In CMake GUI, click Configure > in wizard Create Directory click Yes > in wizard “Specify the generator for this project” click Finish. When, in CMake GUI, you read: “Configuring done”, click Generate. You should read: “Generating done”. Navigate to C:\GL\GLEWsrc\build . Double click “glew. sln”, or “glew”, or “ALL_BUILD. vcxproj”. An instance of Visual Studio appears. Wait until in main menu Build entry appears. Click Build > Build Solution (the first option). Wait till you read the last line in “Output” window: ========== Build: 6 succeeded, 0 failed, 0 up-to-date, 2 skipped" ========== Number of “succeeded” changes in glew versions. Navigate to C:\GL\GLEWsrc\build\lib\Debug . Inside you should see file glew32d. lib among other files. Close Cmake GUI.
Wait till you read the last line in “Output” window: ========== Build: 6 succeeded, 0 failed, 0 up-to-date, 2 skipped" ========== Number of “succeeded” changes in glew versions.
Wait till you read the last line in “Output” window: ========== Build: 6 succeeded, 0 failed, 0 up-to-date, 2 skipped" ========== Number of “succeeded” changes in glew versions.
Wait till you read the last line in “Output” window: ========== Build: 6 succeeded, 0 failed, 0 up-to-date, 2 skipped" ========== Number of “succeeded” changes in glew versions.
If Visual Studio is not open. Open it > Click Create a new project > Empty Project > Next. In Configure your new project wizard, for “Project name”, type (or copy and paste) GLUTsrc-GLEWsrc-0 “Location” should be C:\GLP. If it’s not, delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory”. Click Create. Wait till Visual Studio instance appears. If it is open. Click File > New > Project… . The rest as above.
In Configure your new project wizard, for “Project name”, type (or copy and paste) GLUTsrc-GLEWsrc-0 “Location” should be C:\GLP. If it’s not, delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory”. Click Create. Wait till Visual Studio instance appears.
In Visual Studio main menu select x64. In “Solution Explorer” wizard, right click the Source Files (the last one) > click Add > New Item…. In the Add New Item - GLUTsrc-GLEWsrc wizard, click C++ File (. cpp) (the first one) from the middle of the window. In the Name text box, type Main. cpp. Location should be C:\GLP\GLUTsrc-GLEWsrc. If it’s not, copy C:\GLP\GLUTsrc-GLEWsrc\ and paste. Click the Add button. The file will open in the main text editor but leave the file blank for now.
1. Main menu. In Configuration: select Active(Debug) In Platform entry select x64 > click Configuration Manager. . . . In Active solution platform: select x64. In Platform entry, x64 is automatically selected. Click Close. 2. Additional Include Directories. Open C/C++ > General > In beside menu select the first one, Additional Include Directories > click the down arrow at the end of the field > click Edit. . . {“smallUrl”:“https://www. wikihow. com/images/thumb/6/62/Opengl-1. png/460px-Opengl-1. png”,“bigUrl”:"/images/thumb/6/62/Opengl-1. png/700px-Opengl-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 1.
Copy C:\GL\GLUTsrc\include > click first icon in Additional Include Directories wizard > paste.
2.
Copy C:\GL\GLEWsrc\include > click first icon > paste.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/5/59/OpenGL-12.
png/460px-OpenGL-12.
png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12.
png/728px-OpenGL-12.
png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Click OK in Additional Include Directories wizard.
3.
Additional Library Directories.
Double click Linker > click General > Additional Library Directories > click the down arrow at the end of the field > click Edit.
.
.
.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/0/0f/Opengl-2-2.
png/460px-Opengl-2-2.
png”,“bigUrl”:"/images/thumb/0/0f/Opengl-2-2.
png/699px-Opengl-2-2.
png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 1.
Copy C:\GL\GLUTsrc\build\lib\Debug > click first icon > paste.
2.
Copy C:\GL\GLEWsrc\build\lib\Debug > click first icon > paste.
In Additional Library Directories wizard, click OK.
4.
Additional Dependencies.
In Linker drop-down menu select Input > in beside menu select the first one, Additional Dependencies > click the down arrow at the end of the field > Edit.
.
.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/3/32/Opengl-3-1.
png/460px-Opengl-3-1.
png”,“bigUrl”:"/images/thumb/3/32/Opengl-3-1.
png/699px-Opengl-3-1.
png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Copy opengl32.
lib; freeglutd.
lib; glew32d.
lib and paste in Additional Dependencies wizard’s upper-most text box In Additional Dependencies wizard, click OK.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/7/77/Additional-Dependencies-3.
png/460px-Additional-Dependencies-3.
png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3.
png/652px-Additional-Dependencies-3.
png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 5.
System.
In Linker drop-down menu select System > in beside menu select the first one, SubSystem > click the down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE).
In GLUTsrc-GLEWsrc-0 Property Pages wizard, click Apply and then OK.
1. Main menu. In Configuration: select Active(Debug) In Platform entry select x64 > click Configuration Manager. . . . In Active solution platform: select x64. In Platform entry, x64 is automatically selected. Click Close. 2. Additional Include Directories. Open C/C++ > General > In beside menu select the first one, Additional Include Directories > click the down arrow at the end of the field > click Edit. . . {“smallUrl”:“https://www. wikihow. com/images/thumb/6/62/Opengl-1. png/460px-Opengl-1. png”,“bigUrl”:"/images/thumb/6/62/Opengl-1. png/700px-Opengl-1. png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 1.
Copy C:\GL\GLUTsrc\include > click first icon in Additional Include Directories wizard > paste.
2.
Copy C:\GL\GLEWsrc\include > click first icon > paste.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/5/59/OpenGL-12.
png/460px-OpenGL-12.
png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12.
png/728px-OpenGL-12.
png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Click OK in Additional Include Directories wizard.
3.
Additional Library Directories.
Double click Linker > click General > Additional Library Directories > click the down arrow at the end of the field > click Edit.
.
.
.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/0/0f/Opengl-2-2.
png/460px-Opengl-2-2.
png”,“bigUrl”:"/images/thumb/0/0f/Opengl-2-2.
png/699px-Opengl-2-2.
png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 1.
Copy C:\GL\GLUTsrc\build\lib\Debug > click first icon > paste.
2.
Copy C:\GL\GLEWsrc\build\lib\Debug > click first icon > paste.
In Additional Library Directories wizard, click OK.
4.
Additional Dependencies.
In Linker drop-down menu select Input > in beside menu select the first one, Additional Dependencies > click the down arrow at the end of the field > Edit.
.
.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/3/32/Opengl-3-1.
png/460px-Opengl-3-1.
png”,“bigUrl”:"/images/thumb/3/32/Opengl-3-1.
png/699px-Opengl-3-1.
png",“smallWidth”:460,“smallHeight”:368,“bigWidth”:700,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Copy opengl32.
lib; freeglutd.
lib; glew32d.
lib and paste in Additional Dependencies wizard’s upper-most text box In Additional Dependencies wizard, click OK.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/7/77/Additional-Dependencies-3.
png/460px-Additional-Dependencies-3.
png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3.
png/652px-Additional-Dependencies-3.
png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} 5.
System.
In Linker drop-down menu select System > in beside menu select the first one, SubSystem > click the down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE).
In GLUTsrc-GLEWsrc-0 Property Pages wizard, click Apply and then OK.
In Active solution platform: select x64. In Platform entry, x64 is automatically selected. Click Close.
1. Copy C:\GL\GLUTsrc\include > click first icon in Additional Include Directories wizard > paste. 2. Copy C:\GL\GLEWsrc\include > click first icon > paste. {“smallUrl”:“https://www. wikihow. com/images/thumb/5/59/OpenGL-12. png/460px-OpenGL-12. png”,“bigUrl”:"/images/thumb/5/59/OpenGL-12. png/728px-OpenGL-12. png",“smallWidth”:460,“smallHeight”:299,“bigWidth”:728,“bigHeight”:473,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"} Click OK in Additional Include Directories wizard.
1. Copy C:\GL\GLUTsrc\build\lib\Debug > click first icon > paste. 2. Copy C:\GL\GLEWsrc\build\lib\Debug > click first icon > paste. In Additional Library Directories wizard, click OK.
Copy opengl32. lib; freeglutd. lib; glew32d. lib and paste in Additional Dependencies wizard’s upper-most text box In Additional Dependencies wizard, click OK. {“smallUrl”:“https://www. wikihow. com/images/thumb/7/77/Additional-Dependencies-3. png/460px-Additional-Dependencies-3. png”,“bigUrl”:"/images/thumb/7/77/Additional-Dependencies-3. png/652px-Additional-Dependencies-3. png",“smallWidth”:460,“smallHeight”:395,“bigWidth”:652,“bigHeight”:560,“licensing”:"<div class="mw-parser-output">
License: <a target="_blank" rel="nofollow noreferrer noopener" class="external text" href="https://en.
wikipedia.
org/wiki/Fair_use">Fair Use</a> (screenshot)
\n</p></div>"}
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. Double click the “Path” (or “PATH”) Variable in the “System Variables” section. “Edit environment variable” wizard is thrown. Copy C:\GL\GLUTsrc\build\bin\Debug > click New > Paste. Copy C:\GL\GLEWsrc\build\bin\Debug > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard asking “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLUTsrc-GLEWsrc-0. sln”, the first one. Now your project is open ready for test.
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. Double click the “Path” (or “PATH”) Variable in the “System Variables” section. “Edit environment variable” wizard is thrown. Copy C:\GL\GLUTsrc\build\bin\Debug > click New > Paste. Copy C:\GL\GLEWsrc\build\bin\Debug > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard asking “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLUTsrc-GLEWsrc-0. sln”, the first one. Now your project is open ready for test.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, sub step 1, sub step 2. Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, sub step 3. Additional Library Directories, and follow instructions. Also to step 1, sub step 4. Additional Library Directories. “entry point must be defined” go to previous Part, step 1, sub step 5. System and follow instructions. Thrown wizard about System or file . dll go to previous Part, steps 2 and 3, and follow instructions. For other errors, if you cannot correct them, close Visual Studio > delete project folder GLUTsrc-GLEWsrc-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 14. Good job.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, sub step 1, sub step 2. Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, sub step 3. Additional Library Directories, and follow instructions. Also to step 1, sub step 4. Additional Library Directories. “entry point must be defined” go to previous Part, step 1, sub step 5. System and follow instructions. Thrown wizard about System or file . dll go to previous Part, steps 2 and 3, and follow instructions. For other errors, if you cannot correct them, close Visual Studio > delete project folder GLUTsrc-GLEWsrc-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 14. Good job.
On Export template Wizard check Project Template, if it’s not checked. Click Next >. On Select Template Options, in Template name text box type (or copy and paste) GLUTsrc-GLEWsrc-0 > click Finish. Template has been created. Close thrown window with template’s path.
On Export template Wizard check Project Template, if it’s not checked. Click Next >. On Select Template Options, in Template name text box type (or copy and paste) GLUTsrc-GLEWsrc-0 > click Finish. Template has been created. Close thrown window with template’s path.
In Visual Studio main menu select x64. Click File > New > Project. . . . In Create a new project wizard, in templates list, select (if necessary scroll down the list) GLUTsrc-GLEWsrc-0 > click Next. In Configure your new project wizard, in “‘Project name”’ text field type (or copy and paste) GLUTsrc-GLEWsrc-01 Copy C:\GLP, and paste in Location text field. Be sure Place solution and project in the same directory is checked. Click Create. In Visual Studio GUI’s main menu select x64 (next to Debug) > hit Ctrl+F5. Good job TIP: Remember, in every project you create with this template, select x64 (next to Debug) in Visual Studio’s GUI.
Set up binaries x86 (32 bits). It’s the easiest. You should start learning set up from here. Set up binaries x64 (64 bits). It targets x64 platform. Choose it only when you have specific reason for doing so. Set up compiled source (also 64 bits). Targets x64 too. The most difficult. The best though.