Re: Linking problems

2005-02-28 Thread Gleb Paharenko
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: >

Re: Linking problems

2002-01-25 Thread Sinisa Milivojevic
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

Re: Linking problems

2002-01-25 Thread Guy-Maurice Lepoutre
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+

Re: Linking problems

2002-01-25 Thread Sinisa Milivojevic
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) >

Re: Linking problems

2002-01-24 Thread Guy-Maurice Lepoutre
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

Re: Linking problems.

2001-02-15 Thread Gerald L. Clark
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..