Hi all,
How should i compile a simple MySQL++ file? I tried to
compile simple1.cc file provided in the examples
directory in mysql++-1.7.9. But i failed.
All the *.hh files that will be created when you do
make install are there in mysql++-1.7.9/MYLIB/lib
and mysql++-1.7.9/MYLIB/include
Hi!
Shravan Durvasula wrote:
Hi all,
How should i compile a simple MySQL++ file? I tried to
compile simple1.cc file provided in the examples
directory in mysql++-1.7.9. But i failed.
All the *.hh files that will be created when you do
make install are there in mysql++-1.7.9/MYLIB/lib
and
Hi,
ok you have to install both mysql and mysql++.
you need #include sqlplus.h in your sourcecode.
then:
g++ file.c -o file -lm -lmysqlclient -lsqlplus
and if you havent installed in the default_folder
-I/usr/include/mysql -L/usr/lib/mysql
too.
if /usr/include and /usr/lib are your