List:MySQL++« Previous MessageNext Message »
From:William F. Dowling Date:December 2 2007 6:41pm
Subject:Re: Annoying question from a noob
View as plain text  
Use locate to find out where mysql.h is.  Then make sure when you
compile that you designate an include path to that directory using
-I/path/where/mysql.h/resides

Will

On Sun, 2007-12-02 at 12:35 -0600, Michael Sullivan wrote:
> OK.  I've installed it from source and run ldconfig.  It's
> in /usr/local
> now.  When I try to build simple1.cpp however:
> 
> michael@camille examples $ g++ simple1.cpp -lz -lmysqlclient_r
> -lmysqlpp
> -I/usr/local/include/mysql++/ -o simple
> In file included from /usr/local/include/mysql++/connection.h:38,
>                  from /usr/local/include/mysql++/mysql++.h:56,
>                  from util.h:31,
>                  from simple1.cpp:28:
> /usr/local/include/mysql++/common.h:37:27: error: mysql_version.h: No
> such file or directory
> /usr/local/include/mysql++/common.h:148:19: error: mysql.h: No such
> file
> or directory
-- 
William F Dowling
william.dowling@stripped
www.scientific.thomson.com
Thread
Annoying question from a noobMichael Sullivan2 Dec
  • Re: Annoying question from a noobGraham Reitz2 Dec
    • Re: Annoying question from a noobMichael Sullivan2 Dec
      • Re: Annoying question from a noobddneilson2 Dec
      • Re: Annoying question from a noobWilliam F. Dowling2 Dec
        • Re: Annoying question from a noobMichael Sullivan2 Dec
          • Re: Annoying question from a noobGraham Reitz2 Dec
          • Re: Annoying question from a noobWarren Young3 Dec
            • Re: Annoying question from a noobKun Niu3 Dec
              • Re: Annoying question from a noobWarren Young3 Dec