dbTalk Databases Forums  

where can I find mysql\lib and mysql\include

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss where can I find mysql\lib and mysql\include in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Li, Eileen
 
Posts: n/a

Default where can I find mysql\lib and mysql\include - 02-09-2006 , 09:45 AM






------_=_NextPart_001_01C62D8F.DE331064
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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.
=20
I try mingw32-make, here is the error message,
=20
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
=20
I check the makefile, it says:=20
"MYSQL_DIR=3Dc:\mysql"
=20
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.=20
=20
Thank you in advance.
=20

Quote:
where can I find mysql\lib and mysql\include for
VC++ 7.1?
mysql.com


------_=_NextPart_001_01C62D8F.DE331064--


Reply With Quote
  #2  
Old   
Matt Dargavel
 
Posts: n/a

Default Re: where can I find mysql\lib and mysql\include - 02-09-2006 , 10:02 AM






--------------050509070500040308080004
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


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:

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


--------------050509070500040308080004--


Reply With Quote
  #3  
Old   
Matt Dargavel
 
Posts: n/a

Default Re: where can I find mysql\lib and mysql\include - 02-09-2006 , 10:21 AM




Sorry, a bit hasty with the reply there, didn't see the bottom bit. If
you're missing the include directories, you might not have chosen the
right install options? Try re-installing and making sure you select "C
Include / Lib Files" option. I haven't installed 5 so the name may be
slightly different. I suppose it's also possible 5 puts the header
files in a different directory, in which case a quick search should find
them.


Matt Dargavel wrote:

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








--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.