Add winmm.lib, it is required.

Jeffery Myers
2021-03-03 07:55:43 -08:00
parent 4039a497d7
commit 6d273b1c62

@ -21,7 +21,7 @@ https://github.com/raysan5/raylib/wiki/Easy-Raylib-Setup-for-Windows-with-Visual
- ` 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)
* 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` to **Additional Dependencies**
* 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**_ to your project folder (main ***.cpp** must be in this folder)
* Set your project's platform to **x64** (if you build your libraries in x64)