ShunOuchi / GreenHill

De novo chromosome-level scaffolding and phasing tool using Hi-C
GNU General Public License v3.0
25 stars 2 forks source link

Fix platanus allee #33

Closed he-lucky closed 3 months ago

he-lucky commented 3 months ago

I tried to make in Platanus-allee_v2.2.2_modified/ but compile by gcc-13.2.0 failed. Errors were:

baseCommand.cpp: In member function 'int BaseCommand::divideArgvInt(char*) cons ': baseCommand.cpp:149:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 149 | for (;moveArgs != '\0'; ++moveArgs) { | ~~~^~~~~

pairedDBG.cpp: In member function 'void PairedDBG::getHeteroMPLinkScoreBetweenScaffold(const std::array<std::array<std::vector, 2>, 2>&, std::array<long int, 2>&)': pairedDBG.cpp:11413:35: error: 'accumulate' is not a member of 'std' 11413 | << std::accumulate(conflictpoints[0][0].begin(), conflictpoints[0][0].end(), 0.0) << "\t" | ^~~~~~