zekiahepic ee870aba8a Stop camera distortion when resizing window (#41) | 2 лет назад | |
---|---|---|
cmake | 7 лет назад | |
lib | 2 лет назад | |
src | 2 лет назад | |
.gitignore | 2 лет назад | |
.travis.yml | 8 лет назад | |
CMakeLists.txt | 2 лет назад | |
LICENSE | 10 лет назад | |
README.md | 2 лет назад | |
supertuxkart-editor.ico | 5 лет назад | |
todo.txt | 2 лет назад |
SuperTuxKart - Track Editor.
How to use it:
To build the STK editor from source, you'll need to install the following packages
To install the required dependencies, run this command (Debian/Ubuntu):
sudo apt-get install build-essential libxxf86vm-dev libphysfs1 libphysfs-dev \
libgl1-mesa-dev mesa-common-dev zlib1g zlib1g-dev cmake
To compile the STK editor, run the following commands inside stk-editor
directory:
mkdir build
cd build
cmake ..
make -j4
"-j4" is an example, for a faster build, use "-jx" instead, where "x" is the amount of CPU threads you have, minus one.
(Optional) If you want a DEBUG build of the editor replace the cmake line with this:
cmake .. -DCMAKE_BUILD_TYPE=Debug
./supertuxkart-editor
If you have Windows operating system, it uses static physfs and zlib libraries. You don't need to install any dependencies.
cmake -S path\to\source -B path\to\build\folder
When you start the stk-editor the first time you should select the stk-assets
directory.
If you don't select the stk-assets
directory you get the following failure message:
Could not create archive for: textures
You can download the stk-assets
by issusing the following command:
svn checkout https://svn.code.sf.net/p/supertuxkart/code/stk-assets stk-assets
This software is released under the GNU General Public License (GPL) which
can be found in the file LICENSE
in the same directory as this file.