Hi,
I'm new to codeblocks and couldn't find anything about cross reference. Here's what I would like to do:
If I have code that looks like this:
void f1()
{
}
void f2()
{
f1();
}
int main()
{
f1();
}
I want to be able to view all calls to f1(). Is it possible? Of course, I can just use the search tool, but I prefer to be able to right-click a symbol and find where it is used.
Thanks,
Erez
I followed your instructions and added to /etc/apt/sources.list the following lines:
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main
deb http://apt.wxwidgets.org/ lenny-wx main
I got this when trying to install:
The following packages have unmet dependencies:
codeblocks: Depends: libcodeblocks0 (= 10.05svn7639-1) but it is not going to be installed
Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu8.1 is to be installed
Depends: libwxgtk2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu8.1 is to be installed
codeblocks-additional: Depends: libcodeblocks0 but it is not going to be installed
Depends: libwxsmithlib0 (= 10.05svn7639-1) but it is not going to be installed
codeblocks-contrib: Depends: libcodeblocks0 but it is not going to be installed
Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu8.1 is to be installed
Depends: libwxgtk2.8-0 (>= 2.8.12.1) but 2.8.11.0-0ubuntu8.1 is to be installed
Depends: libwxsmithlib0 (= 10.05svn7639-1) but it is not going to be installed
Are the packages from apt.wxwidgtes.org visible in your package-manager ?
If not, did you update the lists after adding apt.wxwidgets.org ?
I just tested it on ubuntu 10.04 (under qemu-kvm) and it works as expected.
Did you import the wxwidgets key as described on my site ?
Normally it should warn about untrusted key, but work anyway,
nevertheless it might be wort a try:
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
Yes, those packages are available in the list, and yes, I did run the "wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -" command.
I manually removed the libwxbase package and then I installed the package from apt.wxwidgets.org (via apt-get). Now, I have v2.8.12.0-0, but it looks like I need v2.8.12.1. Here's the new error message:
root@erez-lx:~/t# apt-get install codeblocks
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 it is not going to be installed
Depends: libwxbase2.8-0 (>= 2.8.12.1) but 2.8.12.0-0 is to be installed
Depends: libwxgtk2.8-0 (>= 2.8.12.1) but it is not going to be installed
E: Broken packages