Frage

In one file in Xcode, I'm writing:

#include "mass/gravity_tool.h"

And it keeps complaining that the file can't be found. However, if I change it to just:

#include "gravity_tool.h"

It finds it fine.

The .h file is indeed within a "mass" folder I dragged into Xcode.

I can't just change it to remove the path because this is used throughout dozens of files. Is there a way to get it to accept it as is?

War es hilfreich?

Lösung

Add in Header Search Pathes parent of mass-folder.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top