Corra Compilation

20 views
Skip to first unread message

Biouser

unread,
Feb 17, 2010, 12:00:04 PM2/17/10
to Corra
Hi Mi-Youn,

I'm receiving a C++ compilation error when attempting to deploy Corra:

../../CPP_LIBRARY/GENERAL/MATH_TOOLS/CC/simple_math.cc: In member
function ‘double simple_math::MEDIAN(std::vector<double,
std::allocator<double> >*)’:
../../CPP_LIBRARY/GENERAL/MATH_TOOLS/CC/simple_math.cc:143: error:
‘sort’ was not declared in this scope

Although these functions are available in the "algorithm" header from
the standard library (which is available on my machine), I don't think
the simple_math.cc is including that header. I'm not very familiar
with C++, but from what I can tell, the class only includes
MATH_TOOLS.USE.h, which will subsequently includes "algorithm" only if
"INCLUDE_ALGORITHM" is defined with a "#define" statement. Since this
value isn't defined, compilation is failing.

If I add "#define INCLUDE_ALGORITHM" to the top of simple_math.cc,
compilation proceeds beyond this point, but fails with a different
error:
../../CPP_LIBRARY/PEAK_DETECTION/FT/control/CC/
FT_PeakDetectController.cc: In member function ‘void
FT_PeakDetectController::associateMS2FeatureToMS1Feature(MS2_feature*)’:
../../CPP_LIBRARY/PEAK_DETECTION/FT/control/CC/
FT_PeakDetectController.cc:233: error: ‘find_if’ was not declared in
this scope

Can you please have a look? I might be missing a step somewhere.

(1) Do I need to add the INCLUDE_ALGORITHM line to simple_math.cc?
(2) How can I get past the second error?

Thanks,
biouser.dublin

Mi-Youn Brusniak

unread,
Feb 18, 2010, 8:45:52 AM2/18/10
to co...@googlegroups.com
Dear Biouser,

Since I don't get into the similar issue, I have to look at makefile and try to reproduce your problem first,
We are little busy with other projects but we will get back to you if we find any recommendation.

Mi-Youn


--
You received this message because you are subscribed to the Google Groups "Corra" group.
To post to this group, send email to co...@googlegroups.com.
To unsubscribe from this group, send email to corra+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/corra?hl=en.




--
Mi-Youn Brusniak, Ph.D.
Computational Biology
Seattle Proteome Center
mbru...@systemsbiology.org
Tel: (206) 732-1327

Hector Ramos

unread,
Feb 18, 2010, 4:46:17 PM2/18/10
to co...@googlegroups.com
Mi-Youn,

Sorry I haven't gotten to this yet!  I really really want to finish the Venn Diagram by tomorrow (my next meeting with Monica).

I also wanted to ask David S. for help with it.. but he's not here... maybe tomorrow?

Please tell me if you prefer I work on this rather than the venn diagram pipelet.

Hector
Reply all
Reply to author
Forward
0 new messages