User forums > Using Code::Blocks

Passing command-line arguments

<< < (2/3) > >>

stahta01:
Are you positive you built an executable instead of building a library?

Tim S.

Jenna:

--- Quote from: archwndas on December 31, 2011, 05:33:01 pm ---After installing the extra lines in  /etc/apt/sources.list and running
apt-get update
There are a few options that appear, but it is not clear what to install.
So, it is a dead end for me.

I do not know what to do. Could you please help a bit?


--- End quote ---

Try
--- Code: ---sudo apt-get install codeblocks codeblocks-contrib
--- End code ---

archwndas:

--- Quote ---
--- Code: ---sudo apt-get install codeblocks codeblocks-contrib
--- End code ---

--- End quote ---


--- Code: ---$ sudo apt-get install codeblocks codeblocks-contrib
--- End code ---
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 codeblocks : Depends: libcodeblocks0 (= 10.05svn7639-1) but 10.05-2 is to be installed
              Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu10 is to be installed
              Depends: libwxgtk2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu10 is to be installed
 codeblocks-contrib : Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu10 is to be installed
                      Depends: libwxgtk2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu10 is to be installed
                      Depends: libwxsmithlib0 (= 10.05svn7639-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Jenna:
It seems you did not read the notes for ubuntu users on my site.

archwndas:
OK now it works, but I found another bug.

Valgrind does not understand the
Execution working dir

I went to:

Project->Properties->Build Options

and modified the execution working directory, because I have some input
files using relative paths. When I run the executable normally, everything
is fine. But the valgrind (memcheck) doesn't seem to understand that the
Execution working directory has been modified.

Is that easy to fix?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version