There seem to be many possible combinations to use raylib with Visual Studio.
If you compile the source code from github.com/raysan5/raylib with Visual Studio, various libs are created.
This are the Versions generated after running the Solution:
...\build\raylib\bin\Win32\Debug 8.166.536 raylib.lib
...\build\raylib\bin\Win32\Debug.DLL 158.138 raylib.lib
...\build\raylib\bin\Win32\Release 8.182.538 raylib.lib
...\build\raylib\bin\Win32\Release.DLL 158.138 raylib.lib
...\build\raylib\bin\x64\Debug 9.764.574 raylib.lib
...\build\raylib\bin\x64\Debug.DLL 154.390 raylib.lib
...\build\raylib\bin\x64\Release 5.008.812 raylib.lib
...\build\raylib\bin\x64\Release.DLL 154.390 raylib.lib
It's also possible to download the game-premake-main.zip, but I haven't tested that.
The examples are structured in such a way that the path for the linker is under
Properties/Linker/Additional Library Directories
is stated as follows:
$(SolutionDir)\build\raylib\bin\$(Platform)\$(Configuration)\
As far as I can tell it should work for all examples and combinations.
Possible procedures can also be found here:
https://github.com/raysan5/raylib/wiki/Working-on-Windows
Unzip the raylib-game-template-main.zip file or load the project with git.
Under Linker/Input/Additional Dependencies are these libs entered:
raylib.lib; opengl32.lib; kernel32.lib; user32.lib; gdi32.lib; winmm.lib; winspool.lib; comdlg32.lib; advapi32.lib; shell32.lib; ole32.lib; oleaut32.lib; uuid.lib; odbc32.lib; odbccp32.lib
I was able to compile the program presented above
#include "raylib.h"
int main()
{
InitWindow(800, 600, "Pong");
CloseWindow();
return 0;
}
on the basis of a simple Win32 console application created by VS. I only added raylib.lib and winmm.lib to the linker.