Building with “extra=graphics” on Linux?

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Building with “extra=graphics” on Linux?

Viewing 1 reply thread
  • Author
    Posts
    • #1962
      Anonymous

        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

      • #10186
        Anonymous

          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.)

        • #10190
          Anonymous

            Thank you!

            That did the trick!

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.