Hello.
>g++ -o sqltest sqltest.o -L/usr/lib/mysql -R/usr/lib/mysql -lmysqlclient -lm
>-lz
You should specify the location of libmysqlpp.a and add -lmysqlpp to the list
of libraries. Remove -R flag. Look into the mysql++-1.7.28/examples directory.
Arthur <[EMAIL PROTECTED]> wrote:
>
Hi there, guys.
I'm new to MySQL++.
When I try to compile the first simple example of mysql++ tutorial, the
following error occurs:
g++ -g -O -Wall -I/usr/include/mysql++ -I/usr/include/mysql -c sqltest.cc
In file included from sqltest.cc:3:
/usr/include/mysql++/
Guy-Maurice Lepoutre writes:
> Hello,
>
> I am using Visual C++ 6.0 and I have some linking
> problems while trying to run the example program
> MFC_ex.cpp included in the downloading files in the
> mysql.com website.
> Here are the errors I get:
>
> --
Hi,
I did all that but I still have the linking problems:
it seems that it doesn't find the MysqlConnection
implementation.
NOTES:
--
1) The main workspace and project for the mysql++ API
are located in the root
directory
2) This project, when built, will yield the static
library
Guy-Maurice Lepoutre writes:
> Hello,
>
> I am using Visual C++ 6.0 and I have some linking
> problems while trying to run the example program
> MFC_ex.cpp included in the downloading files in the
> mysql.com website.
> Here are the errors I get:
>
>
> MFC_ex.
Hello,
I am using Visual C++ 6.0 and I have some linking
problems while trying to run the example program
MFC_ex.cpp included in the downloading files in the
mysql.com website.
Here are the errors I get:
Configuration: MFC_ex - Win32
Debug
Linking
Dave Juntgen wrote:
>
> I am unable to link libmysqlclient staticlly. I have tryed everything I
> could have thought, please look at the linking below, I tried to look for
> the file my_compress.o and my file system and I was unable to find it.
>
> gcc -g -Wall -O6 -static -o webchart.cgi -L..
I am unable to link libmysqlclient staticlly. I have tryed everything I
could have thought, please look at the linking below, I tried to look for
the file my_compress.o and my file system and I was unable to find it.
gcc -g -Wall -O6 -static -o webchart.cgi -L../../mieutils/linux/lib
../../mie