hi, I tried to compile depthai-core according to the tutorial, but an error occurred.
cmake -H. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON' cmake --build build
Above is the command I ran。 I am very anxious to know where the problem is.
Hello yimu , just double-checking, did you follow instructions in the readme - like git submodule update --init --recursive before you try to build? Thanks, Erik
git submodule update --init --recursive
hi,erik
Unfortunately, after I executed the git submodule update --init --recursive command, the above error still persists.
hi, I did not execute this command, thank you for your reply, I think this is the answer to the question.
Hello yimu , could you provide the full log of this error?
No depthai.hpp file found
@yimu Can you run the following and post back the capture.txt file:
capture.txt
script capture.txt git clone https://github.com/luxonis/depthai-core.git --recursive cmake -H. -Bbuild -D'DEPTHAI_BUILD_EXAMPLES=ON' cmake --build exit