Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: tiwag on December 05, 2005, 09:06:07 am
-
i'm just starting to setup a fresh Ubuntu 5.10 Breezy
and would like to know, what is the recommended build-environment for CodeBlocks ?
i assume for all of these following packages i can take the latest version from the ubuntu-repositories,
has someone had any problems using a particular version ?
autoconf
automake
binutils
libtool
wxGTK-2.6
wx-common
gcc, g++
gcc is version 4.0 ok ?
wx-Widgets, what's recommended to use
wxwidgets 2.6.1 or 2.6.2, ansi or unicode ???
am i missing something ?
thanks
-
If I am not mistaken , you need build-essential, g++ , lib-tools package .
C::B can only run on wxGTK2.6.x with Unicode make (I remember last time the unicode conversion proposed by rick is to solve the Linux prolem)
I use wxwidgets-2.6.2 , manage to compile using the autotools (bootstrap .. configure ...) but it was 1 month ago , recently C::B is under heavy changes , maybe there are some changes ..
it is better to put all the code under <home> directory or else it will have a lot of authority problem ..unless you use root , I suffer from that the first few times of my trial.
-
C::B compiles and works fine out-of-the-box in Ubuntu (that's what I use :) ).
Just install the essentials (compiler, autotools), install the wxGTK packages (no need to build it yourself) and wxgtk-common and then build C::B. Easy as 1-2-3 :)
-
C::B compiles and works fine out-of-the-box in Ubuntu (that's what I use :) ).
Just install the essentials (compiler, autotools), install the wxGTK packages (no need to build it yourself) and wxgtk-common and then build C::B. Easy as 1-2-3 :)
Hi Mandrav,
For the unexperienced users, can you be more precise about "build Easy as 1-2-3" ;-)
Thanks a lot.
Pascual.
-
Have you read the wiki?
Read this (http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29), the section titled "Code::Blocks installation".
-
Sorry :( I have just done it
Sorry again and thanks a lot.
Pascual.
-
Sorry :( I have just done it
Sorry again and thanks a lot.
Pascual.
Can you briefly explain which steps you have done ?
1. get all the packages for building like build-essential , autotools etc
2. compile wxGTK / install wxGTK
3. check the setup.h , the line wxUSE_UNICODE should be set to 1.
4. make sure wx-config is in the search path , can be confirmed using "which wx-config"
make sure that the your user id have the rights to read/write wxGTK path
download the CB source and put under your /usr/home/codeblocks
you need to use dos2unix to convert the source to unix-compatible format.
you can search the thread in Linux/Unix section , there is a thread about compilation of CB under debian , use that as a guide to compile
basically the CB compilation steps are
./bootstrap
./configure
./make
./make install <- this one need to use sudo