Differences between revisions 17 and 40 (spanning 23 versions)
Revision 17 as of 2010-04-08 19:17:41
Size: 2453
Comment:
Revision 40 as of 2023-06-19 13:47:28
Size: 3126
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 6: Line 5:
sudo apt-get install gnome-core-devel build-essential sudo apt-get install build-essential libgtk-3-dev libgstreamer0.10-dev
sudo apt-get install libtiff5-dev libpng12-dev
sudo apt-get install libjpeg-turbo8-dev
sudo apt-get install libnotify-dev
sudo apt-get install subversion

}}}

For later versions including Linux Mint:

{{{

sudo apt-get install libtiff5-dev libpng16-dev
sudo apt-get install libtiff5-dev libpng16-dev
sudo apt-get install libpng16-dev
sudo apt-get install libpng-dev
sudo apt-get install libtiff-dev

sudo apt-get install libreadline8
sudo apt-get install libreadline-dev
Line 12: Line 31:
sudo apt-get install mesa-common-dev
}}}
sudo apt-get install libgl1-mesa-dev }}}
Line 18: Line 35:
sudo apt-get install libglu1-mesa-dev
}}}
sudo apt-get install libglu1-mesa-dev }}}
Line 24: Line 39:
sudo apt-get install libglut3-dev sudo apt-get install libfreeglut3-dev 
Line 27: Line 42:
wxArt2D uses cmake for generating makefile, and cvs is need to get wxArt2D from the repository. 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 --enable-threads --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.

{{{
svn co https://wxcode.svn.sourceforge.net/svnroot/wxcode wxcode
Copy the setup0.h to setup.h in stedit/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 =
{{{
svn checkout svn://svn.code.sf.net/p/wxlua/svn/trunk/wxLua wxLua
cmake-gui .
}}}

In cmake-gui, choose source and binary to ''/ThePathTo/wxLua''.
Set BUILD_SHARED_LIBS to off.
Good idea is to set BUILD_VERBOSELY to on.
Set BUILD_INSTALL_PREFIX to ''/usr/local''.
Set wxWidgets_USE_DEBUG to on.
Line 31: Line 90:
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 --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
make
sudo make install
Line 92: Line 94:
Line 94: Line 95:
{{{
export WXLUA=/pathToWxLuaSourceDir/wxLua
export WXSTEDIT=/pathToWxSteditSourceDir/wxstedit
}}}

Those paths are used to get to certain scripts which are not installed.
Line 102: Line 97:
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
Line 103: Line 102:
cvs -z3 -d:pserver:anonymous@wxart2d.cvs.sourceforge.net:/cvsroot/wxart2d co -P wxArt2D

cd wxArt2D
cd ..
mkdir buildart2ddeb
cd buildart2ddeb
ccmake ../wxArt2D
{{{
svn checkout svn://svn.code.sf.net/p/wxart2d/code/trunk/wxArt2D wxArt2D
Line 111: Line 105:
In the interface type 'c' a few times and 'g' to generate the makefiles.
{{{
make
}}}
For the rest follow WxArt2dInstallCmake the Unix way.

get dependencies

For gtk development install packages:

sudo apt-get install build-essential libgtk-3-dev libgstreamer0.10-dev  
sudo apt-get install libtiff5-dev libpng12-dev
sudo apt-get install libjpeg-turbo8-dev
sudo apt-get install libnotify-dev
sudo apt-get install subversion

For later versions including Linux Mint:

sudo apt-get install libtiff5-dev libpng16-dev
sudo apt-get install libtiff5-dev libpng16-dev
sudo apt-get install libpng16-dev
sudo apt-get install libpng-dev
sudo apt-get install libtiff-dev

sudo apt-get install libreadline8
sudo apt-get install libreadline-dev

For Opengl you need the Mesa libraries:

sudo apt-get install libgl1-mesa-dev 

For Glu Library

sudo apt-get install libglu1-mesa-dev 

For Glut Library

sudo apt-get install libfreeglut3-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 --enable-threads --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.

svn co https://wxcode.svn.sourceforge.net/svnroot/wxcode wxcode    
Copy the setup0.h to setup.h in stedit/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

svn checkout svn://svn.code.sf.net/p/wxlua/svn/trunk/wxLua wxLua
cmake-gui .

In cmake-gui, choose source and binary to /ThePathTo/wxLua. Set BUILD_SHARED_LIBS to off. Good idea is to set BUILD_VERBOSELY to on. Set BUILD_INSTALL_PREFIX to /usr/local. Set wxWidgets_USE_DEBUG to on.

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 checkout svn://svn.code.sf.net/p/wxart2d/code/trunk/wxArt2D wxArt2D

For the rest follow WxArt2dInstallCmake the Unix way.

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