On 14 Oct 2009, at 18:14, Paul Davidson wrote:

FPC 2.2.4
OS X 10.6.1
Xcode 3.2

All references to MySQL function are unresolved by linker. libMySQLclient.a is copied to .pas directory. Using FPC test code for MySQL as template.

When you use Xcode, you have to use the Xcode way to link with libraries: add the library to your project, then add the library to the "Link binary with Libraries" phase of your application target.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to