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: >

Linking problems

2005-02-26 Thread Arthur
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++/

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: > > --

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

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.

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

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..

Linking problems.

2001-02-14 Thread Dave Juntgen
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