Hi friends,
what i've done till now:
i've set up a Ubuntu 5.04 as guest OS in VWware hosted on WinXP,
then following the instructions from this wiki
http://wiki.codeblocks.org/index.php/Compiling_Code::Blocks_in_Linux_(applies_to_all_distros)i downloaded wxGTK-2.4.2 and CodeBlocks 1.0-RC1-1 sources.
then i patched wxGTK-2.4.2 and built it using
./configure --enable-gtk2
then i built CodeBlocks RC1-1 using
then the wiki says
This will build everything: the application and the plugins. The final step is to update the working environment for your system:
make -f Makefile.unix update
it was not working with my Makefile.unix from the RC1-1 download,
but the following steps with
dos2unix Makefile.unix
./update
worked and i got a run.sh to start my CodeBlocks
so far so good - my CodeBlocks on Linux is up and running
after a little investigating and learning about what i've done so far (i'm still a Linux n00b)
i found out that installing wxGTK-2.4.2 with this method installs (rather exclusively)?
a shared ansi version of wxwidgets in /usr/local
headers in /usr/local/include
libs in /usr/local/lib
and somehow automagically the compiler and linker finds them even if the makefile
only sets include and lib pathes to /usr/include and /usr/lib
why does gcc find the wxGTK- headers ?
from my windows build-environment i'm used to have several wxMSW builds from the
same wxWidgets-version, for example:
wxMSW-2.4.2
all headers : in /wx242/include
all sources : in /wx242/src
and libs according to flavour
dll lib ansi : in /wx242/lib/gcc_dll
dll lib unicode : in /wx242/lib/gcc_dllu
static lib ansi : in /wx242/lib/gcc_lib
and also another version of wxWidgets
wxMSW-2.6.1
all headers : in /wx261/include
all sources : in /wx261/src
and libs according to flavour or used compiler
dll lib ansi : in /wx261/lib/gcc_dll
static lib ansi : in /wx261/lib/gcc_lib
dll lib ansi : in /wx261/lib/vc_dll (VC++)
static lib ansi : in /wx261/lib/vc_lib (VC++)
installed in parallel.
and when i want to build my application with several versions or flavours of wxwidgets i define several
targets and change the directory entries for the proper include (setup.h) and lib files.
so i'm able to build the same source with wx242-dll, -dll-unicode, -static-lib and wx261-dll and -static-lib
how can i manage to intall such a structure on Linux ?
(it obviously doesn't work with "configure" and "make install", because then
only one single version and flavour of wxGTK is ready to use)
i look forward to your suggestions for my setup
-thanks in advance