Size: 2062
Comment:
|
Size: 2121
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
{{{apt-get install gnome-core-devel build-essential | {{{ apt-get install gnome-core-devel build-essential }}} |
Line 9: | Line 11: |
{{{sudo apt-get install --reinstall mesa-common-dev | {{{ sudo apt-get install --reinstall mesa-common-dev |
Line 14: | Line 17: |
{{{sudo apt-get install --reinstall libglu1-mesa-dev | {{{ sudo apt-get install --reinstall libglu1-mesa-dev |
Line 19: | Line 23: |
{{{sudo apt-get install --reinstall libglut3-dev | {{{ sudo apt-get install --reinstall libglut3-dev |
Line 35: | Line 40: |
{{{ | |
Line 42: | Line 47: |
}}} | |
Line 46: | Line 51: |
{{{ | |
Line 48: | Line 53: |
}}} | |
Line 50: | Line 55: |
{{{ | |
Line 52: | Line 57: |
}}} | |
Line 56: | Line 61: |
{{{ | |
Line 67: | Line 72: |
}}} | |
Line 72: | Line 78: |
{{{ | |
Line 80: | Line 86: |
}}} | |
Line 84: | Line 90: |
{{{ | |
Line 95: | Line 101: |
}}} | |
Line 97: | Line 103: |
{{{ | |
Line 99: | Line 105: |
}}} |
get dependencies
I assume you already did an apt-get for gtk development ( and optional opengl ) development packages.
apt-get install gnome-core-devel build-essential
For Opengl you need the Mesa libraries:
sudo apt-get install --reinstall mesa-common-dev
For Glu Library
sudo apt-get install --reinstall libglu1-mesa-dev
For Glut Library
sudo apt-get install --reinstall libglut3-dev
Also cmake and cvs are needed.
sudo apt-get install cmake sudo apt-get install cvs
wxGTK
First wxWidgets should be installed. Download the latest version of wxGTK.
Next configure compile and install for debug version like this:
cd wxGTK cd .. mkdir buildwxdebug cd buildwxdebug ../configure --with-gtk --enable-debug --enable-debug_gdb --disable-shared --with-opengl
Notice that this is an outside of tree build, so you can easily make a next compile as only release.
Followed by:
make
And as super user install to /usr/local like this:
sudo make install
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