Face-detection-Raspberry-Pi-32-64-bits icon indicating copy to clipboard operation
Face-detection-Raspberry-Pi-32-64-bits copied to clipboard

Syntax error: EOF in backquote substitution in projects from Qengineering

Open Jolle1803 opened this issue 4 years ago • 4 comments

Hello. I'm new at the raspberry 4 and trying to start with some projects from Qengineering. I tried the deeplearning examples on https://qengineering.eu/opencv-c-examples-on-raspberry-pi.html https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html#HandsOn

In both i get the same error: /bin/sh: 1: Syntax error: EOF in backquote substitution

It would make my raspberry start much easier if someone could help me fixing this error. Thank you!

Jolle1803 avatar Apr 09 '21 23:04 Jolle1803

Dear @Jolle1803,

Sorry to hear about your problems. What have you done? Both files are website pages, no code. They are viewed with something like chromium.

Kind regards,

Rients

Qengineering avatar Apr 10 '21 08:04 Qengineering

Dear @Jolle1803,

Sorry to hear about your problems. What have you done? Both files are website pages, no code. They are viewed with something like chromium.

Kind regards,

Rients

Dear @Qengineering Thank you for your fast reply!

These are links to your website where both examples are described step by step. I took the code from GitHub like it's described and followed the instructions. In the end the code should build succesful. But I got the error. The same error in both cases so maybe it depends on the same file.

I'm working on a Raspberry Pi 4 with raspbian. The code I used is in c++. I do have some experience with c++.

Jolle

Jolle1803 avatar Apr 10 '21 10:04 Jolle1803

Dear @Jolle1803 ,

The errors you got are text related. In other words, the compiler tries to parse some line of code and encounters an /bin/sh What puzzles me is that /bin/sh is used in scripting, not in any C++ source code. So, which files are you tried to compile?

Rients

Qengineering avatar Apr 10 '21 11:04 Qengineering

Dear @Qengineering, Sorry for that long time gap but I was a little bit busy.

I tried to compile the cpp file MobiYO.cpp with all in the code included files. I didn't change the code. I also added the directories where to find the include files to the build options in Code::Blocks. These are the project files with MobiYO.cpp which i tried to compile: YoloV3-ncnn-Raspberry-Pi-4-master.zip Or the download link from GitHub: https://github.com/Qengineering/MobileNetV2_YOLOV3_ncnn/archive/master.zip

Thank you! Jolle

Jolle1803 avatar Apr 20 '21 08:04 Jolle1803