MySQL Lists are EOL. Please join:

List:MySQL++« Previous MessageNext Message »
From:Remi Collet Date:March 16 2008 11:21am
Subject:Re: pkgconfig
View as plain text  
Kyle Brady a écrit :
> I'm new to using non-standard C++ libraries, and I know this is
> probably an easy question, but I can't find any answers anywhere...
> Trying to use "pkgconfig", so included in Makefile:
> $(pkg-config --libs --cflags libmysql++-3.0.0)
> But that printed out alot of errors related to "query.h" and ended
> with "make: *** Error 1"

Neither MySql++ nor mysql provides pkgconfig files.

For MySQL, use "mysql_config" command

Look at the examples which provides a sample Makefile.

> What's the proper way to include mysql++ in the Makefile?
> Thanks

pkgconfigKyle Brady15 Mar
  • Re: pkgconfigRemi Collet16 Mar