[fdo-trac] #206: Debug build can not find libmysql.lib on Windows

FDO trac_fdo at osgeo.org
Mon Dec 24 01:23:04 EST 2007


#206: Debug build can not find libmysql.lib on Windows
------------------------------+---------------------------------------------
   Reporter:  mloskot         |       Owner:  gregboone               
       Type:  defect          |      Status:  new                     
   Priority:  blocker         |   Milestone:                          
  Component:  MySQL Provider  |     Version:                          
   Severity:  3               |    Keywords:  mysql libmysql.lib debug
External_id:                  |  
------------------------------+---------------------------------------------
 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
 [http://trac.osgeo.org/fdo/browser/trunk/Providers/GenericRdbms/Src/MySQL/MySql.vcproj#L75
 MySql.vcproj] project.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/206>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list