How to use Raylib using MSYS2 and VS Code? #3419
Replies: 1 comment
-
|
Is there an issue? Something wrong? You haven't specified. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using raylib and MSYS2 for the first time. I've used
pacmanto download raylib. This was the exact command I used.pacman -S mingw-w64-x86_64-raylibAnyway, I've configured my tasks in
tasks.json. This is the full file{ "version": "2.0.0", "tasks": [ { "type": "cppbuild", "label": "C/C++: g++.exe build active file", "command": "C:\\msys64\\ucrt64\\bin\\g++.exe", "args": [ "-fdiagnostics-color=always", "-g", "${file}", "-o", "${fileDirname}\\out.exe", "-mwindows", "-Wall", "-IC:/msys64/mingw64/include", "-IC:/msys64/mingw64/include/GLFW", "-Lc:/msys64/mingw64/lib", "-lraylib", "-lglfw3", "-lmingw32" ], "options": { "cwd": "${fileDirname}" }, "problemMatcher": [ "$gcc" ], "group": "build", "detail": "compiler: C:\\msys64\\ucrt64\\bin\\g++.exe" } ] }I'm using C++, and here's the
main.cppfile:Any directions and help is accepted, thanks.
Beta Was this translation helpful? Give feedback.
All reactions