Hensen Yi writes:
> I got a error when I run the sample file of Mysql++ , the file is
> simple1.cc
> I compile use below command:
>
> g++ -g -o mysimple simple1.cc /usr/lib/libsqlplus.so -L/usr/lib/mysql
> -I/usr/include/mysql/ -lmysqlclient -lnsl -lz -crypt -lsocket -lm
>
> and I did
I got a error when I run the sample file of Mysql++ , the file is
simple1.cc
I compile use below command:
g++ -g -o mysimple simple1.cc /usr/lib/libsqlplus.so -L/usr/lib/mysql
-I/usr/include/mysql/ -lmysqlclient -lnsl -lz -crypt -lsocket -lm
and I did not got any erro in compile and link, how