Closed dimarusyy closed 6 years ago
Ok, the issue is related vcpkg integration to VS and missing '#include <nonius/main.h++>' So, the working example should look like this :
define NONIUS_RUNNER
include <nonius/nonius.h++>
NONIUS_BENCHMARK("to_string(42)", [] { return std::to_string(42); })
NONIUS_BENCHMARK("to_string(4.2)", [] { return std::to_string(4.2); })
#include <nonius/main.h++>
Please read the second paragraph of the documentation. You're supposed to grab a release from the releases page https://github.com/rmartinho/nonius/releases.
Hello,
Attempt to build example1 :
gives error linkage error on windows :