When trying to compile snp-pileup in a Mac Pro running High Sierra (OS X 10.13.3) with:
g++ -std=c++11 snp-pileup.cpp -lhts -o snp-pileup
I get
Undefined symbols for architecture x86_64: "_argp_parse", referenced from: _main in snp-pileup-d0d639.o "_argp_usage", referenced from: parse_opt(int, char*, argp_state*) in snp-pileup-d0d639.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hello,
When trying to compile snp-pileup in a Mac Pro running High Sierra (OS X 10.13.3) with:
g++ -std=c++11 snp-pileup.cpp -lhts -o snp-pileup
I get
Undefined symbols for architecture x86_64: "_argp_parse", referenced from: _main in snp-pileup-d0d639.o "_argp_usage", referenced from: parse_opt(int, char*, argp_state*) in snp-pileup-d0d639.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
argp-standalone was installed via brew
Thanks for any help!