Closed rushilkhurana closed 4 years ago
Hmm, I'm not too familiar with this build system but I'm going to take a crack at this.
I have a working directory until-
/Users/sylar/PX4/Flow/Build/px4flow-v2_default.build/Users/sylar/PX4/Flow/src/modules/uavcannode/dsdlc_generated/uavcan
It has only two files:
CoarseOrientation.hpp Timestamp.hpp
It does not have any folder for protocol which should contain the missing file.
Yes, the directory:
~/Flow/src/lib/uavcan
exists, and it has a bunch of files.
When I do a git status in this folder, I get:
HEAD detached at 4dff5c22 nothing to commit, working tree clean
So, it looks like it did successfully clone.
I am not sure why it solved the issue, but for future reference- on my setup, I had to download the PX4 Firmware and follow the Clang instructions here: https://dev.px4.io/v1.9.0/en/setup/dev_env_linux_ubuntu.html#clang
In the Clang instructions, I removed the rpi specific paths.
When I built and uploaded the Flow repository afterwards, I did not get the above issue and was able to make all.
Even though this is not a requirement listed for Mac, this is the only way I could get it to successfully work with my setup.
I am having other (possibly related?) issues with the output, and I will open a new issue for that.
I have a PX4FLOW Smart Camera Sensor Board. I was following the build instructions at https://docs.px4.io/v1.9.0/en/sensor/px4flow.html#build
I was able to successfully install the PX4 toolchain. Then to build this code,
I cloned the directory, and followed the instructions. I was able to successfully do make archives. However, when I run 'make', I get the following error:
I am on MAC OSX Catalina.
Any ideas on how to fix this?