MySQL Forums
Forum List  »  Connector/C++

Undefined symbols for architecture x86_64: "_get_driver_instance"
Posted by: Alejandro Dopazo
Date: December 25, 2018 07:37PM

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
Undefined symbols for architecture x86_64: "_get_driver_instance"
1318
December 25, 2018 07:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.