Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'make' command failed, missing ';' #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

'make' command failed, missing ';' #6

wants to merge 1 commit into from

Conversation

BenAsaf
Copy link

@BenAsaf BenAsaf commented Jul 26, 2021

Hello,

'make' command failed, missing ';'

I tried to compile by:

  1. git clone git@github.com:ArduCAM/RPI-Pico-Cam.git
  2. cd RPI-Pico-Cam
  3. cd tflmicro
  4. mkdir build
  5. cd build
  6. cmake ..
  7. make

The output:
[ 88%] Building CXX object examples/person_detection_screen/CMakeFiles/person_detection_screen_int8.dir/main_functions.cpp.obj <omitted>/RPI-Pico-Cam/tflmicro/examples/person_detection_screen/main_functions.cpp:48:1: error: expected ',' or ';' before 'static' 48 | static uint8_t tensor_arena[kTensorArenaSize]; | ^~~~~~ <omitted>/RPI-Pico-Cam/tflmicro/examples/person_detection_screen/main_functions.cpp: In function 'void setup()': <omitted>/RPI-Pico-Cam/tflmicro/examples/person_detection_screen/main_functions.cpp:88:31: error: 'tensor_arena' was not declared in this scope 88 | model, micro_op_resolver, tensor_arena, kTensorArenaSize, error_reporter); | ^~~~~~~~~~~~ make[2]: *** [examples/person_detection_screen/CMakeFiles/person_detection_screen_int8.dir/build.make:102: examples/person_detection_screen/CMakeFiles/person_detection_screen_int8.dir/main_functions.cpp.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:2019: examples/person_detection_screen/CMakeFiles/person_detection_screen_int8.dir/all] Error 2

After adding ';', build is successful.

@BenAsaf BenAsaf changed the title Compile command failed, missing ';' 'make' command failed, missing ';' Jul 26, 2021
@takurx takurx mentioned this pull request Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant