3 messages in com.mysql.lists.pluspluslibmysql++-dev
FromSent OnAttachments
David Vallejo Fernández22 Nov 2005 10:31 
Denis ERCHOFF22 Nov 2005 12:01 
Steve Povilaitis22 Nov 2005 12:20 
Subject:libmysql++-dev
From:David Vallejo Fernández (Davi@alu.uclm.es)
Date:11/22/2005 10:31:00 AM
List:com.mysql.lists.plusplus

Hello!

I use Debian Sid and I installed the libmysql++-dev package.

How can I compile a simple example? I tried with:

g++ test1.cpp -o test -I/usr/include/mysql++, but the compiler said me that de file mysql++ does not exists. Here is part of the example:

..... #include "mysql++"

#include <iostream> #include <iomanip>

using namespace mysqlpp; using namespace std;

int main(int argc, char *argv[]) { // Connect to the sample database. mysqlpp::Connection con(false); if (!connect_to_db(argc, argv, con)) { return 1; } .....

Thank you for helping me.