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/aid11447104-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.
Click 32-bit Windows binaries. You will get “glfw-3. 3. 8. bin. WIN32” or the latest version. Click the download folder “glfw-3. 3. 7. bin. WIN32” > right click > select copy. Navigate to C: > GL > right click > select paste. Click on “glfw-3. 3. 8. bin. WIN32” > right click > select Rename > type GLFWx32 > hit ↵ Enter. Now in “GL” folder, you have folder GLFWx32.
Click the downloaded folder glew-2. 1. 0 (or latest version) > 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) Rename glew-2. 1. 0 to GLEWbin If folder glew-2. 1. 0-win32 is downloaded, double click it for get glew-2. 1. 0.
Click the downloaded folder glew-2. 1. 0 (or latest version) > 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) Rename glew-2. 1. 0 to GLEWbin If folder glew-2. 1. 0-win32 is downloaded, double click it for get glew-2. 1. 0.
Click the downloaded folder glew-2. 1. 0 (or latest version) > 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) Rename glew-2. 1. 0 to GLEWbin If folder glew-2. 1. 0-win32 is downloaded, double click it for get glew-2. 1. 0.
Click downloaded folder “glm” > right click > Copy. Navigate to C:\GL > right click > Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) When copying is finished, rename glm to GLM
Click downloaded folder “glm” > right click > Copy. Navigate to C:\GL > right click > Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) When copying is finished, rename glm to GLM
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): GLFWx32-GLEWx32-GLM-0 In “Location” delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory” > click Create. Wait until Visual Studio instance appears. If it is open. Click File > New > Project… > Empty Project > Next. The rest as above.
In Configure your new project wizard, for “Project name”, type (or copy and paste): GLFWx32-GLEWx32-GLM-0 In “Location” delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory” > click Create. Wait until Visual Studio instance appears.
In Visual Studio GUI, Solution Explorer wizard, right click the Source Files entry (the last one) > select Add > New Item…. In the Add New Item - GLFWx32-GLEWx32-GLM-0 wizard, click C++ File (. cpp) (the first one) from the middle of the window. In Name text box type Main. cpp. Location should be C:\GLP\GLFWx32-GLEWx32-GLM-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 Configuration: select Active(Debug) > Platform: Win32 or x86 > click Configuration Manager. “Configuration Manager” wizard “Active solution platform:” select x86 or Win32 “Platform” Win32 or x86 is automatically selected Click Close. 2. Additional Include Directories. In GLFWx32-GLEWx32-GLM-0 Property Pages window double click C/C++ > click General > Additional Include Directories > 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\GLFWx32\include and paste in Additional Include Directories wizard’s upper-most text field.
{“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>"} 2.
Copy C:\GL\GLEWbin\include and paste in Additional Include Directories wizard’s upper-most text field.
3.
Copy C:\GL\GLM and paste in Additional Include Directories wizard’s upper-most text field.
In Additional Include Directories wizard click OK.
3.
Additional Library Directories.
In “GLFWx32-GLEWx32-GLM-0 Property Pages” wizard, double click Linker > click General > Additional Library Directories > 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\GLFWx32\lib-vc2022 > click Additional Library Directories wizard’s first icon > Paste. 2. Copy C:\GL\GLEWbin\lib\Release\Win32 > click again Additional Library Directories wizard’s first icon > Paste. Click OK in Additional Library Directories wizard. 4. Additional Dependencies. In “Linker” drop down menu, click Input > Additional Dependencies > down arrow at the end of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg”,“bigUrl”:"/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-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>"} Copy opengl32. lib; glfw3. lib; glfw3dll. lib; glew32. lib and paste on the top-most text box of the Additional Dependencies wizard. In “Additional Dependencies” wizard click OK. 5. System. In Linker dropdown menu click System > SubSystem > down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE) > click Apply and then OK. {“smallUrl”:“https://www. wikihow. com/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg”,“bigUrl”:"/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-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>"}
1. Main menu. In Configuration: select Active(Debug) > Platform: Win32 or x86 > click Configuration Manager. “Configuration Manager” wizard “Active solution platform:” select x86 or Win32 “Platform” Win32 or x86 is automatically selected Click Close. 2. Additional Include Directories. In GLFWx32-GLEWx32-GLM-0 Property Pages window double click C/C++ > click General > Additional Include Directories > 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\GLFWx32\include and paste in Additional Include Directories wizard’s upper-most text field.
{“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>"} 2.
Copy C:\GL\GLEWbin\include and paste in Additional Include Directories wizard’s upper-most text field.
3.
Copy C:\GL\GLM and paste in Additional Include Directories wizard’s upper-most text field.
In Additional Include Directories wizard click OK.
3.
Additional Library Directories.
In “GLFWx32-GLEWx32-GLM-0 Property Pages” wizard, double click Linker > click General > Additional Library Directories > 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\GLFWx32\lib-vc2022 > click Additional Library Directories wizard’s first icon > Paste. 2. Copy C:\GL\GLEWbin\lib\Release\Win32 > click again Additional Library Directories wizard’s first icon > Paste. Click OK in Additional Library Directories wizard. 4. Additional Dependencies. In “Linker” drop down menu, click Input > Additional Dependencies > down arrow at the end of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg”,“bigUrl”:"/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-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>"} Copy opengl32. lib; glfw3. lib; glfw3dll. lib; glew32. lib and paste on the top-most text box of the Additional Dependencies wizard. In “Additional Dependencies” wizard click OK. 5. System. In Linker dropdown menu click System > SubSystem > down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE) > click Apply and then OK. {“smallUrl”:“https://www. wikihow. com/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg”,“bigUrl”:"/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-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>"}
“Configuration Manager” wizard “Active solution platform:” select x86 or Win32 “Platform” Win32 or x86 is automatically selected Click Close.
1. Copy C:\GL\GLFWx32\include and paste in Additional Include Directories wizard’s upper-most text field. {“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>"} 2.
Copy C:\GL\GLEWbin\include and paste in Additional Include Directories wizard’s upper-most text field.
3.
Copy C:\GL\GLM and paste in Additional Include Directories wizard’s upper-most text field.
In Additional Include Directories wizard click OK.
1. Copy C:\GL\GLFWx32\lib-vc2022 > click Additional Library Directories wizard’s first icon > Paste. 2. Copy C:\GL\GLEWbin\lib\Release\Win32 > click again Additional Library Directories wizard’s first icon > Paste. Click OK in Additional Library Directories wizard.
Copy opengl32. lib; glfw3. lib; glfw3dll. lib; glew32. lib and paste on the top-most text box of the Additional Dependencies wizard. In “Additional Dependencies” wizard click OK.
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\GLEWbin\bin\Release\Win32 > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLFWx32-GLEWx32-GLM-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\GLEWbin\bin\Release\Win32 > click New > Paste. Click OK in all 3 wizards. Close Visual Studio > in thrown wizard “Save changes to the following items?” click Save. Restart your PC > open Visual Studio. In “Open recent” list, click “GLFWx32-GLEWx32-GLM-0. sln”, the first one. Now your project is open ready for test.
If only the black window (the console) appears with message: “Failed to open GLFW window. If you have an Intel GPU, they are not 3. 3 compatible. Try the 2. 1 version of the tutorial. “, set up is okay, but function glfwCreateWindow did not work.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, Additional Library Directories, and follow instructions. Also to Additional Dependencies. “entry point must be defined” go to previous Part 3, step 1, 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 can not correct them, close Visual Studio > delete project folder GLFWx32-GLEWx32-GLM-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 3. Good programming.
In “Error List” if you see error about file with extension . h go to previous Part, step 1, Additional Include Directories and follow instructions. file with extension . lib go to previous Part, step 1, Additional Library Directories, and follow instructions. Also to Additional Dependencies. “entry point must be defined” go to previous Part 3, step 1, 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 can not correct them, close Visual Studio > delete project folder GLFWx32-GLEWx32-GLM-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 3. Good programming.
On Export template Wizard check Project Template, if it’s not checked > click Next >. On “Export Template Wizard” (Select Template Options), Template name should be GLFWx32-GLEWx32-GLM-0 > click Finish. The Template has been created. Delete thrown window with template’s address.
On Export template Wizard check Project Template, if it’s not checked > click Next >. On “Export Template Wizard” (Select Template Options), Template name should be GLFWx32-GLEWx32-GLM-0 > click Finish. The Template has been created. Delete thrown window with template’s address.
In Visual Studio main menu click File > New > Project. . . . In Create a new project wizard, in the list of templates, select GLFWx32-GLEWx32-GLM-0 (if necessary scroll dow the list of templates) > click Next. In the Configure your new project wizard, “Project name” should be GLFWx32-GLEWx32-GLM-01. Location should be C:\GLP. Be sure Place solution and project in the same directory is checked. Click Create, and wait till project be created. In Visual Studio’s GUI main menu, select x86 > hit Ctrl+F5. TIP. Remember, when you create project with this template, in Visual Studio GUI main menu select x86.
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.
Click 64-bit Windows binaries. You get “glfw-3. 3. 8. bin. WIN64” or latest version. Click folder > right click > Copy. Navigate C:\GL > right click > Paste. When copying is finished, rename folder “glfw-3. 3. 8. bin. WIN64” to GLFWx64
Click the downloaded folder glew-2. 1. 0 (or latest version) > 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) Rename glew-2. 1. 0 to GLEWbin If folder glew-2. 1. 0-win32 is downloaded, double click it for get glew-2. 1. 0.
Click the downloaded folder glew-2. 1. 0 (or latest version) > 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) Rename glew-2. 1. 0 to GLEWbin If folder glew-2. 1. 0-win32 is downloaded, double click it for get glew-2. 1. 0.
Click the downloaded folder glew-2. 1. 0 (or latest version) > 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) Rename glew-2. 1. 0 to GLEWbin If folder glew-2. 1. 0-win32 is downloaded, double click it for get glew-2. 1. 0.
Click downloaded folder “glm” > right click > Copy. Navigate to C:\GL > right click > Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Rename glm to GLM
Click downloaded folder “glm” > right click > Copy. Navigate to C:\GL > right click > Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Rename glm to GLM
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): GLFWx64-GLEWx64-GLM-0 In “Location” delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory” > click Create. Wait until Visual Studio instance appears. If it is open. Click File > New > Project… > Empty Project > Next. The rest as above.
In Configure your new project wizard, for “Project name”, type (or copy and paste): GLFWx64-GLEWx64-GLM-0 In “Location” delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory” > click Create. Wait until Visual Studio instance appears.
In Visual Studio GUI, Solution Explorer wizard, right click the Source Files entry (the last one) > select Add > New Item…. In the Add New Item - GLFWx64-GLEWx64-GLM-0 wizard, click C++ File (. cpp) (the first one) from the middle of the window. In Name text box type Main. cpp. Location should be C:\GLP\GLFWx64-GLEWx64-GLM-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 Configuration entry select Active(Debug) > in Platform: entry, select “x64” > Click {{macButton|Configuration manager. . . }. In Configuration Manager wizard, Active solution platform: select “x64” Platform entry, “x64” is automatically selected. Click Close 2. Additional Include Directories. In GLFWx64-GLEWx64-GLM-0 Property Pages window double click C/C++ > click General > Additional Include Directories > 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\GLFWx64\include > in Additional Include Directories wizard 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>"} 2. Copy C:\GL\GLEWbin\include and paste as before. 3. Copy C:\GL\GLM and paste as before. In Additional Include Directories wizard click OK. 3. Additional Library Directories. In “GLFWx64-GLEWx64-GLM-0 Property Pages” wizard, double click Linker > click General > Additional Library Directories > 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\GLFWx64\lib-vc2022 and paste in Additional Library Directories wizard’s upper-most text field. 2. Copy C:\GL\GLEWbin\lib\Release\x64 and paste in Additional Library Directories wizard’s upper-most text field. Click OK in Additional Library Directories wizard. 4. Additional Dependencies. In “Linker” drop down menu, click Input > Additional Dependencies > down arrow at the end of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg”,“bigUrl”:"/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-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>"} Copy opengl32. lib; glfw3. lib; glfw3dll. lib; glew32. lib and paste on the top-most text box of the Additional Dependencies wizard. In “Additional Dependencies” wizard click OK. 5. System. In Linker dropdown menu click System > SubSystem > down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE) > click Apply and then OK. {“smallUrl”:“https://www. wikihow. com/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg”,“bigUrl”:"/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-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>"}
1. Main menu. In Configuration entry select Active(Debug) > in Platform: entry, select “x64” > Click {{macButton|Configuration manager. . . }. In Configuration Manager wizard, Active solution platform: select “x64” Platform entry, “x64” is automatically selected. Click Close 2. Additional Include Directories. In GLFWx64-GLEWx64-GLM-0 Property Pages window double click C/C++ > click General > Additional Include Directories > 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\GLFWx64\include > in Additional Include Directories wizard 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>"} 2. Copy C:\GL\GLEWbin\include and paste as before. 3. Copy C:\GL\GLM and paste as before. In Additional Include Directories wizard click OK. 3. Additional Library Directories. In “GLFWx64-GLEWx64-GLM-0 Property Pages” wizard, double click Linker > click General > Additional Library Directories > 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\GLFWx64\lib-vc2022 and paste in Additional Library Directories wizard’s upper-most text field. 2. Copy C:\GL\GLEWbin\lib\Release\x64 and paste in Additional Library Directories wizard’s upper-most text field. Click OK in Additional Library Directories wizard. 4. Additional Dependencies. In “Linker” drop down menu, click Input > Additional Dependencies > down arrow at the end of the field > click <Edit. . . . {“smallUrl”:“https://www. wikihow. com/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg”,“bigUrl”:"/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-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>"} Copy opengl32. lib; glfw3. lib; glfw3dll. lib; glew32. lib and paste on the top-most text box of the Additional Dependencies wizard. In “Additional Dependencies” wizard click OK. 5. System. In Linker dropdown menu click System > SubSystem > down arrow at the end of the field > select Console (/SUBSYSTEM:CONSOLE) > click Apply and then OK. {“smallUrl”:“https://www. wikihow. com/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg”,“bigUrl”:"/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2. jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-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>"}
Active solution platform: select “x64” Platform entry, “x64” is automatically selected. Click Close
1. Copy C:\GL\GLFWx64\include > in Additional Include Directories wizard 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>"} 2.
Copy C:\GL\GLEWbin\include and paste as before.
3.
Copy C:\GL\GLM and paste as before.
In Additional Include Directories wizard click OK.
1. Copy C:\GL\GLFWx64\lib-vc2022 and paste in Additional Library Directories wizard’s upper-most text field. 2. Copy C:\GL\GLEWbin\lib\Release\x64 and paste in Additional Library Directories wizard’s upper-most text field. Click OK in Additional Library Directories wizard.
Copy opengl32. lib; glfw3. lib; glfw3dll. lib; glew32. lib and paste on the top-most text box of the Additional Dependencies wizard. In “Additional Dependencies” wizard click OK.
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\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 “GLFWx64-GLEWx64-GLM-0. sln”, the first one. Now your project is open ready for test. TIP: Even if in Property Pages main settings it is Platform: x64, click Configuration manager. . . , and in Active solution platform: select x64.
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\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 “GLFWx64-GLEWx64-GLM-0. sln”, the first one. Now your project is open ready for test. TIP: Even if in Property Pages main settings it is Platform: x64, click Configuration manager. . . , and in Active solution platform: select x64.
If only the black window (the console) appears with message: “Failed to open GLFW window. If you have an Intel GPU, they are not 3. 3 compatible. Try the 2. 1 version of the tutorial. “, set up is okay, but function glfwCreateWindow did not work.
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 to previous Part, step 2 and 3, and follow instructions. For other errors, if you can not correct them, close Visual Studio > delete project folder GLFWx64-GLEWx64-GLM-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 7.
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 to previous Part, step 2 and 3, and follow instructions. For other errors, if you can not correct them, close Visual Studio > delete project folder GLFWx64-GLEWx64-GLM-0 which lives in C:\GLP > open Visual Studio > repeat set up from Part 7.
On Export template Wizard check Project Template, if it’s not checked > click Next >. On “Export Template Wizard” (Select Template Options), Template name should be GLFWx64-GLEWx64-GLM-0 > click Finish. The Template has been created. Delete thrown window with template’s address.
On Export template Wizard check Project Template, if it’s not checked > click Next >. On “Export Template Wizard” (Select Template Options), Template name should be GLFWx64-GLEWx64-GLM-0 > click Finish. The Template has been created. Delete thrown window with template’s address.
Click File > New > Project. . . . In Create a new project wizard, in the list of templates, select GLFWx64-GLEWx64-GLM-0 (if necessary scroll dow the list of templates) > click Next. In the Configure your new project wizard, “Project name” should be GLFWx64-GLEWx64-GLM-01. Location should be C:\GLP. Be sure Place solution and project in the same directory is checked. Click Create, and wait till project be created. 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. 1-windows-x86_64. zip (or latest) > right click > Copy. Go to drive (directory) C: > GL > right click > Paste. (Alternatively click folder “cmake-3. 25. 1-windows-x86_64” and drag into folder “GL”). When copying is finished click folder “cmake-3. 25. 1-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).
In downloading window click folder “glfw-3. 3. 7” (or latest version) > right click > select Copy. In File Explorer navigate to C:\ > GL > right click > select Paste. Click twice on folder’s name > delete name > type (or copy and paste) GLFWsrc > hit ↵ Enter.
In downloading window click folder “glew-2. 1. 0” (or latest) > right click > Copy. Navigate to C:\ > GL. Right click > Paste. When copying is finished, rename to GLEWsrc > hit ↵ Enter. Now in folder GL you have folders GLFWsrc and GLEWsrc, perhaps among others.
In downloading window click folder “glew-2. 1. 0” (or latest) > right click > Copy. Navigate to C:\ > GL. Right click > Paste. When copying is finished, rename to GLEWsrc > hit ↵ Enter. Now in folder GL you have folders GLFWsrc and GLEWsrc, perhaps among others.
Click downloaded folder “glm” > right click > Copy. Navigate to C:\GL > right click > Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Rename glm to GLM
Click downloaded folder “glm” > right click > Copy. Navigate to C:\GL > right click > Paste. (Alternatively, open “Files Explorer” window > C: > GL. Go to downloading window > click downloaded folder and drag into C:\GL) Rename glm to GLM
Copy (Be careful do not copy any blank space)C:/GL/GLFWsrc and paste in first text field. Copy (Be careful do not copy any blank space)C:/GL/GLFWsrc/build and paste in second text field (“Where to build the binaries:”). 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. Copy C:\GL\GLFWsrc\build and paste in File Explorer Address Bar > hit ↵ Enter > double click “GLFW. sln”, or “GLFW”, or “ALL_BUILD. vcxproj”. An instance of Visual Studio appears. Wait until in main menu Build entry appears. Click it > “Build Solution”. Wait till you read the last line in “Output” window: ========== Build: 32 succeeded, 0 failed, 0 up-to-date, 2 skipped” ========== Number of “succeeded” and/or skipped” may changes in glfw versions. Copy C:\GL\GLFWsrc\build\src\Debug and paste in File Explorer Address Bar > hit ↵ Enter. Inside you should see file glfw3. lib. Close this instance of Visual Studio.
Copy (Be careful do not copy any blank space)C:/GL/GLEWsrc/build/cmake and paste in first text field. Copy (Be careful do not copy any blank space)C:/GL/GLEWsrc/build and paste in second text field (“Where to build the binaries:”). 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. Copy C:\GL\GLEWsrc\build and paste in File Explorer Address Bar > hit ↵ Enter > 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 it > “Build Solution”. Wait till you read the last line in “Output” window: ========== Build: 6 succeeded, 0 failed, 0 up-to-date, 2 skipped" ========== Number of “succeeded” and/or “skipped” may changes in glew versions. Copy C:\GL\GLEWsrc\build\lib\Debug and paste in File Explorer Address Bar > hit ↵ Enter. Inside you should see file glew32d. lib among other files. Close this instance of Visual Studio.
Copy (Be careful do not copy any blank space)C:/GL/GLM and paste in first text field. Copy (Be careful do not copy any blank space)C:/GL/GLM/build and paste in second text field (“Where to build the binaries:”). 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. Copy C:\GL\GLM\build and paste in File Explorer Address Bar > hit ↵ Enter > double click the file “ALL_BUILD. vcxproj” or the file (not the folder) “glm” or “glm. sln”. An instance of Visual Studio appears. Wait until in main menu Build entry appears. Click it > click “Build Solution”. Wait till you read the last line in “Output” window: ========== Build: 165 succeeded, 0 failed, 0 up-to-date, X skipped" ========== Number of “succeeded” and/or “skipped” may changes in GLM versions. If number of succeeded is less than 165, close Visual Studio instance > delete CMake GUI > go to C: > GL > double click “CMake” > double click “bin” > double click file “cmake-gui”. New CMake GUI appears. Follow present step. If now you see ========== Build: 0 succeeded, 0 failed, 165 up-to-date, 2 skipped ==========, or ========== Build: 3 succeeded, 0 failed, 162 up-to-date, 2 skipped ==========, it’s okay. Copy C:\GL\GLM\build\glm\Debug and paste in File Explorer Address Bar > hit ↵ Enter. Inside you should see file glm_static. lib among other files. Close this instance of Visual Studio. Close CMake GUI.
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): GLFWsrc-GLEWsrc-GLMsrc-0 In “Location” delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory” > click Create. Wait until Visual Studio instance appears. If it is open. Click File > New > Project… > Empty Project > Next. The rest as above.
In Configure your new project wizard, for “Project name”, type (or copy and paste): GLFWsrc-GLEWsrc-GLMsrc-0 In “Location” delete everything, copy C:\GLP\ and paste. Check “Place solution and project in the same directory” > click Create. Wait until Visual Studio instance appears.
In the Add New Item - GLFWsrc-GLEWsrc-GLMsrc-0 wizard, click C++ File (. cpp) (the first one) from the middle of the window. In Name text box type Main. cpp. Location should be C:\GLP\GLFWsrc-GLEWsrc-GLMsrc-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 “Configuration:” select “Active(Debug)” > 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. Click 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>"} {“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>"} 1.
Copy C:\GL\GLFWsrc\include > in “Additional Include Directories” wizard click first icon > paste in the uppermost text field.
2.
Copy C:\GL\GLEWsrc\include > click again first icon > paste.
3.
Copy C:\GL\GLM > click once more first icon > paste.
In “Additional Include Directories” wizard click OK.
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\GLFWsrc\build\src\Debug > in Additional Library Directories" wizard click first icon > paste in upper-most text field.
2.
Copy C:\GL\GLEWsrc\build\lib\Debug > click again first icon > paste.
3.
Copy C:\GL\GLM\build\glm\Debug > click once more first icon > paste.
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/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2.
jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2.
jpg”,“bigUrl”:"/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2.
jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-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>"} Copy opengl32.
lib; glfw3.
lib; glew32d.
lib; glm_static.
lib > paste in “Additional Dependencies” wizard’s upper-most text box.
In “Additional Dependencies” wizard click OK.
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).
Click Apply and OK.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2.
jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2.
jpg”,“bigUrl”:"/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2.
jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-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>"}
1. Main menu. In “Configuration:” select “Active(Debug)” > 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. Click 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>"} {“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>"} 1.
Copy C:\GL\GLFWsrc\include > in “Additional Include Directories” wizard click first icon > paste in the uppermost text field.
2.
Copy C:\GL\GLEWsrc\include > click again first icon > paste.
3.
Copy C:\GL\GLM > click once more first icon > paste.
In “Additional Include Directories” wizard click OK.
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\GLFWsrc\build\src\Debug > in Additional Library Directories" wizard click first icon > paste in upper-most text field.
2.
Copy C:\GL\GLEWsrc\build\lib\Debug > click again first icon > paste.
3.
Copy C:\GL\GLM\build\glm\Debug > click once more first icon > paste.
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/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2.
jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2.
jpg”,“bigUrl”:"/images/thumb/c/cd/Set-Up-SDL-with-Visual-Studio-2017-Step-11-Version-2.
jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-11-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>"} Copy opengl32.
lib; glfw3.
lib; glew32d.
lib; glm_static.
lib > paste in “Additional Dependencies” wizard’s upper-most text box.
In “Additional Dependencies” wizard click OK.
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).
Click Apply and OK.
{“smallUrl”:“https://www.
wikihow.
com/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2.
jpg/v4-460px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2.
jpg”,“bigUrl”:"/images/thumb/f/f4/Set-Up-SDL-with-Visual-Studio-2017-Step-12-Version-2.
jpg/aid11447104-v4-728px-Set-Up-SDL-with-Visual-Studio-2017-Step-12-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>"}
In Active solution platform: select x64. In Platform entry, x64 is automatically selected. Click Close.
1. Copy C:\GL\GLFWsrc\include > in “Additional Include Directories” wizard click first icon > paste in the uppermost text field. 2. Copy C:\GL\GLEWsrc\include > click again first icon > paste. 3. Copy C:\GL\GLM > click once more first icon > paste. In “Additional Include Directories” wizard click OK.
1. Copy C:\GL\GLFWsrc\build\src\Debug > in Additional Library Directories" wizard click first icon > paste in upper-most text field. 2. Copy C:\GL\GLEWsrc\build\lib\Debug > click again first icon > paste. 3. Copy C:\GL\GLM\build\glm\Debug > click once more first icon > paste.
Copy opengl32. lib; glfw3. lib; glew32d. lib; glm_static. lib > paste in “Additional Dependencies” wizard’s upper-most text box. In “Additional Dependencies” wizard click OK.
Select the “Advanced” tab from the top bar > click Environment Variables. . . . “Environment Variables” wizard is thrown. In the “System Variables” section, double click the “Path” (or “PATH”) Variable. “Edit environment variable” wizard is thrown. Copy C:\GL\GLM\build\glm\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 “C:\GLP\GLFWsrc-GLEWsrc-GLMsrc-0”, 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. In the “System Variables” section, double click the “Path” (or “PATH”) Variable. “Edit environment variable” wizard is thrown. Copy C:\GL\GLM\build\glm\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 “C:\GLP\GLFWsrc-GLEWsrc-GLMsrc-0”, the first one. Now your project is open ready for test.
If only the black window (the console) appears with message: “Failed to open GLFW window. If you have an Intel GPU, they are not 3. 3 compatible. Try the 2. 1 version of the tutorial. “, set up is okay, but function glfwCreateWindow did not work.
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 to previous Part, step 2 and 3, and follow instructions. For other errors, if you can not correct them, close Visual Studio > delete project folder GLFWsrc-GLEWsrc-GLMsrc-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 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 to previous Part, step 2 and 3, and follow instructions. For other errors, if you can not correct them, close Visual Studio > delete project folder GLFWsrc-GLEWsrc-GLMsrc-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 “Export Template Wizard” (Select Template Options), if Template name is GLFWsrc-GLEWsrc-GLMsrc-0 it’s okay. If it’s not, copy it and paste > click Finish. The Template has been created. Delete thrown window with template’s address.
On Export template Wizard check Project Template, if it’s not checked > click Next >. On “Export Template Wizard” (Select Template Options), if Template name is GLFWsrc-GLEWsrc-GLMsrc-0 it’s okay. If it’s not, copy it and paste > click Finish. The Template has been created. Delete thrown window with template’s address.
Click File > New > Project. . . . In Create a new project wizard, in the list of templates, select GLFWsrc-GLEWsrc-GLMsrc-0 (if necessary scroll dow the list of templates) > click Next. In the Configure your new project wizard, if “Project name” is GLFWsrc-GLEWsrc-GLMsrc-01 it’s okay. if it’s not, copy it 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, and wait till project be created. 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. Compile GLFW source, GLEW source, GLM source, and set up them in project. Targets x64 too. The most difficult. The best though.