Pregunta

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?

¿Fue útil?

Solución

Add in Header Search Pathes parent of mass-folder.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top