Code::Blocks Forums

User forums => Help => Topic started by: th3-m3wn on April 18, 2006, 04:27:04 am

Title: How do i install Codeblocks to Ubuntu?
Post by: th3-m3wn on April 18, 2006, 04:27:04 am
Can anyone point me to a doc which explains how to install the nightly build of Codeblocks to Ubuntu. I cant find anything anywheres....
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: RJP Computing on April 18, 2006, 06:48:17 am
I wrote this up and added it to the Code::Blocks wiki.

Ubuntu Install Guide (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks#Linux)

Please feel free to comment about this. If there is anything I did that could be done differently please let me know or fix it right out on the wiki.

Hope it helps.
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: Pecan on April 18, 2006, 11:26:55 pm
I wrote this up and added it to the Code::Blocks wiki.

Ubuntu Install Guide (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks#Linux)

Please feel free to comment about this. If there is anything I did that could be done differently please let me know or fix it right out on the wiki.

Hope it helps.

Nice job. Thanks

Can anyone tell me how to install the wxWidgets source on ubuntu
so that I can run CodeBlocks in __wxDEBUG__ mode with gdb?
There used to be something on the wiki about this, but it's now gone.

thanks
pecan
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: Michael on April 18, 2006, 11:30:51 pm
Can anyone tell me how to install the wxWidgets source on ubuntu
so that I can run CodeBlocks in __wxDEBUG__ mode with gdb?
There used to be something on the wiki about this, but it's now gone.

Hello,

There is something here:

http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Linux_%28applies_to_all_distros%29

Best wishes,
Michael
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: RJP Computing on April 19, 2006, 12:42:10 am
...
Nice job. Thanks
Thanks.

Can anyone tell me how to install the wxWidgets source on ubuntu
so that I can run CodeBlocks in __wxDEBUG__ mode with gdb?
There used to be something on the wiki about this, but it's now gone.
...
Sure!

It is really easy. If you think it should be added just let me know or add it.

Code
sudo apt-get install libwxgtk2.6-dbg

(I actually don't have this installed so I can't personally verify but I am sure it is fine.)
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: Pecan on April 19, 2006, 01:30:15 am
sudo apt-get install liwxgtk2.6-dbg

(I actually don't have this installed so I can't personally verify but I am sure it is fine.)

It says it can't find package liwxgtk2.6-dbg, but it did find
libwxgtk2.6-dbg. I'm guessing there is no difference.

thanks
pecan
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: RJP Computing on April 19, 2006, 02:42:39 am
It says it can't find package liwxgtk2.6-dbg, but it did find
libwxgtk2.6-dbg. I'm guessing there is no difference.

thanks
pecan

Sorry mis-spelling. It is fixed now.
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: Pecan on April 19, 2006, 03:48:26 pm
Code
sudo apt-get install libwxgtk2.6-dbg

Ok, thanks, that worked great!

Now, where in the .cbp do I tell CodeBlocks to link
against the *debug* version of wxGTK?

thanks
pecan
Title: Re: How do i install Codeblocks to Ubuntu?
Post by: mandrav on April 19, 2006, 04:21:47 pm
Code
sudo apt-get install libwxgtk2.6-dbg

Ok, thanks, that worked great!

Now, where in the .cbp do I tell CodeBlocks to link
against the *debug* version of wxGTK?

thanks
pecan


Find all occurrences of `wx-config --cflags` and `wx-config --libs` and add the option --debug...