Differences between revisions 15 and 16
Revision 15 as of 2009-05-30 17:11:00
Size: 2314
Revision 16 as of 2009-08-21 20:43:31
Size: 2335
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
../wxGTK/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 --enable-graphics_ctx

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


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 --enable-graphics_ctx

sudo make install

cd contrib

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.


Better get it fresh from CVS repository. And rename/copy its setup0.h to setup.h.

export CVS_RSH=ssh
cvs -z3 -d:pserver:anonymous@wxcode.cvs.sourceforge.net:/cvsroot/wxcode co -P wxCode/components/wxstedit

Copy the setup0.h to setup.h


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.


cvs -z3 -d:pserver:anonymous@wxlua.cvs.sourceforge.net:/cvsroot/wxlua co -P wxLua


sudo make install


In case you want it with wxLua and wxStedit (which are both optional ) you need to set this:

export WXLUA=/pathToWxLuaSourceDir/wxLua
export WXSTEDIT=/pathToWxSteditSourceDir/wxstedit

Those paths are used to get to certain scripts which are not installed.

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.


wxArt2D: UbuntuInstall (last edited 2023-06-19 13:47:28 by KlaasHolwerda)