Differences between revisions 4 and 21 (spanning 17 versions)
Revision 4 as of 2009-05-21 05:40:28
Size: 2021
Comment:
Revision 21 as of 2010-05-05 08:02:32
Size: 2647
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 optional opengl ) development packages. For gtk development install packages:
Line 5: Line 5:
apt-get install gnome-core-devel build-essential {{{
sudo
apt-get install gnome-core-devel build-essential
}}}
Line 9: Line 11:
sudo apt-get install --reinstall mesa-common-dev {{{
sudo apt-get install mesa-common-dev
}}}
Line 12: Line 16:
sudo apt-get install --reinstall libglu1-mesa-dev
{{{
sudo apt-get install libglu1-mesa-dev
}}}
Line 15: Line 22:
sudo apt-get install --reinstall libglut3-dev
Line 17: Line 23:
Also cmake and cvs are needed. {{{
sudo apt-get install libglut3-dev
}}}
Line 19: Line 27:
wxArt2D uses cmake for generating makefile, and svn is need to get wxArt2D from the repository.


{{{
Line 20: Line 32:
sudo apt-get install cvs
sudo apt-get install cmake-qt-gui
sudo apt-get install subversion
sudo apt-get install rapidsvn
}}}
Line 26: Line 40:

N
ext configure compile and install for debug version like this:
Read how to install, should come down to something like the next.
C
onfigure compile and install for debug version like this:
{{{
Line 34: Line 48:
../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:
../wxGTK/configure --with-gtk --enable-debug --enable-debug_gdb --disable-shared --with-opengl --enable-graphics_ctx
Line 46: Line 52:
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.
Line 48: Line 63:
Better get it fresh from CVS repository. 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
Line 50: Line 68:
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
Copy the setup0.h to setup.h in wxstedit/include/wx/stedit
Line 61: Line 76:
sudo cp /usr/local/include/wx/stedit/setup0.h /usr/local/include/wx/stedit/setup.h

}}}
Line 65: Line 84:
{{{
Line 73: Line 92:
}}}
Line 76: Line 95:
In case you want it with wxLau and wxStedit (which are both optional ) you need to set this: In case you want it with wxLua and wxStedit (which are both optional ) you need to set this:
{{{
Line 80: Line 99:
}}}
Line 81: Line 101:
cvs -z3 -d:pserver:anonymous@wxart2d.cvs.sourceforge.net:/cvsroot/wxart2d co -P wxArt2D Those paths are used to get to certain scripts which are not installed.
Now first get a fresh copy of wxArt2D, checkout into directory wxArt2D here
{{{

svn co https://wxart2d.svn.sourceforge.net/svnroot/wxart2d/trunk/wxArt2D wxArt2D
Line 87: Line 111:

# one of next two:
Line 89: Line 116:
cmake-gui ../wxArt2D


}}}
Line 90: Line 121:
{{{
Line 92: Line 123:
}}}

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 svn is need to get wxArt2D from the repository.

sudo apt-get install cmake
sudo apt-get install cmake-qt-gui
sudo apt-get install subversion
sudo apt-get install rapidsvn

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

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. 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 in wxstedit/include/wx/stedit

./configure

make
 
sudo make install

sudo cp /usr/local/include/wx/stedit/setup0.h /usr/local/include/wx/stedit/setup.h

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 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. Now first get a fresh copy of wxArt2D, checkout into directory wxArt2D here

svn co https://wxart2d.svn.sourceforge.net/svnroot/wxart2d/trunk/wxArt2D wxArt2D

cd wxArt2D
cd ..
mkdir buildart2ddeb
cd buildart2ddeb

# one of next two:

ccmake ../wxArt2D

cmake-gui ../wxArt2D

In the interface type 'c' a few times and 'g' to generate the makefiles.

make

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