LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mysql++-1.7.9-4.rh80.i386.rpm (https://www.linuxquestions.org/questions/linux-software-2/mysql-1-7-9-4-rh80-i386-rpm-149894/)

fkrlinux 02-24-2004 06:10 AM

mysql++-1.7.9-4.rh80.i386.rpm
 
Hello, I have opened mysql++-1.7.9-4.rh80.i386.rpm in following system:

Linux localhost.localdomain 2.4.22-1.2115.nptlsmp #1 SMP Wed Oct 29 15:30:09 EST 2003 i686 i686 i386
GNU/Linux

gcc IN MY SYSTEM:
g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enab
le-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=
i386-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)


I try compile following codes.;
g++ -o mysql mysql.cpp

Error messages:

sqlplus.hh: No such file or directory

....

.....

.....
-----------------------------------------------------
I found in my system sqlplus:
/usr/include/sqlplus/


Please help.
Thanks.





















#include <iostream>

#include <iomanip>

#include <sqlplus.hh>









int main() {

Connection con("mysql_cpp_data");

// The full format for the Connection constructor is

// Connection(cchar *db, cchar *host="",

//

..

..

..

}


All times are GMT -5. The time now is 08:55 AM.