kendryte / nncase

Open deep learning compiler stack for Kendryte AI accelerators ✨
Apache License 2.0
753 stars 183 forks source link

Building for PlatformIO for a Kendryte 210 SDK and NNCASE... #616

Closed silver2row closed 2 years ago

silver2row commented 2 years ago

Describe the bug

fatal error: span: No such file or directory
   21 | #include <span>
      |          ^~~~~~
compilation terminated.
make[2]: *** [src/data/CMakeFiles/data.dir/build.make:76: src/data/CMakeFiles/data.dir/dataset.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:903: src/data/CMakeFiles/data.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

To Reproduce Command line or scripts to reproduce the behavior: cmake .. -DCMAKE_BUILD_TYPE=Release -DTOOLCHAIN=/opt/riscv-toolchain/bin && make

Expected behavior A clear and concise description of what you expected to happen. I expected the build to finish correctly.

Origin model and code If applicable, add orgin model and code to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here. Hello...

Is this supported for the Kendryte Standalone SDK for the MaixDuino?

silver2row commented 2 years ago

Hello...

It works on Debian Bullseye in WSL2 for PlatformIO b/c of gcc-10 being the current cross_compiler.

Seth

P.S. One would have to install conan and pip but it builds when one would clone this repo. and listen to the build instructions.