morispi / CONSENT

Scalable long read self-correction and assembly polishing with multiple sequence alignment
https://doi.org/10.1038/s41598-020-80757-5
GNU Affero General Public License v3.0
55 stars 5 forks source link

install.sh error: no explode and merge file in bin #17

Open khoriba opened 4 years ago

khoriba commented 4 years ago

When I tried to install CONSENT, the following error was output.

/usr/include/c++/4.8.2/bits/stl_algo.h:2263:35: error: no match for call to \u2018(getAnchors(robin_hood::unordered_map<unsigned int, unsigned int>&, std::string, std::string, unsigned int, unsigned int)::__lambda8) (std::pair<std::basic_string<char>, std::basic_string<char> >&, const std::pair<std::basic_string<char>, std::basic_string<char> >&)\u2019
    while (__comp(*__first, __pivot))
/usr/include/c++/4.8.2/bits/stl_algo.h:2266:34: error: no match for call to \u2018(getAnchors(robin_hood::unordered_map<unsigned int, unsigned int>&, std::string, std::string, unsigned int, unsigned int)::__lambda8) (const std::pair<std::basic_string<char>, std::basic_string<char> >&, std::pair<std::basic_string<char>, std::basic_string<char> >&)\u2019
    while (__comp(__pivot, *__last))

As a result, there is not explode and merge in bin directory. Any ideas for solving this problem?

morispi commented 4 years ago

Hello,

This bug seemed to happen when I tried to use a non-standard implementation of maps. I since fixed it by rolling back to a previous version. Could you please try to pull the latest version and try to install again?

Best, Pierre

khoriba commented 4 years ago

How can I get the latest version? $ git clone --recursive https://github.com/morispi/CONSENT The above gives the same result.

Thank you, Kaz

morispi commented 4 years ago

Yes, this should be enough to get the latest version.

Can you copy/paste again the errors you get when attempting to compile? In particular, I'm curious to see whether "robin_hood" is still mentioned or not.

Can you also tell me which version of gcc / g++ you are using? This might as well be the issue.

I've been building CONSENT fine with gcc/g++ v 5.5.0 onwards.

Cheers, Pierre