From: Keshava Krishna Date: November 7 2009 2:53am Subject: installing MySql/C++ in ubuntu 9.04 List-Archive: http://lists.mysql.com/plusplus/8749 Message-Id: <3868b770911061853w6d856de5uf0be0817c1e40774@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e64bd5bca1f2f80477bf11c1 --0016e64bd5bca1f2f80477bf11c1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hello everyone, I use ubuntu 9.04 , i have installed libmysql++3 and libmysql++-dev through synaptics manager. In my code i have put following lines. #include using namespace std; int main() { } 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 =91,=92 or =91...=92 b= efore =91bt=92 /usr/include/mysql++/type_info.h:92: error: =91enum_field_types=92 does not= name a type /usr/include/mysql++/type_info.h: In constructor =91mysqlpp::mysql_ti_sql_type_info::mysql_ti_sql_type_info()=92: /usr/include/mysql++/type_info.h:71: error: class =91mysqlpp::mysql_ti_sql_type_info=92 does not have any field named =91base= _type_=92 /usr/include/mysql++/type_info.h:71: error: =91MYSQL_TYPE_NULL=92 was not declared in this scope /usr/include/mysql++/type_info.h: In constructor =91mysqlpp::mysql_ti_sql_type_info::mysql_ti_sql_type_info(const char*, con= st std::type_info&, int)=92: /usr/include/mysql++/type_info.h:81: error: class =91mysqlpp::mysql_ti_sql_type_info=92 does not have any field named =91base= _type_=92 /usr/include/mysql++/type_info.h:81: error: =91bt=92 was not declared in th= is scope /usr/include/mysql++/type_info.h:82: error: =91flags=92 was not declared in= this scope /usr/include/mysql++/type_info.h: At global scope: /usr/include/mysql++/type_info.h:162: error: expected `)' before =91t=92 /usr/include/mysql++/type_info.h:264: error: =91enum_field_types=92 does no= t name a type I am very new to MySql/C++, please help me out. Regards, Keshava. +919449554001 --0016e64bd5bca1f2f80477bf11c1--