News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

The 14 April 2012 build (7932) is out.

Started by killerbot, April 14, 2012, 12:25:59 PM

Previous topic - Next topic

MortenMacFly

Quote from: jens on April 14, 2012, 10:32:10 PM
Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.
Jens, I've temporarily installed a Linux for testing (Ubuntu 12.04) and followed the steps as described on your page. But how do I actually install codeblocks itself? You describe how to modify the apt sources list and install your keyring files but then the description stops. In the Ubuntu package manager I only see 10/05 version from ubuntu...?! ::) ???
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

apt-get update
apt-get install codeblocks

probably :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ollydbg

#92
Morten, search my posts in this sub forum, there's answers. sent from my phone.

EDIT
See here:
Re: The 11 February 2012 build (7790) DEBUGGER BRANCH version is out.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

headkase

MortenMacFly,

If you have Synaptic (a GUI package manager) installed you can also look under the "Origin" (or very similar) tab, click on his PPA and it'll show just the packages from that.

This is from memory - it's been a while since I used a Debian-derivative.

Did a quick search, yup, origin tab with Synaptic:

http://askubuntu.com/questions/88640/how-can-i-determine-which-software-repositories-are-in-active-use

MortenMacFly

Quote from: headkase on May 06, 2012, 05:07:17 AM
If you have Synaptic (a GUI package manager) installed you can also look under the "Origin" (or very similar) tab, click on his PPA and it'll show just the packages from that.
Yeah, I know that well. However, in 12/04 things have changed and I don't see the options anymore. Instead you have a freaking "app store" like thing that doesn't show all packages and refuses to install 3rd party ones (not signed).

So on Ubuntu, I am back on the command line. Oh well - how I love Linux... but what the heck - Win8 won't be better...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

...meanwhile I've compiled it myself. So no need for Jens' nightly anymore... sorry, Jens. :-)

However, for the devs: You cannot compile C::B from SVN using 10/05 anymore. The import libs are not being generated (only on Linux). Did anymone notice that? That's not nice!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Why would you want to compile c::b on linux using 10.05 in order to just install it?
Autotools is the preferred way, I think, so for me this is not a defect (if it is linux only of course) :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

cacb

Quote from: MortenMacFly on May 05, 2012, 09:30:04 AM
Jens, I've temporarily installed a Linux for testing (Ubuntu 12.04) and followed the steps as described on your page. But how do I actually install codeblocks itself? You describe how to modify the apt sources list and install your keyring files but then the description stops. In the Ubuntu package manager I only see 10/05 version from ubuntu...?! ::) ???

Here is how I have done it for a while under Kubuntu (could be bugs since this is from late 2010). Replace "KpackageKit" with whatever the package manager GUI is called now.

I use the repository supported by Jens Lody http://apt.jenslody.de/ . Using this method, upgrades will automatically be made available for download as the repository is updated. Follow the descriptions on that page, add the following repository in KpackageKit, software sources
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main

The easiest way to add his public-key to apt's trustdb is to install the package jens-lodydebian-
keyring with your preferred package-manager or with:
$ sudo apt-get update
$ sudo apt-get install jens-lody-debian-keyring

To get the wxWidgets shared libraries used with Code::Blocks, add also to KpackageKit
deb http://apt.wxwidgets.org/ lenny-wx main
and
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
finally, to install Code::Blocks

$ sudo apt-get install wx-common (optional)
$ sudo apt-get install libwxgtk2.8-dev
$ sudo apt-get install codeblocks

Code::Blocks becomes available under Development in the KDE menu.

As noted, there could be inaccuracies in the above, but it illustrates the main approach.

MortenMacFly

Quote from: oBFusCATed on May 07, 2012, 08:36:40 PM
Why would you want to compile c::b on linux using 10.05 in order to just install it?
Autotools is the preferred way, I think, so for me this is not a defect (if it is linux only of course) :)
Because you can install 10/05 w/o hassle from the package repo and then the easiest way would be to compile C::B using C::B, of course. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: oBFusCATed on May 08, 2012, 08:46:02 AM
No, it is not :)
Well autotools is a lot of commands and cryptic errors for me, while C::B is simply the WS open and hit compile. Anyways - the point is, that IMHO it used to work. I recall doing it like that in older Ubuntu. It seems 10/05 does not generate the import libs correctly under Ubuntu (Linux). I wonder if this is a general error or not. A reason could be the more recent compiler used in this version of Ubuntu. Did somebody try recently?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

You're a windows user, linux users are used to autotools...

BTW: What import libraries? There is no such thing in linux, as far as I know.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: oBFusCATed on May 08, 2012, 09:36:35 AM
You're a windows user, linux users are used to autotools...
Yes, maybe. But we are also developing an IDE that allows for not using autotools. Its like buying a car but then taking the bicycle to drive to your destination... ::) But hey - as long as I have a way not using autotools I am happy.

Quote from: oBFusCATed on May 08, 2012, 09:36:35 AM
BTW: What import libraries? There is no such thing in linux, as far as I know.
Well I meant the libraries to link against if you prefer. But I guess meanwhile I figured out the cause. 10/05 does not prepend the "lib" prefix tot he libs and therefore they are simply not found by the linker. Adding the lib prefix in the project file would fix it.

So... nevermind.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

headkase

Quote from: MortenMacFly on May 07, 2012, 08:25:36 PM
Quote from: headkase on May 06, 2012, 05:07:17 AM
If you have Synaptic (a GUI package manager) installed you can also look under the "Origin" (or very similar) tab, click on his PPA and it'll show just the packages from that.
Yeah, I know that well. However, in 12/04 things have changed and I don't see the options anymore. Instead you have a freaking "app store" like thing that doesn't show all packages and refuses to install 3rd party ones (not signed).

So on Ubuntu, I am back on the command line. Oh well - how I love Linux... but what the heck - Win8 won't be better...

I believe what you are using there is the "Software Center."  That is a Canonical "innovation" ;)  On a terminal you should be able to do:
sudo apt-get install synaptic
And that should get you, the much better IMHO, package manager.

However, grain-of-salt, it's been a while since I've been on Ubuntu - Arch for the win! :D

mushakk

I was getting big delays too (more than 15 mins) and I correct it deleting the 'C:\Users\XXX\AppData\Roaming\CodeBlocks/share/codeblocks' directory

I hope you find it helps