when compling ./scons.py -j<number_of_processors_to_use> mode=release bin command,
src/protocols/antibody/AntibodyFeatures.cc:623:9: error: 'StructureID' has not been declared
623 | StructureID struct_id,
scons: *** [build/src/release/linux/5.15/64/x86/gcc/11/default/protocols/antibody/clusters/CDRClusterFeatures.os] Error 1
scons: *** [build/src/release/linux/5.15/64/x86/gcc/11/default/protocols/antibody/AntibodyFeatures.os] Error 1
scons: building terminated because of errors.
Are there any possible reasons for that?
Any help will be appreciated.
Is that the first error you see? I'd recommend re-running the scons command, but with -j1. (It should pick up where it left off, so it shouldn't take that much time.) That should result in a cleaner error message log. You'll want to look at the first messages which get printed out, as that will show more where the original error is. From what I'm seeing in the code, the StructureID is probably not the original error, but is showing up because an earlier error is confusing the compiler.
P.S. Which version of Rosetta are you compiling?
I am also having the same issue - outside of the 'g++: warning: switch '-ffor-scope' is no longer supported' messages, the first warning message I get is:
In file included from src/protocols/features/FeaturesReporterCreator.hh:21,
src/protocols/features/FeaturesReporter.fwd.hh:27:14: error: 'uint64_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
I've tried the command with -j3, -j1 and no -j at all. I can upload a dump of the messages that it put in the console if you would like?
I'm trying the most recent version of Rosetta (3.13)
Is there anything that I can do to get this to compile correctly?
I've also just tried on a fresh extraction of the files - The types of error I get are:
These numbers (in the earlier errors)
I've attached a full txt file with the output of the command.
"'uint64_t' in namespace 'std' does not name a type" is the issue you're running up against, and all the other errors are stemming from that one. I'm not sure what platform you're compiling on, but it sounds like it's having problems with that standard C++ type. (Which, admittedly, is optional for compilers to support, but should be availible on pretty much all modern systems.)
The first thing I'd do is add the line
to the top of source/src/protocols/features/FeaturesReporter.fwd.hh (after the other #include line). Hopefully that should fix things.
If it doesn't, you can try changing the line
typedef std::uint64_t StructureID;
typedef unsigned long long StructureID;
That should get things to compile, though the features reporter framework may or may not work exactly how you expect. (But that shouldn't matter much if you don't use it, which you probably won't unless you know you want it.)