News:

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

Main Menu

Autocompleting in Fedora 16

Started by nsyedin, January 09, 2012, 10:52:54 AM

Previous topic - Next topic

nsyedin

Hi guys! First of all i want ti say thanks for this great IDE. It's very quick, looks very good. After Eclipse i am happy. But i have a little problem. When i add a new header to the project, elements of header, such as structures and functions, are parsed and autocompletes ok. But when i try to call method from a pointer for included header, the autocompletion don not work.
E.g.:
#include "cv.h"
#include "highgui.h"
#include <stdio.h>
int main(void)
{
    vector v; // class from std
    IplImage f; //strucr from includes
    v. //works ok, autocomplete fine
    f. //do not work, nothing happened
    return 0;
}
Can anyone help me to solve this problem? Thanks in advance.

oBFusCATed

What is IplImage? What version are you using? If you're on 10.05 please try to update to a nightly build.
(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!]

nsyedin

IplImage is struct from "cv.h". Yes i use CB 10.05. I tried to install last nightly build, downloaded it and convert from deb to rpm for my distro, but was unable to install. Some dependences were wrong.

nsyedin

May be there is a way to invoke autocomplete window when i type "." or "->"?

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!]

nsyedin

Ok, i'll try. Thanks for you response.

ollydbg

IplImage is a very basic structure of OpenCV library. Not sure how you configure, what is your opencv library version, codecompletion should work OK.
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.

nsyedin

Found a solution:
Installed this repo:
sudo rpm -Uvh http://fedora.danny.cz/danny/danny-release-14-1.noarch.rpm
Version 11 works perfect.