google / google/benchmark

Link error on OSX Mojave

Open
#791 17 comments 0 reactions 0 assignees View on GitHub
os:osx
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Running on OSX Mojave 10.14.3 and google-benchmark 1.4.1, I get linker errors trying to include the library:

Undefined symbols for architecture x86_64:
"benchmark::internal::InitializeStreams()", referenced from:
___cxx_global_var_init in test.o
ld: symbol(s) not found for architecture x86_64

clang version:
Apple LLVM version 10.0.1 (clang-1001.0.46.3)
Target: x86_64-apple-darwin18.2.0
Thread model: posix

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.