You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.
Amir Hossein Seyhani edited this page Apr 12, 2018
·
1 revision
Compile RSDL Library
RSDL library contains two files: rsdl.hpp and rsdl.cpp.
In order to use this library you have to compile rsdl.cpp and include rsdl.hpp in your codes.
Mac OS users
At first you have to uncomment lines 9, 10 and 11 in rsdl.hpp. Also comment lines 4, 5 and 6.
To compile rsdl.cpp on mac, you have to compile it with -framework option to include SDL2, SDL2_image and SDL2_ttf libraries.Run the following command:
At first you have to uncomment lines 4, 5 and 6 in rsdl.hpp. Also comment lines 9, 10 and 11.
To compile rsdl.cpp on linux systems, you have to compile it with -l option to include SDL2, SDL2_image and SDL2_ttf libraries.Run the following command: