Author Topic: How do i install Codeblocks to Ubuntu?  (Read 6467 times)

th3-m3wn

  • Guest
How do i install Codeblocks to Ubuntu?
« 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....

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: How do i install Codeblocks to Ubuntu?
« Reply #1 on: April 18, 2006, 06:48:17 am »
I wrote this up and added it to the Code::Blocks wiki.

Ubuntu Install Guide

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

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: How do i install Codeblocks to Ubuntu?
« Reply #2 on: April 18, 2006, 11:26:55 pm »
I wrote this up and added it to the Code::Blocks wiki.

Ubuntu Install Guide

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

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: How do i install Codeblocks to Ubuntu?
« Reply #3 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

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: How do i install Codeblocks to Ubuntu?
« Reply #4 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.)
« Last Edit: April 19, 2006, 02:42:03 am by RJP Computing »
- Ryan

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: How do i install Codeblocks to Ubuntu?
« Reply #5 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

Offline RJP Computing

  • Almost regular
  • **
  • Posts: 135
    • RJP Computing
Re: How do i install Codeblocks to Ubuntu?
« Reply #6 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.
- Ryan

Ubuntu/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, ATI Radeon 9600XT 256MB

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: How do i install Codeblocks to Ubuntu?
« Reply #7 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: How do i install Codeblocks to Ubuntu?
« Reply #8 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...
Be patient!
This bug will be fixed soon...