Please suggest where to start...
-
I am no expert troubleshooting "make'
any help would be greatly appreciated.mainwindow.cpp /bin/sh: 1: Syntax error: "(" unexpected make[1]: *** [Makefile:1062: main.o] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: Syntax error: "(" unexpected make[1]: Leaving directory '/media/qe/TSET_QT_LABEL/QT_6/QT6_PRO/CAT/build-SUB_PRO-Desktop_Qt_6_1_0_GCC_64bit-Debug/MAIN_MDI' make[1]: *** [Makefile:1197: mainwindow.o] Error 2 make: *** [Makefile:47: sub-MAIN_MDI-make_first] Error 2 19:27:36: The process "/usr/bin/make" exited with code 2. Error while building/deploying project SUB_PRO (kit: Replacement for "Desktop Qt 6.1.0 GCC 64bit") When executing step "Make" 19:27:36: Elapsed time: 00:01. -
@AnneRanch said in Please suggest where to start...:
Syntax error: "(" unexpected
Looks like you have a misplaced
(in your code. If you post the contents ofmainwindow.cppwe might be more specific@VRonin
The error line reads:/bin/sh: 1: Syntax error: "(" unexpectedThat is an error from the Linux shell, not whatever might be in source being compiled?
If I didn't know better, I'd say it looks like the OP is trying to executemainwindow.cpp, duringmake, as a shell script...? -
I am no expert troubleshooting "make'
any help would be greatly appreciated.mainwindow.cpp /bin/sh: 1: Syntax error: "(" unexpected make[1]: *** [Makefile:1062: main.o] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/sh: 1: Syntax error: "(" unexpected make[1]: Leaving directory '/media/qe/TSET_QT_LABEL/QT_6/QT6_PRO/CAT/build-SUB_PRO-Desktop_Qt_6_1_0_GCC_64bit-Debug/MAIN_MDI' make[1]: *** [Makefile:1197: mainwindow.o] Error 2 make: *** [Makefile:47: sub-MAIN_MDI-make_first] Error 2 19:27:36: The process "/usr/bin/make" exited with code 2. Error while building/deploying project SUB_PRO (kit: Replacement for "Desktop Qt 6.1.0 GCC 64bit") When executing step "Make" 19:27:36: Elapsed time: 00:01.@AnneRanch said in Please suggest where to start...:
Syntax error: "(" unexpected
Looks like you have a misplaced
(in your code. If you post the contents ofmainwindow.cppwe might be more specific -
@AnneRanch said in Please suggest where to start...:
Syntax error: "(" unexpected
Looks like you have a misplaced
(in your code. If you post the contents ofmainwindow.cppwe might be more specific@VRonin
The error line reads:/bin/sh: 1: Syntax error: "(" unexpectedThat is an error from the Linux shell, not whatever might be in source being compiled?
If I didn't know better, I'd say it looks like the OP is trying to executemainwindow.cpp, duringmake, as a shell script...? -
Thanks for the replies.
I am sure I know where the problem is and it is not in my code.
( I have done this before....)
I need couple of hours before I can work on it - just wanted to let you know I am not ignoring you.
Cheershere is the source of the error - me

Ubuntu file manager does great job when copying file ,
and adds "( copy ) " to the file name ....