Author Topic: The 14 April 2012 build (7932) is out.  (Read 126608 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: The 14 April 2012 build (7932) is out.
« Reply #90 on: May 05, 2012, 09:30:04 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #91 on: May 05, 2012, 09:32:18 am »
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!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6035
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 14 April 2012 build (7932) is out.
« Reply #92 on: May 05, 2012, 10:10:10 am »
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.
« Last Edit: May 06, 2012, 05:41:56 am by ollydbg »
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.

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Re: The 14 April 2012 build (7932) is out.
« Reply #93 on: May 06, 2012, 05:07:17 am »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: The 14 April 2012 build (7932) is out.
« Reply #94 on: May 07, 2012, 08:25:36 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: The 14 April 2012 build (7932) is out.
« Reply #95 on: May 07, 2012, 08:28:37 pm »
...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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #96 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) :)
(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!]

Offline cacb

  • Lives here!
  • ****
  • Posts: 539
Re: The 14 April 2012 build (7932) is out.
« Reply #97 on: May 08, 2012, 12:56:01 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: The 14 April 2012 build (7932) is out.
« Reply #98 on: May 08, 2012, 07:48:12 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #99 on: May 08, 2012, 08:46:02 am »
No, it is not :)
(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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: The 14 April 2012 build (7932) is out.
« Reply #100 on: May 08, 2012, 09:01:45 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 14 April 2012 build (7932) is out.
« Reply #101 on: May 08, 2012, 09:36:35 am »
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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: The 14 April 2012 build (7932) is out.
« Reply #102 on: May 08, 2012, 07:59:54 pm »
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.

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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline headkase

  • Almost regular
  • **
  • Posts: 159
Re: The 14 April 2012 build (7932) is out.
« Reply #103 on: May 09, 2012, 05:02:03 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:
Code
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

Offline mushakk

  • Multiple posting newcomer
  • *
  • Posts: 54
Re: The 14 April 2012 build (7932) is out.
« Reply #104 on: May 17, 2012, 09:30:24 pm »
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