문제

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?

도움이 되었습니까?

해결책

Add in Header Search Pathes parent of mass-folder.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top