- src/ contains source code
- Download and install MinGW to the default directory
- Download GLFW Windows binaries
- Copy include to the root folder and copy glfw3.dll to the lib folder
- Download GLEW Windows binaries
- Copy include to the root folder and copy glew32.dll to the lib folder
- Download GLM Windows binaries
- Copy glm/glm/.. directory to the include folder
- Execute in terminal sudo apt install libglfw3-dev libglew-dev libglm-dev assimp-utils
- Modify .vscode/tasks.json:
{
  "version": "2.0.0",
  "tasks": [
    {
      "type": "shell",
      "label": "g++ build active file",
      "command": "/usr/bin/g++",
      "args": ["-g", "${file}", "-o", "${workspaceFolder}/debug/${fileBasenameNoExtension}", "-lglfw", "-lGLEW", "-lGL"],
      "options": {
        "cwd": "/usr/bin"
      },
      "problemMatcher": ["$gcc"],
      "group": {
        "kind": "build",
        "isDefault": true
      }
    }
  ]
}- Create debug/ folder
- Build with Ctrl+Shift+B
- Modify .vscode/launch.json:
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "g++ build and debug active file",
      "type": "cppdbg",
      "request": "launch",
      "program": "${workspaceFolder}/debug/${fileBasenameNoExtension}",
      "args": [],
      "stopAtEntry": false,
      "cwd": "${workspaceFolder}",
      "environment": [],
      "externalConsole": false,
      "MIMode": "gdb",
      "setupCommands": [
        {
          "description": "Enable pretty-printing for gdb",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        }
      ],
      "preLaunchTask": "g++ build active file",
      "miDebuggerPath": "/usr/bin/gdb"
    }
  ]
}- Run with F5
- brew install glfw3
- brew install glew
- Compile with g++ main.cpp -framework OpenGL -lglfw -lglew