chaoszhang / ASTER

Accurate Species Tree EstimatoR series: a family of optimation algorithms for species tree inference implemented in C++ (including ASTRAL-Pro & Weighted ASTRAL)
GNU Affero General Public License v3.0
85 stars 9 forks source link

Error in installation #5

Closed SouthernCD closed 1 year ago

SouthernCD commented 2 years ago

Hi,

I tried to clone ASTER from github. when installing I got the following error.

+ cd /opt/ASTER
+ make
g++ -std=gnu++11 -march=native -Ofast -pthread src/astral.cpp -o bin/astral
g++ -std=gnu++11 -march=native -D LARGE_DATA -Ofast -pthread src/astral.cpp -o bin/astral_int128
g++ -std=gnu++11 -march=native -Ofast -pthread src/astral-pro.cpp -o bin/astral-pro
src/astral-pro.cpp: In function 'long long int parse(std::unordered_map<long long int, std::basic_string<char> >&, std::unordered_map<long long int, std::tuple<long long int, long long int, bool> >&, bool)':
src/astral-pro.cpp:355:19: error: converting to 'std::tuple<long long int, long long int, bool>' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long int&, long long int&, bool}; <template-parameter-2-2> = void; _Elements = {long long int, long long int, bool}]'
    children[temp] = {left, right, true};
                   ^
make: *** [astral-pro] Error 1
FATAL:   While performing build: while running engine: exit status 2

What should I do now?

Best,

Yuxing

chaoszhang commented 2 years ago

I have fixed the issue. Please update and try again.

SouthernCD commented 1 year ago

Thanks! It work now : )