I am running Example 1 in:
https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-examples-complete-example-1.html
and get the following error when compiling with clang++
Undefined symbols for architecture x86_64:
"_get_driver_instance", referenced from:
_main in [MyFileName]-0a06dd.o
I am working on maCOS Mojave (10.14.2), just installed Connector/C++ 8.0.13 and I am using clang, version Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0.
https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-examples-complete-example-1.html
and get the following error when compiling with clang++
Undefined symbols for architecture x86_64:
"_get_driver_instance", referenced from:
_main in [MyFileName]-0a06dd.o
I am working on maCOS Mojave (10.14.2), just installed Connector/C++ 8.0.13 and I am using clang, version Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0.