Member Site › Forums › Rosetta 3 › Rosetta 3 – Build/Install › Rosetta build error on MacOS Sierra
- This topic has 6 replies, 2 voices, and was last updated 7 years, 3 months ago by Anonymous.
-
AuthorPosts
-
-
June 14, 2017 at 5:27 am #2670Anonymous
Hello everyone!
I am trying to build rosetta with mpi in macOS sierra. But, it gives the following errors.
I tried rebuilding without mpi (after deleting build/ contents), but it gives the same error.
Could any one please help?
$ sudo ./scons.py -j 3 mode=release bin extras=mpi
1 error generated.
scons: *** [build/src/release/macos/16.0/64/x86/clang/8.1/mpi/protocols/init/init.os] Error 1
In file included from src/protocols/match/output/SameChiBinComboGrouper.cc:24:
In file included from src/core/conformation/Residue.hh:38:
In file included from src/core/chemical/ChemicalManager.hh:74:
src/utility/SingletonBase.hh:82:10: error: instantiation of variable
‘utility::SingletonBase<core::pack::rotamers::SingleResidueRotamerLibraryFactory>::instance_’
required here, but no definition is available
[-Werror,-Wundefined-var-template]
if ( ! instance_ ) {
^
src/protocols/match/output/SameChiBinComboGrouper.cc:64:90: note: in
instantiation of member function
‘utility::SingletonBase<core::pack::rotamers::SingleResidueRotamerLibraryFactory>::get_instance’
requested here
…const & rotlib( *SingleResidueRotamerLibraryFactory::get_instance() );
^
src/utility/SingletonBase.hh:102:13: note: forward declaration of template
entity is here
static T * instance_;
^
src/utility/SingletonBase.hh:82:10: note: add an explicit instantiation
declaration to suppress this warning if
‘utility::SingletonBase<core::pack::rotamers::SingleResidueRotamerLibraryFactory>::instance_’
is explicitly instantiated in another translation unit
if ( ! instance_ ) {
^
1 error generated.
scons: *** [build/src/release/macos/16.0/64/x86/clang/8.1/mpi/protocols/match/output/SameChiBinComboGrouper.os] Error 1
scons: building terminated because of errors
-
June 14, 2017 at 2:36 pm #12404Anonymous
It looks like you’re using an older version of the code.
If possible, I would recommend updating to one of the most recent versions — we’ve switched over to a different system for that section of the code that should work better with recent version of the Clang compiler.
If you do need the particular version you’re using, I’d just recommend going into the Rosetta/main/source/tools/build/basic.settings file, and deleting any lines which contain “Werror”.
-
June 14, 2017 at 2:36 pm #12925Anonymous
It looks like you’re using an older version of the code.
If possible, I would recommend updating to one of the most recent versions — we’ve switched over to a different system for that section of the code that should work better with recent version of the Clang compiler.
If you do need the particular version you’re using, I’d just recommend going into the Rosetta/main/source/tools/build/basic.settings file, and deleting any lines which contain “Werror”.
-
June 14, 2017 at 2:36 pm #13446Anonymous
It looks like you’re using an older version of the code.
If possible, I would recommend updating to one of the most recent versions — we’ve switched over to a different system for that section of the code that should work better with recent version of the Clang compiler.
If you do need the particular version you’re using, I’d just recommend going into the Rosetta/main/source/tools/build/basic.settings file, and deleting any lines which contain “Werror”.
-
June 14, 2017 at 5:22 pm #12405Anonymous
Thank you so much for the reply. Using a later version removed the errors.
-
June 14, 2017 at 5:22 pm #12926Anonymous
Thank you so much for the reply. Using a later version removed the errors.
-
June 14, 2017 at 5:22 pm #13447Anonymous
Thank you so much for the reply. Using a later version removed the errors.
-
-
AuthorPosts
- You must be logged in to reply to this topic.