[Sharing] Common Issues When Compiling Gateway Programs with Tuya Wind IDE

Gateway equipment, voice control devices, etc.


Post Reply
shuangshuang.ruan
Posts: 7

System Environment: Linux, Ubuntu 20.04_amd64

  1. Compilation Time and Notes:

    • When executing build.sh for the first time, it will compile the vendor, taking between 5 to 20 minutes, depending on CPU performance. There might be no log output during kernel compilation, so please be patient.
    • Errors during the vendor compilation won't immediately halt the process. You'll need to look upward to locate issues. Use "error" as a keyword for searching to pinpoint and resolve compilation problems more accurately.
  2. Installing Dependencies:

    Code: Select all

       apt install autoconf automake cmake gettext whois -y
       apt install bc bison flex tree zip -y
  3. Resolving fatal error: openssl/aes.h: No such file or directory message:

    Code: Select all

       apt-get install libssl-dev
  4. Fixing the Python Not Found Issue:
    Python 2 is required during the vendor compilation. Install Python 2 and set it as the default Python program by creating a symbolic link:

    Code: Select all

       apt install python2
       ln -s /usr/bin/python2 /usr/bin/python
  5. Resolving Python's Failure to Locate the yaml Module:

    Code: Select all

       apt-get install python-yaml
  6. Addressing mips-linux-xgcc: No such file or directory message:

    Code: Select all

       dpkg --add-architecture i386
       apt-get update
       apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 zlib1g:i386 -y

Hope this helps you and others in smoothly compiling gateway programs using Tuya Wind IDE!

Post Reply