I'm working on a program that uses Connector/C++ and I can't figure out what is causing this issue. When I attempt to get the driver and compile I get this error:
Undefined symbols for architecture x86_64:
"_get_driver_instance", referenced from:
_main in cc6UHEQ6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Everything seems to be included correctly. The code I'm using to connect is:
Driver *driver;
Connection *connect;
driver= get_driver_instance();
connect = driver->connect(url, userName, password);
url, username, and password are strings.
Anyone have a solution?
Undefined symbols for architecture x86_64:
"_get_driver_instance", referenced from:
_main in cc6UHEQ6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Everything seems to be included correctly. The code I'm using to connect is:
Driver *driver;
Connection *connect;
driver= get_driver_instance();
connect = driver->connect(url, userName, password);
url, username, and password are strings.
Anyone have a solution?