Author Topic: Autocompleting in Fedora 16  (Read 4949 times)

Offline nsyedin

  • Single posting newcomer
  • *
  • Posts: 5
Autocompleting in Fedora 16
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Autocompleting in Fedora 16
« Reply #1 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.
(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 nsyedin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Autocompleting in Fedora 16
« Reply #2 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.

Offline nsyedin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Autocompleting in Fedora 16
« Reply #3 on: January 09, 2012, 11:27:33 am »
May be there is a way to invoke autocomplete window when i type "." or "->"?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Autocompleting in Fedora 16
« Reply #4 on: January 09, 2012, 11:28:09 am »
You have to build from source.
(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 nsyedin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Autocompleting in Fedora 16
« Reply #5 on: January 09, 2012, 11:35:12 am »
Ok, i'll try. Thanks for you response.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Autocompleting in Fedora 16
« Reply #6 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.
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 nsyedin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Autocompleting in Fedora 16
« Reply #7 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.