You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instruction, and tried to compile the demo with the command:
mbed compile -m DISCO_F413ZH -t GCC_ARM --profile=uTensor/build_profile/develop.json
I received the following message with an error:
Building project utensor-mnist-demo (DISCO_F413ZH, GCC_ARM)
Scan: .
Scan: mbed
Scan: env
Compile [ 0.3%]: ft6x06.c
Compile [ 0.6%]: st7789h2.c
Compile [ 0.9%]: wm8994.c
Compile [ 1.1%]: stm32f413h_discovery.c
Compile [ 1.4%]: stm32f413h_discovery_audio.c
Compile [ 1.7%]: stm32f413h_discovery_lcd.c
Compile [ 2.0%]: stm32f413h_discovery_psram.c
Compile [ 2.3%]: stm32f413h_discovery_qspi.c
Compile [ 2.6%]: stm32f413h_discovery_sd.c
Compile [ 2.9%]: stm32f413h_discovery_ts.c
Compile [ 3.1%]: font12.c
Compile [ 3.4%]: font16.c
Compile [ 3.7%]: font20.c
Compile [ 4.0%]: font24.c
Compile [ 4.3%]: font8.c
Compile [ 4.6%]: F413ZH_SD_BlockDevice.cpp
Compile [ 4.9%]: main.cpp
[Error] image.h@7,50: expected 'class' before 'TENSOR'
[ERROR] In file included from ./main.cpp:6:0:
./image.h:7:50: error: expected 'class' before 'TENSOR'
template<typename T, template typename TENSOR=RamTensor>
^
[mbed] ERROR: "/usr/bin/python" returned error.
Code: 1
Path: "/home/drenyovszki_rajmund/utensor-mnist-demo"
Command: "/usr/bin/python -u /home/drenyovszki_rajmund/utensor-mnist-demo/mbed-os/tools/make.py -t GCC_ARM -m DISCO_F413ZH --profile uTensor/build_profile/develop.jso
n --source . --build ./BUILD/DISCO_F413ZH/GCC_ARM-DEVELOP"
Tip: You could retry the last command with "-v" flag for verbose output
Do you have any idea what is wrong with it?
System parameters:
Ubuntu 16.04.5 LTS
Python 2.7.12
arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)
mbed-cli version number: 1.8.2
The text was updated successfully, but these errors were encountered:
I followed the instruction, and tried to compile the demo with the command:
mbed compile -m DISCO_F413ZH -t GCC_ARM --profile=uTensor/build_profile/develop.json
I received the following message with an error:
Building project utensor-mnist-demo (DISCO_F413ZH, GCC_ARM)
Scan: .
Scan: mbed
Scan: env
Compile [ 0.3%]: ft6x06.c
Compile [ 0.6%]: st7789h2.c
Compile [ 0.9%]: wm8994.c
Compile [ 1.1%]: stm32f413h_discovery.c
Compile [ 1.4%]: stm32f413h_discovery_audio.c
Compile [ 1.7%]: stm32f413h_discovery_lcd.c
Compile [ 2.0%]: stm32f413h_discovery_psram.c
Compile [ 2.3%]: stm32f413h_discovery_qspi.c
Compile [ 2.6%]: stm32f413h_discovery_sd.c
Compile [ 2.9%]: stm32f413h_discovery_ts.c
Compile [ 3.1%]: font12.c
Compile [ 3.4%]: font16.c
Compile [ 3.7%]: font20.c
Compile [ 4.0%]: font24.c
Compile [ 4.3%]: font8.c
Compile [ 4.6%]: F413ZH_SD_BlockDevice.cpp
Compile [ 4.9%]: main.cpp
[Error] image.h@7,50: expected 'class' before 'TENSOR'
[ERROR] In file included from ./main.cpp:6:0:
./image.h:7:50: error: expected 'class' before 'TENSOR'
template<typename T, template typename TENSOR=RamTensor>
^
[mbed] ERROR: "/usr/bin/python" returned error.
Code: 1
Path: "/home/drenyovszki_rajmund/utensor-mnist-demo"
Command: "/usr/bin/python -u /home/drenyovszki_rajmund/utensor-mnist-demo/mbed-os/tools/make.py -t GCC_ARM -m DISCO_F413ZH --profile uTensor/build_profile/develop.jso
n --source . --build ./BUILD/DISCO_F413ZH/GCC_ARM-DEVELOP"
Tip: You could retry the last command with "-v" flag for verbose output
Do you have any idea what is wrong with it?
System parameters:
Ubuntu 16.04.5 LTS
Python 2.7.12
arm-none-eabi-gcc (15:4.9.3+svn231177-1) 4.9.3 20150529 (prerelease)
mbed-cli version number: 1.8.2
The text was updated successfully, but these errors were encountered: