Opened 17 years ago
Closed 17 years ago
#206 closed defect (fixed)
Debug build can not find libmysql.lib on Windows
Reported by: | mloskot | Owned by: | gregboone |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | MySQL Provider | Version: | |
Severity: | 3 | Keywords: | mysql libmysql.lib debug |
Cc: | External ID: |
Description
I'm trying to build FDO trunk on Windows and project of MySQL provider seems to be not configured correctly. The build_thirdparty.bat finished its job with success. The build.bat failed:
D:\dev\fdo\_svn\trunk>echo %FDOMYSQL% C:\Program Files\MySQL\MySQL Server 5.0 D:\dev\fdo\_svn\trunk>build.bat -c=debug ...
with following error:
Target MySql: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\..\..\vc\vcpackages\vcbuild.exe D:\dev\fdo\_svn\trunk\Providers\GenericRdbms\Src\MySQL\MySql.tmp_Debug_Win32.vcproj "Debug|Win32" LINK : fatal error LNK1181: cannot open input file 'libmySQL.lib' Done building target "MySql" in project "MySQL_temp.sln" -- FAILED.
I use MySQL in version:
c:\Program Files\MySQL\MySQL Server 5.0\bin>mysql --version mysql Ver 14.12 Distrib 5.0.45, for Win32 (ia32)
Here is the content of %FDOMYSQL\lib directory:
C:\Program Files\MySQL\MySQL Server 5.0>ls lib opt C:\Program Files\MySQL\MySQL Server 5.0>ls lib\opt libmysql.lib mysqlclient.lib mysys-nt.lib regex.lib strings.lib zlib.lib
Apparently, there is no Debug subdirectory referenced in MySql.vcproj project.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | mysql-ticket-206.patch added |
---|
comment:1 by , 17 years ago
Status: | new → assigned |
---|
It appears as if this issue has been resolved. I double checked the settings and all looks ok.
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Patch with my proposal of how to fix this issue. Applying it fixes the problem for me.