mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-07 14:49:18 -05:00
Note that setting the compiler to C only is not required and may be detrimental
@ -20,6 +20,7 @@ https://github.com/raysan5/raylib/wiki/Easy-Raylib-Setup-for-Windows-with-Visual
|
||||
- ` GRAPHICS_API_OPENGL_33`
|
||||
- ` PLATFORM_DESKTOP`
|
||||
* Go to **C/C++ > Advanced** and set **Compile As** to **Compile as C Code (/TC)** (if you want to use code from examples)
|
||||
** Note that this step is not required. By default *.c files will compile with C and *.cpp files will compile to C++. If you intend to use C++ or do not want to forcibly restrict yourself to C, do not change this setting.
|
||||
* Go to **Linker > General** and add `(your_folder_location)\raylib\projects\VS2019\bin\x64\Release.DLL` folder to **Additional Library Directories**
|
||||
* Go to **Linker > Input** and add `raylib.lib` and `winmm.lib` to **Additional Dependencies**
|
||||
* Go to _"(your_folder_location)\raylib\projects\VS2019\bin\x64\Release.DLL"_ folder and copy _**raylib.dll**_ and _**raylib.lib**_ to your project folder. For example, if your project name is "Demo" then copy these files into the folder `(your_folder_location)\Demo\Demo`.
|
||||
|
||||
Reference in New Issue
Block a user