luntergroup / octopus

Bayesian haplotype-based mutation calling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error building on macOS 12.5.1

nuin opened this issue · comments

commented

Describe the bug
Errors during build

Version
master branch
0.74 release

$ octopus --version
// PASTE OUTPUT HERE

Command
Command line to install octopus:

$ scripts/install.py --forests

Command line to run octopus:

$ octopus

Additional context
/Users/nuin/src/octopus/src/core/octopus.cpp:222:19: error: implicit instantiation of undefined template 'std::basic_ifstream'
std::ifstream cpuinfo {"/proc/cpuinfo"};
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/iosfwd:149:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_ifstream;
^
/Users/nuin/src/octopus/src/core/octopus.cpp:231:18: error: right operand to ? is void, but left operand is of type 'unsigned int'
return cores ? cores : my_hardware_concurrency();
^ ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/nuin/src/octopus/src/core/octopus.cpp:1677:27: error: implicit instantiation of undefined template 'std::basic_ofstream'
std::ofstream profile_file {data_profile_csv_path->string()};
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/iosfwd:151:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_ofstream;
^
3 errors generated.
make[2]: *** [src/CMakeFiles/octopus.dir/core/octopus.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/octopus.dir/all] Error 2