Code::Blocks Forums

User forums => Help => Topic started by: nsyedin on January 09, 2012, 10:52:54 am

Title: Autocompleting in Fedora 16
Post by: nsyedin on January 09, 2012, 10:52:54 am
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.
Title: Re: Autocompleting in Fedora 16
Post by: oBFusCATed on January 09, 2012, 10:55:59 am
What is IplImage? What version are you using? If you're on 10.05 please try to update to a nightly build.
Title: Re: Autocompleting in Fedora 16
Post by: nsyedin on January 09, 2012, 11:00:53 am
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.
Title: Re: Autocompleting in Fedora 16
Post by: nsyedin on January 09, 2012, 11:27:33 am
May be there is a way to invoke autocomplete window when i type "." or "->"?
Title: Re: Autocompleting in Fedora 16
Post by: oBFusCATed on January 09, 2012, 11:28:09 am
You have to build from source.
Title: Re: Autocompleting in Fedora 16
Post by: nsyedin on January 09, 2012, 11:35:12 am
Ok, i'll try. Thanks for you response.
Title: Re: Autocompleting in Fedora 16
Post by: ollydbg on January 09, 2012, 12:08:26 pm
IplImage is a very basic structure of OpenCV library. Not sure how you configure, what is your opencv library version, codecompletion should work OK.
Title: Re: Autocompleting in Fedora 16
Post by: nsyedin on January 09, 2012, 01:14:02 pm
Found a solution:
Installed this repo:
sudo rpm -Uvh http://fedora.danny.cz/danny/danny-release-14-1.noarch.rpm
Version 11 works perfect.