Hi Monica, Thanks for reporting the bug. I have a fix for the source tree, but sourceforge is having problems right now. You can add the fix manually, though, by going into CProteinAmbiguityGroup.cpp and changing:
sprintf(dbid, "%s_%d", baseRef, proteinDetectionHypothesis->size()); to sprintf(dbid, "%s_%d", &baseRef[0], proteinDetectionHypothesis->size()); Cheers, Mike From: [email protected] [mailto:[email protected]] On Behalf Of Monica HPC Sent: Wednesday, February 14, 2018 10:04 AM To: spctools-discuss Subject: [spctools-discuss] Installing TPP 5.1.0 on RHEL 7 gives error Hi there! I am trying to install the newer version of TPP 5.1.0 on RedHat Enterprise Linux 7 server and I am getting the following error and warning after running `make install`. I have installed all the prerequite libraries mentioned in the BUILD_LINUX documentation: libgd2 libpng zlib libbz2 WARNING: TPP/5.1.0/TPP_5.1.0-src/build/linux-x86_64/include/boost/config/compiler/gcc.hpp:205:0: warning: "BOOST_NO_CXX11_SCOPED_ENUMS" redefined [enabled by default] # define BOOST_NO_CXX11_SCOPED_ENUMS ^ ERROR: TPP/5.1.0/TPP_5.1.0-src/src/Parsers/mzIMLTools/CProteinAmbiguityGroup.cpp:106:69: error: cannot pass objects of non-trivially-copyable type βstd::string {aka class std::basic_string<char>}β through β...β sprintf(dbid, "%s_%d", baseRef, proteinDetectionHypothesis->size()); Am I missing something or is it a bug in the code? Please do let me know if there is any workaround to fix this issue. Thanks, Monica -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spctools-discuss. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spctools-discuss. For more options, visit https://groups.google.com/d/optout.
