Size: 1541
Comment:
|
Size: 2167
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
I assume you already did an apt-get for gtk development and opnegl development packages. Also cmake and cvs are needed. |
For gtk development install packages: |
Line 6: | Line 5: |
{{{ sudo apt-get install gnome-core-devel build-essential }}} For Opengl you need the Mesa libraries: {{{ sudo apt-get install mesa-common-dev }}} For Glu Library {{{ sudo apt-get install libglu1-mesa-dev }}} For Glut Library {{{ sudo apt-get install libglut3-dev }}} wxArt2D uses cmake for generating makefile, and cvs is need to get wxArt2D from the repository. {{{ |
|
Line 8: | Line 33: |
}}} | |
Line 14: | Line 38: |
Next configure compile and install for debug version like this: |
Read how to install, should come down to something like the next. Configure compile and install for debug version like this: {{{ |
Line 22: | Line 46: |
../configure --with-gtk --enable-debug --enable-debug_gdb --disable-shared --with-opengl | ../wxGTK/configure --with-gtk --enable-debug --enable-debug_gdb --disable-shared --with-opengl |
Line 24: | Line 48: |
Notice that this is an outside of tree build, so you can easily make a next compile as only release. | sudo make install |
Line 26: | Line 50: |
Followed by: |
cd contrib |
Line 30: | Line 53: |
And as super user install to /usr/local like this: | sudo make install |
Line 32: | Line 55: |
sudo make install | }}} Notice that this is an outside of tree build, so you can easily make a next compile as only release. And as super user the default install is to /usr/local. |
Line 37: | Line 62: |
{{{ | |
Line 48: | Line 73: |
}}} | |
Line 53: | Line 79: |
{{{ | |
Line 61: | Line 87: |
}}} = wxArt2D = |
|
Line 62: | Line 90: |
= wxArt2D = | In case you want it with wxLau and wxStedit (which are both optional ) you need to set this: {{{ export WXLUA=/pathToWxLuaSourceDir/wxLua export WXSTEDIT=/pathToWxSteditSourceDir/wxstedit |
Line 71: | Line 102: |
}}} | |
Line 73: | Line 104: |
{{{ | |
Line 75: | Line 106: |
}}} |
get dependencies
For gtk development install packages:
sudo apt-get install gnome-core-devel build-essential
For Opengl you need the Mesa libraries:
sudo apt-get install mesa-common-dev
For Glu Library
sudo apt-get install libglu1-mesa-dev
For Glut Library
sudo apt-get install libglut3-dev
wxArt2D uses cmake for generating makefile, and cvs is need to get wxArt2D from the repository.
sudo apt-get install cmake sudo apt-get install cvs
wxGTK
First wxWidgets should be installed. Download the latest version of wxGTK. Read how to install, should come down to something like the next. Configure compile and install for debug version like this:
cd wxGTK cd .. mkdir buildwxdebug cd buildwxdebug ../wxGTK/configure --with-gtk --enable-debug --enable-debug_gdb --disable-shared --with-opengl sudo make install cd contrib make sudo make install
Notice that this is an outside of tree build, so you can easily make a next compile as only release. And as super user the default install is to /usr/local.
wxStedit
Better get it fresh from CVS repository.
export CVS_RSH=ssh cvs -z3 -d:pserver:anonymous@wxcode.cvs.sourceforge.net:/cvsroot/wxcode co -P wxstedit Copy the setup0.h to setup.h ./configure make sudo make install
After install, there is no install of the setup.h but still of setup0.h. For wxLua make sure you have a setup.h available somehow in your include paths.
wxLua
cvs -z3 -d:pserver:anonymous@wxlua.cvs.sourceforge.net:/cvsroot/wxlua co -P wxLua ./configure make sudo make install
wxArt2D
In case you want it with wxLau and wxStedit (which are both optional ) you need to set this:
export WXLUA=/pathToWxLuaSourceDir/wxLua export WXSTEDIT=/pathToWxSteditSourceDir/wxstedit cvs -z3 -d:pserver:anonymous@wxart2d.cvs.sourceforge.net:/cvsroot/wxart2d co -P wxArt2D cd wxArt2D cd .. mkdir buildart2ddeb cd buildart2ddeb ccmake ../wxArt2D
In the interface type 'c' a few times and 'g' to generate the makefiles.
make