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

How to build and run CommonParentInTree.cpp on macOS? #93

Open
gongzelong0718 opened this issue May 2, 2023 · 0 comments
Open

How to build and run CommonParentInTree.cpp on macOS? #93

gongzelong0718 opened this issue May 2, 2023 · 0 comments

Comments

@gongzelong0718
Copy link

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/Users/gongzelong/Algorithm/SwordToOffer/official_Cplusplus/68_CommonParentInTree/CommonParentInTree.cpp).C/C++(1696)
cannot open source file "..\Utilities\Tree.h"C/C++(1696)
/Users/gongzelong/Algorithm/SwordToOffer/official_Cplusplus/68_CommonParentInTree/CommonParentInTree.cpp:19:10: fatal error: '..\Utilities\Tree.h' file not found
#include "..\Utilities\Tree.h"
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[Finished in 1.0s with exit code 1]
[cmd: ['bash', '-c', "g++  '/Users/gongzelong/Algorithm/SwordToOffer/official_Cplusplus/68_CommonParentInTree/CommonParentInTree.cpp' -std=c++11 -stdlib=libc++ -o '/Users/gongzelong/Algorithm/SwordToOffer/official_Cplusplus/68_CommonParentInTree/CommonParentInTree' && '/Users/gongzelong/Algorithm/SwordToOffer/official_Cplusplus/68_CommonParentInTree/CommonParentInTree'"]]
[dir: /Users/gongzelong/Algorithm/SwordToOffer/official_Cplusplus/68_CommonParentInTree]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
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

No branches or pull requests

1 participant