http://maniacsvault.net/ecwolf/w/api.php?action=feedcontributions&user=24.144.250.32&feedformat=atom ECWolf Wiki - User contributions [en] 2024-03-28T08:46:15Z User contributions MediaWiki 1.35.8 http://maniacsvault.net/ecwolf/w/index.php?title=Compile_ECWolf_on_Linux&diff=20 Compile ECWolf on Linux 2009-12-21T19:10:34Z <p>24.144.250.32: Created page with 'This guide will demonstrate how to compile the SVN version of ECWolf on Linux. == Dependencies == The following programs/libraries are used by ECWolf. The versions listed belo…'</p> <hr /> <div>This guide will demonstrate how to compile the SVN version of ECWolf on Linux.<br /> <br /> == Dependencies ==<br /> <br /> The following programs/libraries are used by ECWolf. The versions listed below are known to work, however other versions may work.<br /> * [http://cmake.org/ CMake] 2.6<br /> * [http://gcc.gnu.org/ GCC] 4.4.1<br /> * [http://www.libsdl.org/ libsdl] 1.2<br /> * [http://www.libsdl.org/projects/SDL_mixer/ SDL_mixer] 1.2.11<br /> In addition to the above, the following are optional dependencies.<br /> * [http://www.zlib.net/ zlib] 1.2.3<br /> * [http://bzip.org/ bzip2] 1.0.5<br /> <br /> [http://subversion.tigris.org/ Subversion] is also needed to checkout a copy of the latest source.<br /> <br /> == Retrieving the Source ==<br /> Use subversion to retrieve the latest version of the source.<br /> svn checkout http://svn.coffeenet.org/ECWolf/trunk/ ecwolf<br /> <br /> == Compiling ==<br /> It is recommended that you create a build directory in the newly created ecwolf directory.<br /> cd ecwolf<br /> mkdir build<br /> cd build<br /> Run CMake to generate a Makefile. Assuming there were no errors, you should be able to run make to compile.<br /> cmake ..<br /> make<br /> An ecwolf binary should be produced.<br /> ./ecwolf<br /> <br /> == Debugging ==<br /> In most cases it is good idea to generate a back trace when ECWolf crashes. To make a debug build of ecwolf simply replace the cmake command with the following.<br /> cmake -DCMAKE_BUILD_TYPE=Debug<br /> make<br /> You should now be able to use gdb to generate a back trace.<br /> gdb ecwolf<br /> GDB has it's own command prompt. Use &quot;run&quot; to start ecwolf and use &quot;bt&quot; to get the back trace after a crash.<br /> (gdb) run<br /> (gdb) bt</div> 24.144.250.32