![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
where can I find mysql\lib and mysql\include for VC++ 7.1? mysql.com |
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |