Hieronymus, Try adding "#include <stdlib.h>" to ZeroSampleFiller.hpp
-Joe On Mon, Nov 21, 2011 at 11:37 AM, hieronymus.b <[email protected]>wrote: > Compiling TTP on Ubuntu 11.10 gives the following error....any idea > how to fix it? > > ....... > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPWIZ_USER_VERSION_INFO_H= > \"common/TPPVersion.h\" -c -O2 -o /usr/local/src/TPP_4-5-0/ > trans_proteomic_pipeline/src/../build/Ubuntu-x86_64/ > ZeroSampleFiller.pwiz.o /usr/local/src/TPP_4-5-0/ > trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz/pwiz/analysis/ > common/ZeroSampleFiller.cpp > In file included from /usr/local/src/TPP_4-5-0/ > trans_proteomic_pipeline/src/../extern/ProteoWizard/pwiz/pwiz/analysis/ > common/ZeroSampleFiller.cpp:25:0: > /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/../extern/ > ProteoWizard/pwiz/pwiz/analysis/common/ZeroSampleFiller.hpp:46:22: > error: ‘size_t’ has not been declared > /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/../extern/ > ProteoWizard/pwiz/pwiz/analysis/common/ZeroSampleFiller.cpp:34:6: > error: prototype for ‘void > pwiz::analysis::ZeroSampleFiller::fill(const std::vector<double>&, > const std::vector<double>&, std::vector<double>&, > std::vector<double>&, size_t)’ does not match any in class > ‘pwiz::analysis::ZeroSampleFiller’ > /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/../extern/ > ProteoWizard/pwiz/pwiz/analysis/common/ZeroSampleFiller.hpp:44:17: > error: candidate is: static void > pwiz::analysis::ZeroSampleFiller::fill(const std::vector<double>&, > const std::vector<double>&, std::vector<double>&, > std::vector<double>&, int) > remake: *** [/usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/../ > build/Ubuntu-x86_64/ZeroSampleFiller.pwiz.o] Error 1 > > > #0 /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/../build/ > Ubuntu-x86_64/ZeroSampleFiller.pwiz.o at ?? > #1 /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/../build/ > Ubuntu-x86_64/libpwiz.a at /usr/local/src/TPP_4-5-0/ > trans_proteomic_pipeline/src//Makefile.pwiz.incl:75 > #2 xtandem at /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/ > Makefile:1102 > #3 all at /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/ > Makefile:344 > #4 default at /usr/local/src/TPP_4-5-0/trans_proteomic_pipeline/src/ > Makefile.incl:252 > > thanks steven > > -- > You received this message because you are subscribed to the Google Groups > "spctools-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/spctools-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en.
