Const int screenwidth = 800; I am trying to compile some c++ code with clang; I hope you're all good.
I want to use cmake for my raylib video game so that any user can easily build the application on their platform. The idea is to try and find raylib library in the system before trying. I have installed raylib and ran the example.c files with success in vscode and notepad++.
Go to the raylib/src directory and open makefile, find where emsdk_path variable is being defined and edit it accordingly to your setup. In an attempt to get things working, i have the basic window demo. I downloaded raylib from the official site. I'm trying to set up a c project using raylib in visual studio code with mingw as the compiler on windows 10.
All my raylib header files are in a folder. I am a beginner at c++ and i would like to use raylib with vscode instead of using notpad++. I'm having issues setting up raylib on vscode and i think the problem stands in the debugging part of the process: Does anybody know how to add raylib to vscode.