[fpc-pascal] MySQL

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 15 13:13:36 CEST 2009


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



More information about the fpc-pascal mailing list