I am writting some files using the classes in rosetta,changing *settings files as the readmefile indicated,as a example,i wrote a class calculateTT using classes like Pose,Movemap etc,and when i recompiled it,it showed error as following:
"In file included from external/boost_1_55_0/boost/throw_exception.hpp:43:0,
external/boost_1_55_0/boost/exception/exception.hpp:189:25: error: expected identifier before '(' token
external/boost_1_55_0/boost/exception/exception.hpp:189:25: error: expected ')' before numeric constant",and some other errors similar to this.
The CalculateTT class is what i added,its line 8 is to include the "src/core/pose/Pose.fwd.hh",where the errors started from.I went to see the exception.hpp file at line 189,it is "template <class E,class Tag,class T>",i am really confused about this since it started from head files in rosetta.
Thank you in advance for your help,
Pose.fwd.hh is uses in a large number of places in Rosetta so I don't think it's at issue. - I'm guessing the issue is actually occurring somewhere in the 7 lines of CalculateTT.h prior to the Pose.fwd.hh. You're likely missing something in one of those lines (e.g. a semicolon or a ')' in an include file or the like), and the compiler is only recognizing that fact once it gets into the Pose.fwd.hh file.
Thank you!After i inherit class CalculateTT from utility::pointer::ReferenceCount,there is no this kind of error,but another error came from the Pose.cc from the include line of CalculateTT.cc as following:(I checked the files,there were no syntax errors)
In file included from external/boost_1_55_0/boost/graph/detail/adjacency_list.hpp:32,
external/boost_1_55_0/boost/graph/graph_concepts.hpp: At global scope:
external/boost_1_55_0/boost/graph/graph_concepts.hpp:258: error: expected unqualified-id before numeric constant
external/boost_1_55_0/boost/graph/graph_concepts.hpp:258: error: expected ')' before numeric constant
I don't know whether there are some constraints for using classes in Rosetta.
I'm not sure I can say anything else without seeing the CalculateTT.cc and CalculateTT.hh files.
If you're not willing to post them publicly, send me a private message with a link (https://www.rosettacommons.org/user/2653/contact)