Differences between revisions 24 and 26 (spanning 2 versions)
Revision 24 as of 2010-08-30 14:32:25
Size: 2449
Comment:
Revision 26 as of 2013-08-13 20:16:08
Size: 2411
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 gnome-core-devel build-essential }}}
Line 12: Line 9:
sudo apt-get install mesa-common-dev
}}}
sudo apt-get install mesa-common-dev }}}
Line 18: Line 13:
sudo apt-get install libglu1-mesa-dev
}}}
sudo apt-get install libglu1-mesa-dev }}}
Line 24: Line 17:
sudo apt-get install libglut3-dev
}}}
sudo apt-get install libglut3-dev }}}
Line 29: Line 20:
Line 31: Line 21:
sudo apt-get install cmake
sudo apt-get install cmake-qt-gui
sudo apt-get install cvs
sudo apt-get install subversion
sudo apt-get install rapidsvn
sudo apt-get install cmake 
sudo apt-get install cmake-qt-gui 
sudo apt-get install cvs 
sudo apt-get install subversion 
sudo apt-get install rapidsvn 
Line 39: Line 29:
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:
Line 40: Line 31:
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:
Line 44: Line 32:
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
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
Line 59: Line 37:
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.
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 63: Line 40:
Better get it fresh from CVS repository. And rename/copy its setup0.h to setup.h.
Line 64: Line 42:
Better get it fresh from CVS repository. And rename/copy its setup0.h to setup.h.
Line 66: Line 43:

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
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  
Line 82: Line 50:
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.
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.
Line 87: Line 54:
cvs -z3 -d:pserver:anonymous@wxlua.cvs.sourceforge.net:/cvsroot/wxlua co -P wxLua

./configure

make

sudo make install
cvs -z3 -d:pserver:anonymous@wxlua.cvs.sourceforge.net:/cvsroot/wxlua co -P wxLua  
./configure  make  
sudo make install 
Line 96: Line 59:
In case you want it with wxLua and wxStedit (which are both optional ) you need to set this:
Line 97: Line 61:
In case you want it with wxLua and wxStedit (which are both optional ) you need to set this:
Line 99: Line 62:
export WXLUA=/pathToWxLuaSourceDir/wxLua
export WXSTEDIT=/pathToWxSteditSourceDir/wxstedit
export WXLUA=/pathToWxLuaSourceDir/wxLua 
export WXSTEDIT=/pathToWxSteditSourceDir/wxstedit 
Line 102: Line 65:
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 67:
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 106: Line 68:
svn co https://wxart2d.svn.sourceforge.net/svnroot/wxart2d/trunk/wxArt2D wxArt2D svn checkout svn://svn.code.sf.net/p/wxart2d/code/trunk/wxArt2D wxArt2D
Line 108: Line 70:

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 cvs 
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.

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

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 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)