Error trying to compile SDK

  • Hello, your environment variables include ~/dev/luckfox/sdk/luckfox-pico, which causes the SDK check to fail during compilation. Please remove the declaration of the Luckfox Pico SDK root directory from your environment variables. If you set the environment variable in ~/.zshrc or ~/.bashrc, you can delete the setting directly. If you're not sure where it was added, you can temporarily use the export PATH command to set it.
  • Crocodile wrote: 2024-08-15 1:06 Hello, your environment variables include ~/dev/luckfox/sdk/luckfox-pico, which causes the SDK check to fail during compilation. Please remove the declaration of the Luckfox Pico SDK root directory from your environment variables. If you set the environment variable in ~/.zshrc or ~/.bashrc, you can delete the setting directly. If you're not sure where it was added, you can temporarily use the export PATH command to set it.
    Thank you for your help.

    I solved the problem by editing my PATH variable and removing the colons (::)

    Another thing I discovered is that for the SDK to compile correctly you need a gcc version 9 or higher.

    Best regards !