Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: mysql++ for mingw: msg#00105

db.mysql.c++

Subject: RE: mysql++ for mingw

Since you have borland, then try to compile mysql with
borland and make the client library from there. MySQL
document may have information about build its client
library.

My other guess is: have you put the library path in
your final link, such as -L/path/to/library
-lmysqlclient, etc?

Good luck

--- Tom Riggs <tom@xxxxxxxxx> wrote:
> I have been trying to get the examples up and
> running using the same IDE. So
> far I have downloaded the 1.7.9 for Borland c++ and
> after correcting the
> includes in the headers I can get it to compile but
> now I get linker errors
> with undefined reference etc etc...
>
> I see that others have had the same problem and the
> lib files need to be
> included in the project. Well I found the lib file
> libsqlplus.a but since it
> was created with the Borland compiler the linker
> does not recognize it.
>
> I think that if I could figure out how to create
> library file with this IDE
> It would complete linking and compile.
>
> Any Ideas?
>
> Tom Riggs.
>
>
>
>
> -----Original Message-----
> From: Andrade, Rodrigo
> [mailto:Rodrigo.Andrade@xxxxxxxxxxxxxxxx]
> Sent: Tuesday, April 27, 2004 2:18 PM
> To: 'plusplus@xxxxxxxxxxxxxxx'
> Subject: Re: mysql++ for mingw
>
> Hi people.
>
> I've been watching this thread for some time because
> I'm having the same
> problem
> with libmysqlclient.a when I try to compile MySQL++
> version 1.7.9 with
> MingW.
>
> What I saw is that the information on this thread is
> a bit little confusing;
> maybe for this reason Mr. Sinisa didn't understand
> what is our real problem,
> and was unable go gave us a solution. So, I will try
> to be very clear.
>
> First of all, I think that most people are using
> MingW because they want
> (like me) to use Dev-Cpp which is a very good IDE
> (IMHO), otherwise, why not
>
> to use the cygwin distribution along with the MingW
> headers? But the real
> problem
> isn't with the compiler itself. The problem we're
> facing is with the
> configure
> script that we use to generate the make files. The
> compiling/linking process
> didn't even started yet.
>
> The problem we're having with the configure script
> is that the script is
> looking
> for a file, - the 'libmysqlclient.a' - and since it
> can't find it, the
> script is
> being aborted. We can look at line 1585 of the
> script that is distributed
> with
> MySQL++ 1.7.9 and notice the it is looking for the
> file 'libmysqlclient.so'
> (for
> UNIX environments) *OR* 'libmysqlclient.a' (for
> windows envs.)
>
> So, how do we get this file in order to full fill
> the needs of the configure
> script?
> Is it necessary to compile the entire MySQL Project
> by ourselves (even if we
> have to
> do it with cygwin) in order to get this file? Is
> there any other (easier)
> way?
>
> I don't know, but is it possible for the MySQL team
> add this file along with
> the
> program binaries, since they already have it when
> they compile the binary
> distribution?
> Is it possible to execute the configure script
> and/or compile MySQL++ 1.7.9
> without this file?
>
> Thank you very much for all your time and attention.
>
> Rodrigo.
> Brazil.
>
>
> -----------------------------------
>
> As I said, I can not help you much with MingW, as I
> never used it.
>
> Regarding the above library, you should make sure
> that you use correct
> include files with it.
>
> Also, latest MySQL++ is still 1.7.9
>
> --
>
> Sincerely,
>
> --
> For technical support contracts, go to
> https://order.mysql.com/?ref=msmi
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa
> Milivojevic <sinisa@xxxxxxxxx>
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB
> /_/ /_/\_, /___/\___\_\___/ Full time Developer
> and Support Coordinator
> <___/ www.mysql.com Larnaca, Cyprus
>
> Meet the MySQL at User Conference ! (April 14-16,
> 2004)
> <http://www.mysql.com/uc2004/>
>
>
>
> -----------------------
>
>
> Andrew Zhu wrote:
> > I noticed that the webpage of johnydog is gone for
> > quite some time. I have a copy of libmysqlclient
> which
> > I obtained from that webpage for free. I was not
> aware
> > of what the license or permission was. so I don't
> know
> > for sure I can post it here.
> > Also I noticed that there are a lot of question
> and
> > answer from johnydog in mysql archive list, you
> may
> > get hint how he made this library. I would like to
> do
> > it but apparently I am tied with my other works
> > currently and I could take a hand on this build
> after
> > this summer.
> > I suggested here that if someone wants to build
> this
> > library, I would suggestion to use the latest
> version
> > of mysql and mingw. (the version I have is 1.7.1,
> > 1.0.8).
> >
> > Good luck.
> >
> >
>
>
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=tom@xxxxxxxxx
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
>
http://lists.mysql.com/plusplus?unsub=usmle96@xxxxxxxxx
>





__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation