Author Topic: Search Path: Do i need to add all paths as seen in the attached image ?  (Read 3869 times)

Offline khaoz

  • Single posting newcomer
  • *
  • Posts: 4
I have added a lot of paths to my search path, but i don't know if i need to add one by one or only top directories to get the code completion working fine (i will install boost and ogre3d too).

Can you help me ?

Thank you.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Search Path: Do i need to add all paths as seen in the attached image ?
« Reply #1 on: September 06, 2010, 01:17:43 am »
Quote
but i don't know if i need to add one by one or only top directories to get the code completion working fine (i will install boost and ogre3d too).
No, you don't, CodeCompletion plugin will add them automatically.
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 reckless

  • Regular
  • ***
  • Posts: 338
Re: Search Path: Do i need to add all paths as seen in the attached image ?
« Reply #2 on: September 11, 2010, 10:20:02 pm »
in most cases aye :) allthough i seen a few cases where it fails to find the right include directory one example is a msys/mingw compiled freetype where the freetype include directory is a subdirectory of freetype2 in the mingw/include folder.

in that case you get an error saying it cant find the freetype folder ;) so here it might be nessesary to add it to path.