./build.sh 失败

  • It seems that you're missing the flex tool, which is used to generate lexical analyzers. Please try installing it with the following commands:

    Code: Select all

    sudo apt-get update
    sudo apt-get install flex
    Also, please strictly follow our SDK's official documentation. We include the flex tool when installing environment dependencies. If you're using a different Ubuntu distribution version, you can compile using Docker. Normally, compilation errors should not occur.
    SDK-FLEX.png
    https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-SDK/