Перейти к содержимому

How to setup VS Code to run OpenGL code (Shorter Version)

A C++ Enjoyer

0:00 / 0:00

How to setup VS Code to run OpenGL code (Shorter Version)

50 801 просмотр · 2 года назад
A C++ Enjoyer
195 подписчиков
50 801 просмотр · 2 года назад
Shorter version of my previous video. It has: 1. The procedure 2. No explanation 3. Nice music (I like it, Hope you do too) Code runner config: "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -I C:\\glfw-3.3.8.bin.WIN64\\include -I C:\\glew-2.1.0\\include -L C:\\glfw-3.3.8.bin.WIN64\\lib-mingw-w64 -L C:\\glew-2.1.0\\lib\\Release\\x64 -lglfw3dll -lglew32 -lopengl32 && ./$fileNameWithoutExt", Here is everything in that file I had called "Code Needed": Tasks: "-I", "C:\\glfw-3.3.8.bin.WIN64\\include", "-I", "C:\\glew-2.1.0\\include", "-L", "C:\\glew-2.1.0\\lib\\Release\\x64", "-L", "C:\\glfw-3.3.8.bin.WIN64\\lib-mingw-w64", "-lglfw3dll", "-lglew32", "-lopengl32", Code Runner: "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt -I C:\\glfw-3.3.8.bin.WIN64\\include -I C:\\glew-2.1.0\\include -L C:\\glfw-3.3.8.bin.WIN64\\lib-mingw-w64 -L C:\\glew-2.1.0\\lib\\Release\\x64 -lglfw3dll -lglew32 -lopengl32 && ./$fileNameWithoutExt", Properties: "C:\\glfw-3.3.8.bin.WIN64\\include", "C:\\glew-2.1.0\\include"