/bin/sh: 1: Syntax error: "(" unexpected - now what ?
-
My project run / executed YESTERDAY as expected .
TODAY - after power down and fresh power up I get this error.WHY and how DO I FIX SOMETHING i did not CONTRIBUTED TO?
WHAT created this "syntax" error in Makefile I have no control ower at this point?
WHY
( enter your answer here )HOW
( enter your answer here )WHAT
( enter your answer here )12:08:50: Running steps for project btscanner...
12:08:50: Configuration unchanged, skipping qmake step.
12:08:50: Starting: "/usr/bin/make" -j
/usr/lib/x86_64-linux-gnu/qt5/bin/uic /media/z/DOC_COPY_LABEL/Projects\ /QT_Repository\ (copy)/examples/bluetooth/btscanner/device.ui -o .uic/ui_device.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic /media/z/DOC_COPY_LABEL/Projects\ /QT_Repository\ (copy)/examples/bluetooth/btscanner/service.ui -o .uic/ui_service.h
Makefile:328: recipe for target '.uic/ui_device.h' failed
Makefile:331: recipe for target '.uic/ui_service.h' failed
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [.uic/ui_device.h] Error 2
make: *** Waiting for unfinished jobs....
/bin/sh: 1: Syntax error: "(" unexpected
make: *** [.uic/ui_service.h] Error 2
12:08:50: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project btscanner (kit: Desktop)
When executing step "Make"
12:08:50: Elapsed time: 00:00.Addendum
Here is SAME problem in another project - unexpected '(" !!!!How do I access Makefile where the "error" is detected ?
Answer
You can access project Makefile here ....... -
Hi
WHY
it seems the auto generated file ui_device.h has some errorHOW
Did you change the UI file in Designer ?WHAT
Go to
then RIGHT click on build folder path
Goto folder
Then press ctrl +a to select all
then press delete to clean whole build folder.
leave no files leftThen go to
and see if error still persists.