List:MySQL on Win32« Previous MessageNext Message »
From:David LeBlanc Date:July 22 2000 5:55am
Subject:RE: Solved bug in build of mysql-3.23.21-win32
View as plain text  
The bug is that some of the targets won't build in the VC projects due to
missing lib info in the link step. This is true for several of the targets
in both the win32-debug and win32-release settings (maybe the win32-nt
settings too?).

The solution I found was to add mysqlclient.lib to the "Object/Library
Modules" entry on the Link tab and to also add "..\lib-debug" or
"..\lib_release", depending on whether it's a debug or release setting, to
the "Additional Library Path" entry also on the Link tab of the settings
dialog.

The choice of mysqlclient.lib was based on the other targets that do build
correctly.

"mysqld.exe" seems to be the default target that causes all the other
targets to be built. However, I don't believe that it does build all the
targets. Going through the list and clicking on "Build (Selection Only)"
from the pop-up menu on the FileView list causes some targets  to build even
after 'mysqld.exe' finishes successfully. This means that either they are
not built during the 'mysqld.exe' build or that their dependencies are
confused. (This is true for at least the following targets: "test1 files";
"pack_isam files"; "myisampack files"; "isamchk files"; "mysqlbinlog
files".)

After these fixes, I was able to complete the build with VC 6.0 on Windows
NT 4.0sp6a. Not tested yet.

Dave LeBlanc

P.S. "test1 files" needs 'libmysql.lib' instead of 'mysqlclient.lib' in the
link step as above.

-----Original Message-----
From: Fredrick Bartlett [mailto:palmtreefrb@stripped]
Sent: Friday, July 21, 2000 9:48 PM
To: David LeBlanc
Cc: win32@stripped
Subject: Re: Solved bug in build of mysql-3.23.21-win32


Can you give more details.  What bug?

Thanks,
Fredrick

David LeBlanc wrote:

> the 'replace' sub-project is missing 'mysqlclient.lib' as a lib and
> '..\lib_debug\" in the other libs path entrybox.
>
> Dave LeBlanc
>
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail win32-thread3305@stripped
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail win32-unsubscribe@stripped instead.


---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail win32-thread3308@stripped

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail win32-unsubscribe@stripped instead.

Thread
Solved bug in build of mysql-3.23.21-win32David LeBlanc22 Jul
  • Re: Solved bug in build of mysql-3.23.21-win32Fredrick Bartlett22 Jul
    • RE: Solved bug in build of mysql-3.23.21-win32David LeBlanc22 Jul