MSYS (Minimal SYSstem) provides an easy way to use the COIN-OS build system with compilers/linkers of your own choice, such as the Microsoft command line C++ cl compiler. MSYS is an application that gives the user a Bourne shell that can run configure scripts and Makefiles. No compilers come with MSYS. In the Cygwin, MinGW, and MSYS hierarchy, it is at the bottom the food chain in terms of tools provided. However, it is very easy to use and build the OS project with MSYS. In this discussion we assume that the user has downloaded the OS source code (most likely with TortoiseSVN) and that the cl compiler is present. The project is built using the following steps.
Note:
Execute the following steps to use the Microsoft C++ cl compiler with MSYS.
and install. Double clicking on the MSYS icon will open a Bourne shell window.
http://msdn2.microsoft.com/en-us/express/future/bb421473.aspx
and install.
http://msdn2.microsoft.com/en-us/express/aa700755.aspx
and install.
PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE; C:\Program Files\Microsoft Visual Studio 8\VC\BIN; C:\Program Files\Microsoft Visual Studio 8\Common7\Tools; C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin; C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727; C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages INCLUDE=C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE; C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include LIB = C:\Program Files\Microsoft Visual Studio 8\VC\LIB; C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib; C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
The environment variables can be set using the System Properties in the Windows Control Panel.
Run an Example! If make test works, proceed to Section 10 to run the key executable, OSSolverService.
Microsoft Windows users that wish to obtain MSYS for building the OS project can download the appropriate software at http://sourceforge.net/project/showfiles.php?group_id=2435. The user may find this Web site confusing. It is only necessary to download what is referred to as the MSYS Base System. As of this writing the most recent version is MSYS-1.0.11. This file is listed as bash-3.1-MSYS-1.0.11 and the binary download is
This will provide the necessary Bourne shell for executing the configure scripts. Users that want to edit the source code in the parsers described in Section 7.4 will need the additional tools , flex and bison. These are listed at the Web site as
bison-2.3-MSYS-1.0.11 flex-2.5.33-MSYS-1.0.11 regex-0.12-MSYS-1.0.11The last one contains an important DLL, msys-regex-0.dll, without which flex will not start.