Skip to main content
mBosc.11
Associate II
December 26, 2019
Question

Add my directory in project

  • December 26, 2019
  • 2 replies
  • 1640 views

Hi all,

i want insert in the project my directory , for organize the code ..

The problem is that not compile, because don't recognize the correct path.

I think that all set is correct, Set in Paths Symbols the new path

0690X00000Buxj1QAB.pngthe only way is to insert the complete path, but this is inconvenient because it cannot be carried on another pc. how should I go to give the correct path to the new directories that I am going to insert?0690X00000BuxirQAB.png

Also I would like to add other folders within my new folder "" AppProgetto ", in order to carry all my work quickly and easily.

Thanks

This topic has been closed for replies.

2 replies

mBosc.11
mBosc.11Author
Associate II
December 26, 2019

Solved:

#include "..\..\AppProgetto/esecuzioneMain.h"

is need to decrease two directory-

Pavel A.
Super User
December 27, 2019

Confused with Eclipse? :)

Source folders is where you specify additional folders containing C files.

Folders containing .h files are specified in Includes.

Note that all relative paths are relative to the build directory which usually named as the configuration, in your case, "Debug".

This adds one level, so to compensate and get to Test_LFTX you need two steps up.

The best practice is to specify the paths relative to the directory containing .project and .cproject.

Try to add this:

${ProjDirPath}/AppProgetto