Page 1 of 1

scons: building terminated because of errors.

Posted: 2014-03-23, 15:20
by PatM
Mint16 32 bit w/Cinnomon on HP Laptop quad core

Followed the Cafu from source instructions for Linux, grabbed source from git, ran scons (and later scons -j 4). This was minutes ago.

Compiler gives up after about 10 minutes with these messages

cc1plus: all warnings being treated as errors
scons: *** [build/linux2/g++/release/Ca3DE/ConDefs.o] Error 1
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/g++/release/Ca3DE/MainCanvas.o] Error 1
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/g++/release/Ca3DE/MainFrame.o] Error 1
scons: building terminated because of errors.

All through the compiles I kept seeing variables ignored with warn if ignored turned on (dont know if that matters).

I tried finding some sort of log for the compile but couldn't see one. If there is one hiding somewhere you need just let me know where and I'll post it.

Re: scons: building terminated because of errors.

Posted: 2014-03-24, 22:59
by Carsten
Hi PatM,
PatM wrote:Mint16 32 bit w/Cinnomon on HP Laptop quad core

Followed the Cafu from source instructions for Linux, grabbed source from git, ran scons (and later scons -j 4). This was minutes ago.
As a general tip, running scons -j 4 is great when everything works.
In the presence of errors, it is better to (re-)run SCons without the -j 4 switch, that is, running it plainly as scons
It will then only compile one file at a time, but this makes it a lot easier to see what the error message relates to. ;-)
Compiler gives up after about 10 minutes with these messages

cc1plus: all warnings being treated as errors
scons: *** [build/linux2/g++/release/Ca3DE/ConDefs.o] Error 1
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/g++/release/Ca3DE/MainCanvas.o] Error 1
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/g++/release/Ca3DE/MainFrame.o] Error 1
scons: building terminated because of errors.

All through the compiles I kept seeing variables ignored with warn if ignored turned on (dont know if that matters).

I tried finding some sort of log for the compile but couldn't see one. If there is one hiding somewhere you need just let me know where and I'll post it.
What you posted above seems to be only the final output of the compilation process. Unfortunately, the vital information about the cause of the error(s) is missing.

Could you please re-run scons (without any parameters), and then post the full resulting output? :up: