You are here

Building with "extra=graphics" on Linux?

3 posts / 0 new
Last post
Building with "extra=graphics" on Linux?
#1

I was trying to build Rosetta_2014.22.56873 with "extras=graphics" enabled on Debian linux 7.5

I get a number of errors related to narrowing conversions while building viewers.cc

Apparently "-Werror=narrowing" is set as a flag, and I was wondering what kind of trouble i would be getting my self in for if I just changed that flag and compiled it anyway.

I've attached a listing of the build and the errors received

AttachmentSize
build.listing.txt9.83 KB
Category: 
Post Situation: 
Fri, 2014-08-01 06:09
hansellt

For development purposes, we've turned all warnings into errors during compilation, to force developers to fix them. Unfortunately, we didn't think to remove that setting for some of the release versions, which means depending on details of your system, or the programs you're compiling, you may run into problems. (Recent weeklies should have the setting turned off for releases.)

What you should do is go to main/source/tools/build/user.settings and add

"flags" : {
"warn" : ["Werror",],
},

to the "removes" block (between the curly braces after "removes:"). Note that the user.settings file won't show up until the first time you compile with scons. (When a default version is made if one doesn't exist already.)

Mon, 2014-08-04 14:21
rmoretti

Thank you!

That did the trick!

Tue, 2014-08-05 09:58
hansellt