Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PathRoot.h not found with Xcode MXTest Project #121

Closed
CoderAndCat opened this issue Feb 3, 2021 · 3 comments · Fixed by #122
Closed

PathRoot.h not found with Xcode MXTest Project #121

CoderAndCat opened this issue Feb 3, 2021 · 3 comments · Fixed by #122

Comments

@CoderAndCat
Copy link

截屏2021-02-03 18 26 21

@webern
Copy link
Owner

webern commented Feb 3, 2021

Normally that file is generated by the Cmake. It defines a string that gives absolute paths so the test files can be found.

https://github.com/webern/mx/blob/a9fc36706eec038d4d68dd346c43dfe18184038a/CMakeLists.txt#L75...L89

You could create that file manually for now.

Are you using the checked-in Xcode project, i.e. https://github.com/webern/mx/tree/master/Xcode/mx.xcworkspace?
I don't remember how I handled PathRoot.h in the checked-in Xcode project... I think what happens is that, since I always use the Cmake project, PathRoot.h is generated for me. Then if I use the Xcode project, it happens to be there.

@CoderAndCat
Copy link
Author

Yes, Im using the checked-in Xcode project.
I only clone the mx to my computer. Does it cause?

@webern webern changed the title I try to run MxTest project , it was wrong PathRoot.h not found with Xcode MXTest Project Feb 4, 2021
@webern
Copy link
Owner

webern commented Feb 4, 2021

This issue is fixed with the PR I just merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants