[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: Re: where can I find mysql\lib and mysql\include
From: Matt Dargavel <matt () shout-telecoms ! com>
Date: 2006-02-09 16:02:28
Message-ID: 43EB6794.8000809 () shout-telecoms ! com
[Download RAW message or body]
The README and README.mingw files in the MySQL++ directory have
information on how to set all this up. In summary you either need to
install MySQL in c:\mysql\ (probably the easiest) or change
'MYSQL_DIR=c:\mysql' in the various MAKEFILE.mingw files to point to
where you installed MySQL Server (e.g. "C:\Program Files\MySQL\MySQL
Server 5.0\include" ) and rebuild the appropriate makefiles by running
'makemake mingw'.
Regards,
Matt.
Li, Eileen wrote:
>I appreciate any help on this! I install mysql server 5.0, it appears
>mysql\lib and mysql\include are not installed automatically in my
>computer, how can I find them from mysql.com? I would appreciated if
>there is a link with it.
>
>I try mingw32-make, here is the error message,
>
>C:\mysql++-2.0.7\lib>mingw32-make
>cl /Ic:\mysql\include /DMYSQLPP_MAKING_DLL /D_WINDLL /D_UNICODE /G6
>/EHsc /nologo /c /MDd /Od /D_DEBUG /ZI /Zi /Fodebug\coldata.obj
>coldata.cpp
>coldata.cpp
>c:\atwork\db\mysql++-2.0.7\lib\defs.h(34) : fatal error C1083: Cannot
>open include file: 'mysql.h': No such file or directory
>mingw32-make: *** [coldata.obj] Error 2
>
>I check the makefile, it says:
>"MYSQL_DIR=c:\mysql"
>
>My problem is, I do not have c:\mysql at all, I have C:\Program
>Files\MySQL\MySQL Server 5.0, and it does not have \lib and \include
>directory.
>
>Thank you in advance.
>
>
>
>
>>where can I find mysql\lib and mysql\include for
>>VC++ 7.1?
>>
>>
>mysql.com
>
>
>
>
--
======================================================
*Matthew Dargavel*
Software Engineer
Shout Telecoms Ltd
shout-telecoms.com <http://www.shout-telecoms.com>
Tel: +44 (0) 1243 573111
Fax: +44 (0) 1243 573777
This message is intended only for the use of the person(s) ("the
intended recipient(s)") to whom it is addressed. It may contain
information which is privileged and confidential within the meaning of
applicable law. If you are not the intended recipient, please contact
the sender as soon as possible. The views expressed in this
communication may not necessarily be the views held by Shout Telecoms Ltd.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic