Page 1 of 1

Luckfox SDK

Posted: 2024-09-13 8:38
by simonle89
I ran the build.sh command on my Mac with an Apple Silicon chip. However, the following error occurred. I followed the instructions, but it still doesn't work. I hope the Luckfox Pico team can help me run the build.sh command successfully.

Code: Select all

[build.sh:error] Not found toolchain arm-rockchip830-linux-uclibcgnueabihf-gcc for [rv1106] !!!
[build.sh:info] Please run these commands to install arm-rockchip830-linux-uclibcgnueabihf-gcc

    cd /home/tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/
    source env_install_toolchain.sh

Re: Luckfox SDK

Posted: 2024-09-13 8:54
by Crocodile
Hello, if you are using an M1 M2 (ARM chip) MAC, then you can't directly use the luckfox pico SDK (Rockchip's cross-compilation tools are all x86 to ARM), you can use a virtual machine or docker to deploy the build environment

Re: Luckfox SDK

Posted: 2024-09-16 3:50
by simonle89
hi @Crocodile
I used docker to compile, but it has the same issue

Re: Luckfox SDK

Posted: 2024-09-19 8:17
by Crocodile
I'm sorry I don't have much experience with MAC, in theory docker + qemu can implement architecture simulation on MAC M1/M2, I can't help more, you may need to look up the relevant information for this part