Skip to content

Using SplashKit

Here is a basic overview of how to compile and run SplashKit programs in C++, C# and python.

To compile C++ SplashKit code, you will use the following command (assuming the code file is named program.cpp):

Terminal window
clang++ program.cpp -l SplashKit -o test_program

Or:

Terminal window
g++ program.cpp -l SplashKit -o test_program

Then you can run the program with:

Terminal window
./test_program

Or, if using MSYS2 (MINGW64):

Terminal window
./test_program.exe

More detailed guides on getting started with SplashKit coming soon…

For now, you can look at these guides in the programmers.guide online textbook:

LanguageOverviewLink
C#Setting up a basic SplashKit C# project.Your First Program
C#Building a graphical (GUI) SplashKit program.Build Graphical Hello World
C++Setting up a basic SplashKit C++ program.Hello from C/C++
C++More in-depth C++ guide.Building a C/C++ Program