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:
>
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:
>
> Configuration: MFC_ex - W
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 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:
>
>
> MFC_ex.exe - 18 error(s), 0 warning(s)
>
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...
MFC_e
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..