[OS-tickets] [Optimization Services] #54: Trouble with Compiling OS

Optimization Services coin-trac at coin-or.org
Wed Apr 16 11:22:33 EDT 2014


#54: Trouble with Compiling OS
----------------------------+-------------------
  Reporter:  mbakhtvar      |      Owner:
      Type:  task           |     Status:  new
  Priority:  minor          |  Milestone:
 Component:  other/unknown  |    Version:  trunk
Resolution:                 |   Keywords:
----------------------------+-------------------

Comment (by tkr):

 Building with 64-bit MinGW is a real challenge. Even if you get things to
 build, the binaries won't always work properly due to some 32-bit/64-bit
 Windows voodoo I don't really understand too well. If you build 64-bit
 binaries in 32-bit CYGWIN, for example, they don't seem to work. I've
 never gotten the TDM-64 compiler to work successfully.

 The only real success I've had is with building with 64-bit MinGW under
 64-bit CYGWIN. The following incantation worked for building OS 2.8.3 and
 generated binaries that seem to run (though I have not personally used
 them except to basic testing).

 cd ThirdParty/Mumps
 ./get.Mumps
 ../configure --enable-dependency-linking --enable-shared --enable-static
 --disable-pthread-mumps lt_cv_deplibs_check_method=pass_all
 --host=x86_64-w64-mingw32
 make
 make install

 This will generate DLLs. If you leave off the --enable-shared, it should
 generate static binaries that might be easier to work with. I can provide
 the binaries I've managed to build but they are not using HSL.

 For Mumps, you should definitely use the script get.Mumps to just download
 the version that is tested and known to work. Substituting the latest
 version will probably not work. We convince the Mumps folks to make the
 older version we work with available for download permanently since things
 frequently break otherwise.

--
Ticket URL: <https://projects.coin-or.org/OS/ticket/54#comment:2>
Optimization Services <http://projects.coin-or.org/OS>
An interface for Web services implementing optimization.



More information about the OS-tickets mailing list