medvedevgroup / TwoPaCo

A fast constructor of the compressed de Bruijn graph from many genomes
Other
39 stars 10 forks source link

MAC OS compilation failed #16

Closed ShreyasChikkabilathiHarisha closed 6 years ago

ShreyasChikkabilathiHarisha commented 6 years ago

Compilation failing for mac OS high seirra 10.13.1 with the use of gcc 4.85 with the following error.

In file included from /Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/Arg.h:54:0,
                 from /Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/SwitchArg.h:30,
                 from /Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/CmdLine.h:27,
                 from /Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/constructor.cpp:16:
/Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/ArgTraits.h: In instantiation of ‘struct TCLAP::ArgTraits<long long unsigned int>’:
/Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/ValueArg.h:403:66:   required from ‘void TCLAP::ValueArg<T>::_extractValue(const string&) [with T = long long unsigned int; std::string = std::basic_string<char>]’
/Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/ValueArg.h:363:29:   required from ‘bool TCLAP::ValueArg<T>::processArg(int*, std::vector<std::basic_string<char> >&) [with T = long long unsigned int]’
/Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/constructor.cpp:163:1:   required from here
/Users/tayyu/Desktop/523CSE/code/TwoPaCo/src/graphconstructor/../common/tclap/ArgTraits.h:80:39: error: ‘long long unsigned int’ is not a class, struct, or union type
     typedef typename T::ValueCategory ValueCategory;
                                       ^
make[2]: *** [graphconstructor/CMakeFiles/twopaco.dir/constructor.cpp.o] Error 1
make[1]: *** [graphconstructor/CMakeFiles/twopaco.dir/all] Error 2
make: *** [all] Error 2
hiraksarkar commented 6 years ago

Getting the same error on MAC.

iminkin commented 6 years ago

Thanks for the report, I will respond shortly.

iminkin commented 6 years ago

I pushed a fix, can you try again?