Error 127 and binary output for Parrot Mambo
3 次查看(过去 30 天)
显示 更早的评论
I've been having trouble with a couple of errors I cannot seem to fix in MATLAB. I've encountered the errors: "Error 127" and the "Failed to generate all binary outputs" error. Ive tried all the methods I've seen online and im still at a lost. Ive added the code it gives me below and as a text file. === Build (Elapsed: 47 sec) ===
### Starting build procedure for model: parrot_gettingstarted
Error:"/home/taskinpadir/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/bin/arm-none-linux-gnueabi-gcc" -c -MMD -MP -MF"parrot_gettingstarted.dep" -MT"parrot_gettingstarted.o" -DDELOS -DDELOS_EDU -fPIC -Wall -save-temps -DMODEL=parrot_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DUNIX -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DDELOS -DDELOS_EDU -DEXTMODE_DISABLETESTING -DEXTMODE_STATIC_SIZE=16384 -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DPARROT_LINUX_COMM -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DMW_HAS_OPTICAL_FLOW_LOGIC -DSTOP_TIME=100 -DMAMBO=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDELOS -DDELOS_EDU -DEXTMODE_DISABLETESTING -DEXTMODE_STATIC_SIZE=16384 -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DPARROT_LINUX_COMM -DSTACK_SIZE=64 -DRT -DSTOP_TIME=100 -DMAMBO=1 -DMODEL=parrot_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DUNIX -I/home/taskinpadir -I/home/taskinpadir/parrot_gettingstarted_ert_rtw -I/usr/local/MATLAB/R2019a/extern/include -I/usr/local/MATLAB/R2019a/simulink/include -I/usr/local/MATLAB/R2019a/rtw/c/src -I/usr/local/MATLAB/R2019a/rtw/c/src/ext_mode/common -I/usr/local/MATLAB/R2019a/rtw/c/ert -I/home/taskinpadir/Documents/MATLAB/SupportPackages/R2019a/toolbox/target/supportpackages/parrot/include -o "parrot_gettingstarted.o" "parrot_gettingstarted.c"
/bin/sh: 1: /home/taskinpadir/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/ev3sourcerylite.instrset/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: not found
gmake: *** [parrot_gettingstarted.o] Error 127
### Build procedure for model: 'parrot_gettingstarted' aborted due to an error.
Error:Error(s) encountered while building "parrot_gettingstarted":
### Failed to generate all binary outputs.
回答(2 个)
Eslam Abouselima
2022-1-14
I had the same problem which is due to Arm-none-linux-gnueabi-gcc cannot compile ARM's 32-bit library under 64-bit system. The solution which worked for me is to write the following lines in the command window:
sudo apt-get install libgl1-mesa-dri:i386
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install ia32-libs
apt-get update
sudo apt-get install lib32ncurses5 lib32z1
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parrot Minidrones 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!