scons: building terminated because of errors.

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
Post Reply
PatM
Posts:3
Joined:2014-03-22, 19:56
scons: building terminated because of errors.

Post by PatM » 2014-03-23, 15:20

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.
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: scons: building terminated because of errors.

Post by Carsten » 2014-03-24, 22:59

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:
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests