-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Create Visual Studio 2019 Project
Grave edited this page Jan 11, 2021
·
18 revisions
- Download or clone raysan5/raylib folder.
- In raylib/projects/VS2019 find raylib.sln and open it with Visual Studio 2019.
- Go to Solution Explorer window and find raylib project
- Right click on it and choose Set as Startup Project
- Check Solution Configurations (must be Release.Dll x64)
- Go to Build > Build raylib or press Ctrl + B to build raylib.lib and raylib.dll
- Create new project > Console App
- Go to Project Properties > Configuration Properties > C/C++ > General and add ...\raylib\src folder (contains .h files) to Additional Include Directories
- Go to Configuration Properties > Linker > General and add ...\raylib\projects\VS2019\bin\x64\Release.DLL folder to Additional Library Directories
- Go to Configuration Properties > Linker > Input and add raylib.lib to Additional Dependencies
- Go to ...\raylib\projects\VS2019\bin\x64\Release.DLL folder and copy raylib.dll to your project folder (main .cpp must be in this folder)
- Go to https://www.raylib.com/examples.html and grab some code to your .cpp file
- Set your project platform to x64 (if you build your libraries in x64)
www.raylib.com | itch.io | GitHub | Discord | YouTube
- Architecture
- Syntax analysis
- Data structures
- Enumerated types
- External dependencies
- GLFW dependency
- libc dependency
- Platforms and graphics
- Input system
- Default shader
- Custom shaders
- Coding conventions
- Integration with other libs
- Working on Windows
- Working on macOS
- Working on GNU Linux
- Working on Chrome OS
- Working on FreeBSD
- Working on Raspberry Pi
- Working for Android
- Working for Web (HTML5)
- Creating Discord Activities
- Working anywhere with CMake
- CMake Build Options
- raylib templates: Get started easily
- How To: Quick C/C++ Setup in Visual Studio 2022, GCC or MinGW
- How To: C# Visual Studio Setup
- How To: VSCode
- How To: Eclipse
- How To: Sublime Text
- How To: Code::Blocks