You would normally create your build directory ~/supertux/build but eclipse seems to fail in that case. create a build directory outside of the supertux checkout dir.Įxample: Your supertux source is located in ~/supertux.(Project -> Open/Import Project) Eclipse with CDT You can feed Kdevelop with the CMakeLists.txt. IDEs that should be able to handle supertux include: Kdevelop 4 SuperTux does not need to be installed on the system, you can run it from its own directory.Type `make' to start the build process.If you are missing any libraries needed to build SuperTux, install those first, then try running CMake again. ' to create the Makefiles needed to build SuperTux with debug options. Create and change to a new, empty build directory by running `mkdir build', `cd build'.to the directory containing `src' and `data'. `cd' to the directory where you unpacked the SuperTux source archive, i.e.To generate these Makefiles and build SuperTux, perform the following steps which are also described in INSTALL which comes in the source archive. SuperTux uses CMake to generate a set of Makefiles for the build process. How to do this is described here at Download/Subversion. The first thing to get started with supertux is getting the latest development resources from the subversion repository. Source Code from release ≥ 0.3.1 and from SVN Getting the source from SVN You should Contact us in case of errors or problems. ![]() You can compile the source code from commandline with the help of jam. Use the following commands:Ĭonfigure checks if all prerequisites are met. (assuming gcc, gettext and autoconf are already installed) Source Code from release ≤ 0.3.1 Configuring the sourceīefore compiling the source code you have to configure it so that it gets adapted to your machine. Yum install jam SDL SDL-devel SDL_image SDL_image-devel physfs physfs-devel openal openal-devel GentooĮmerge -avn subversion ftjam media-libs/openal physfs libsdl sdl-image libvorbis liboggįor Fedora, use yum and don't forget the development packages! Just go in supertux folder you will find the game compiled and ready to run. sudo make (this is a long process) sudo make install zip” After downloading, unzip the downloaded file to the Home folder and rename it to “supertux” (without quotes).Ĭd/home/user/supertux (replace the user name of your account User) mkdir build cd build cmake -DDEBUG=ON . configure -prefix=/usr sudo make sudo make install In Terminal, use the following commands:Ĭd /home/user/libiconv-1.12 (replace the user name of your account user). Using Mozilla Firefox or the browser you prefer, download this file:.Sudo apt-get install libsdl2-2.0-0 sudo apt-get install libsdl2-dev sudo apt-get install libsdl2-image-2.0-0 sudo apt-get install libsdl2-image-dev Use the following commands, one after the other, and wait to download them: Open the Terminal and use the sudo apt-get build-dep supertux command and after use “ s” to confirm Open the Software and Updates and Ubuntu Software tab select Main Server in the Download from in the Other Software tab check the two Independent boxes. Follow the steps below:įirst of all, set the “sources” of Ubuntu: The way is very simple, but I have detailed here to facilitate the process. Tested on Ubuntu 14.04 (Trusty Tahr), but probably the process works in other versions of system. ![]() DebianĪpt-get install subversion autoconf automake jam g++ apt-get install libsdl1.2-dev libsdl-image1.2-dev libphysfs-dev libvorbis-dev libogg-dev libopenal-dev Most distributions offer separate developer versions for these libraries. You should make sure that you also have development headers and libraries installed for the tools marked with (*).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |