Hi All,
I am currently trying to build the Odrive firmware using VS Code on Windows. It is simply the firmware from Github. When I run the build I get the following errors:
board version: v3.5-24V
Firmware version 0.5.2-dev (fw-v0.5.2-22-g5bd221e6*)
-
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --generate-endpoints ODrive3 --template fibre-cpp/endpoints_template.j2 --output autogen/endpoints.hpp
*** tup messages ***
tup error: Expected to write to file ‘autogen/endpoints.hpp’ from cmd 421 but didn’t
*** Command failed due to errors processing the output dependencies.
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --generate-endpoints ODrive3 --template fibre-cpp/endpoints_template.j2 --output autogen/endpoints.hpp
-
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre-cpp/function_stubs_template.j2 --output autogen/function_stubs.hpp
*** tup messages ***
tup error: Expected to write to file ‘autogen/function_stubs.hpp’ from cmd 419 but didn’t
*** Command failed due to errors processing the output dependencies.
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre-cpp/function_stubs_template.j2 --output autogen/function_stubs.hpp
-
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre-cpp/type_info_template.j2 --output autogen/type_info.hpp
*** tup messages ***
tup error: Expected to write to file ‘autogen/type_info.hpp’ from cmd 423 but didn’t
*** Command failed due to errors processing the output dependencies.
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre-cpp/type_info_template.j2 --output autogen/type_info.hpp
-
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre-cpp/interfaces_template.j2 --output autogen/interfaces.hpp
*** tup messages ***
tup error: Expected to write to file ‘autogen/interfaces.hpp’ from cmd 417 but didn’t
*** Command failed due to errors processing the output dependencies.
[ ETA~=17s Remaining=99 Active=0 ] 3%
*** tup: 4 jobs failed.
make: *** [Makefile:33: all] Error 1
The terminal process “C:\Program Files\Git\bin\bash.exe ‘-c’, ‘make’” terminated with exit code: 2.
- python -B interface_generator_stub.py --definitions odrive-interface.yaml --template fibre-cpp/interfaces_template.j2 --output autogen/interfaces.hpp
Press any key to close the terminal.
I searched through the forum but I didn’t find any solution working for this error.
If anyone knows how to fix it, I would really appreciate it.
Thanks