I am getting this error:
c:\windows\TEMP\cc92DHQa.o(.text+0x30):untitl~1.cp p: undefined reference to `mysql_close@4'
I can't figure out where to add in the library for linking - or else I am doing it right, but the solution listed above is not working. I am using bloodshed dev 4.0 on a windows machine.
This is what I am doing from my C++ program:
Options ---> Compiler Options
I am adding ";C:\mysql\lib\opt\" to the Libraries directory:
I have also tried moving everything from the opt folder into DEC-C++\Lib ... no luck. Same error message.
Any ideas? I am new and am unfamiliar with the linking process.