#2309·benchmark

[BUG] 文档中 platform_specific_build_instructions.md 的标题混淆

作者: bnchworm创建于 2026年9月28日更新于 2026年9月28日

D:\Projects\cpptest>c++ main.cpp -isystem "D:/Projects/benchmark/include" -L"D:/Projects/benchmark/build/src" -lbenchmark -lpthread -o main.exe D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\egor\AppData\Local\Temp\cctoO03V.o:main.cpp:(.text+0x66): undefined reference to `__imp__ZN9benchmark5State16StartKeepRunningEv' D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\egor\AppData\Local\Temp\cctoO03V.o:main.cpp:(.text+0xed): undefined reference to `__imp__ZN9benchmark5State17FinishKeepRunningEv' D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\egor\AppData\Local\Temp\cctoO03V.o:main.cpp:(.text+0x198): undefined reference to `__imp__ZN9benchmark5State16StartKeepRunningEv' D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\egor\AppData\Local\Temp\cctoO03V.o:main.cpp:(.text+0x229): undefined reference to `__imp__ZN9benchmark5State17FinishKeepRunningEv' D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\egor\AppData\Local\Temp\cctoO03V.o:main.cpp:(.text+0x28f): undefined reference to `__imp__ZN9benchmark23MaybeReenterWithoutASLREiPPc' D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\egor\AppData\Local\Temp\cctoO03V.o:main.cpp:(.text+0x2ca): undefined reference to `__imp__ZN9benchmark16PrintDefaultHelpEv' D:/Programm/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:

内容来源: google/benchmark