User forums > Help

can't compile anything (please help a newbee!)[solved]

(1/3) > >>

pelyot:
I can't compile any program, the same error occurs:

--- Code: ----------------- Build: Debug in test ---------------
Compiling: main.cpp
/bin/sh: Syntax error: "(" unexpected
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
--- End code ---
Somebody knows what to do?

David Perfors:
Which os? version or revision of C::B? Without that we don't know anything...

pelyot:
sorru for the lack of detail:
I'm on kubuntu 7.04 and the CB build is the 4413;
Thanks for any help!

MortenMacFly:

--- Quote from: pelyot on September 02, 2007, 12:30:16 am ---sorru for the lack of detail:

--- End quote ---
Well - could you give as a minimal project that files? Could you enable full command line logging and post the log (see my sig)?
With regards, Morten.

Ps.: Imagine the following error report: "My windows does not work. It crashes. Can you help me?" What help would you expect?! ;-)

pelyot:
with the full command line logging, I get this message:

--- Code: ----------------- Build: Debug in test ---------------
g++ -Wall -fexceptions -g  -I/usr/include  -c /home/pelyot/C++(devel)/myProjects/temp/test/main.cpp -o obj/Debug/main.o
/bin/sh: Syntax error: "(" unexpected
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings
 
--- End code ---
(and this for every file, or every project I try to compile, even this basic console "hello world")

Navigation

[0] Message Index

[#] Next page

Go to full version