mysql work bench compile method. copy from mysql website

The document link is here:

http://wb.mysql.com/?page_id=494

quote:

We are using different Windws Versions (XP, Vista, 7) to build MySQL Workbench – so it should work fine on any of these. As Development Tool on Windows we use Microsoft Visual Studio 2008, so if you are going to build Workbench on Windows from source, you need to have that installed on your machine. There’s no public source-tree available, so you need to download a zipped copy of the source-files (we publish source packages along with every release). All 3rd party libraries needed to properly compile Workbench on Windows, are zipped up in an additional “externals” package which we host on our support-ftp server. Following is a short step-by-step list of how to build MySQL Workbench from source on Windows:

  • Install MS Visual Studio 2008 in case you haven’t done so yet
  • Download a copy of the latest source package from our main download site (select Source Code in the platform dropdown and pick the generic package)
  • Download the latest externals package from our supportFTP: mysql-workbench-externals-2200-win32.zip
  • Unzip both archives into the same base-directory
  • Execute the SetEditionOSS.cmd file in the root directory of the source-package
  • Open the MS Visual Studio Solution File MySQLWorkbench.sln (you will get an error-message about a testing project missing, that can be safely ignored)
  • As last step, before actually starting the build process, be sure to set the solution configuration as preferred (Debug or Release_OSS) and also set the Solution Platform to x86
  • Start the build process
原文地址:https://www.cnblogs.com/xavier/p/1672516.html