List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:November 9 2009 9:16pm
Subject:Re: installing MySql/C++ in ubuntu 9.04
View as plain text  
Keshava Krishna wrote:
> 
> But i get lots of errors.
> 
> In file included from /usr/include/mysql++/sql_buffer.h:32,
>                  from /usr/include/mysql++/stadapter.h:35,
>                  from /usr/include/mysql++/qparms.h:35,
>                  from /usr/include/mysql++/query.h:34,
>                  from /usr/include/mysql++/mysql++.h:58,
>                  from main.cpp:10:
> /usr/include/mysql++/type_info.h:77: error: expected ‘,’ or
> ‘...’ before
> ‘bt’

Are you sure you're not snipping an error above this?  Something about 
missing mysql.h, maybe?  I ask because it looks like you don't have the 
MySQL C API development files installed.

Try 'apt-get install libmysqlclient15-dev'
Thread
installing MySql/C++ in ubuntu 9.04Keshava Krishna7 Nov
  • Re: installing MySql/C++ in ubuntu 9.04Warren Young9 Nov
    • Re: installing MySql/C++ in ubuntu 9.04Keshava Krishna10 Nov
      • Re: installing MySql/C++ in ubuntu 9.04Warren Young11 Nov
        • Re: installing MySql/C++ in ubuntu 9.04Keshava Krishna11 Nov
          • Re: installing MySql/C++ in ubuntu 9.04Keshava Krishna11 Nov
            • Re: installing MySql/C++ in ubuntu 9.04Nick Hastings11 Nov
              • Re: installing MySql/C++ in ubuntu 9.04Keshava Krishna11 Nov
                • Re: installing MySql/C++ in ubuntu 9.04Nick Hastings11 Nov
                • Re: installing MySql/C++ in ubuntu 9.04Warren Young11 Nov
            • Re: installing MySql/C++ in ubuntu 9.04Warren Young11 Nov
          • Re: installing MySql/C++ in ubuntu 9.04Warren Young11 Nov