No !
It's -lmysqlclient and -lzlib ('lib' is subsituted when prefix, not suffix)
The libs must be in Dev lib folder.
----- Original Message -----
From: "Hongli Lai" <h....@ch...>
To: "Mateusz Podbielski" <mpo...@us...>
Cc: <dev...@li...>
Sent: Thursday, May 09, 2002 2:21 AM
Subject: Re: [Dev-C++] How to include necessary libraries?
> Mateusz Podbielski wrote:
>
> >Hi.
> >
> > I'm about finish my project but when I try to include
> > "libmysqlclient" library using
> > 'gcc file.cpp -o file.exe -l libmysqlclient -l zlib' command compiler
> > throws 'no file or directory' even when I copy that library to the
> > same directory I've gcc in. I also have copies of libmysqlclient
> > library in all necessary directories. Where's the problem?
> >
> >
> >
> >
>
> It's -lz, not -l zlib
>
>
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: ban...@so...
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|