List:MySQL++« Previous MessageNext Message »
From:David Vallejo Fernández Date:November 22 2005 6:31pm
Subject:libmysql++-dev
View as plain text  
    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.
Thread
libmysql++-devDavid Vallejo Fernández22 Nov
  • RE: libmysql++-devDenis ERCHOFF22 Nov
  • RE: libmysql++-devSteve Povilaitis22 Nov