I am using the auto-tools for compiling and executing the code. What is procedure for adding C++ mysql library in configure and makefile.am. I want to add the mysql library files in configure file and makefile.am.
How do I include mysql.h and my_global.h into the Makefile.am? this didn't helped me.
This is the Error:
Undefined symbols for architecture x86_64:
"sql::mysql::get_driver_instance()", referenced from:
makeConnection()
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [quaestord] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1