Soda is a command-line program written in C++ and using SDL. On most systems the build is fairly straightforward once the prerequisites are met.
-
Make sure you have a C++ toolchain installed. Currently, the Linux/Mac makefile assumes this is accessed via a
gcc
command. You can usegcc -v
to verify that such a compiler is installed, and check the version number. On Windows, install the Visual Studio Command-Line Tools. -
Install the SDL2 and SDL2_image development libraries. For details, see:
cd soda
to change to the soda subdirectory (next to this document)../configure
to run the configure script. This will detect what platform you are on, and copy the appropriate makefile to the Build directory.cd Build
to change to the soda/Build subdirectory.make
to build the soda executable. If all goes well, you will now have a soda executable in the Build directory.- (optional)
sudo make install
to copy the executable into /usr/local/bin, making it easily accessible from any directory (assuming this is in your PATH, as is usually the case). - (optional)
make clean
to clean intermediate products out of the Build directory.
- Run the Developer Command Prompt for VS.
cd soda
to change to the soda subdirectory (next to this document).cd src
to move to the soda\src directory.cl /EHsc /wd4068 *.cpp MiniScript/*.cpp /Fesoda.exe
That should do it if the SDL paths are all sorted out. Which they probably aren't. This is a work in progress.