-
-
Notifications
You must be signed in to change notification settings - Fork 27
How to compile MadEdit Mod under Linux
-
Install developing tools gcc, gcc-c++, gdb, gtk+2/gtk+3, gettext, automake, autoconf, aclocal, git, make and rpm-build if you want a rpm package
-
Install gtk+2-devel/gtk+3-devel, gettext-devel(wxWidgets for gtk+3 has issue on some platforms, eg, ElementaryOS)
-
copy wxwin.m4 to usr/share/acloXXX/ or Install wxGTK-devel
-
Install wx-common for ubuntu
-
Get latest code from sourceforge git clone git://git.code.sf.net/p/madedit-mod/code madedit-mod
-
Static build of wxWidgets 3.0.2 with builtin png and zlib ./configure --enable-unicode --disable-shared --with-libpng=builtin --with-zlib=builtin --with-expat=builtin
-
Static build of boost_python with minipython(address-model=64 for 64bit) ./bootstrap.sh ./bjam --user-config=user-config.jam --with-python python-debugging=off threading=multi variant=release link=static runtime-link=static stage Sample jam
using python : 2.7 :
: /home/gli/madedit-mod/minipython/Include
: /home/gli/madedit-mod/minipython/lib
: off ;
-
Run autogen.sh
-
Compile madedit-mod by configure or packaging script configure --with-boost=${HOME}/boost_1_56_0 --with-wxdir=${HOME}/wxWidgets-3.0.2
Or
cd packaging/rpm && makerpm.sh