-
-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows binaries #370
Comments
As far as I can see, the only build being done on Appveyor at the moment is with the MinGW compiler, not Visual Studio. To make Visual Studio libraries, we need the ifort Fortran compiler (to build Mumps) and it's not available on Appveyor. We don't really have an automated way of providing Visual Studio binaries for Ipopt at the moment. Stefan or I can manually build a binary periodically and upload it (which is how I guess the existing binaries were built). But that is the only option currently, as far as I know. |
Aahh... I missed that Visual Studio was only the name of the image while the architecture was still MinGW... Thanks anyway! |
Another option is to use |
I've been wondering when there would eventually be an open-source compiler to replace ifort. Good to see this one being developed, although it looks they don't really support Windows yet. Another alternative is to figure out a way to make the libraries produced by MinGW work with Visual Studio, which can be done in principle. There are tools for doing it, but it always seems a bit like black magic and I don't fully understand the issues. |
In https://github.com/opensim-org/opensim-moco, we are using a version of Ipopt compiled with Visual Studio, with mumps compiled with a version of flang that was temporarily available through Conda on Windows. It’s fantastic to see improvements to the distribution and compiling of Ipopt! |
@chrisdembia Thanks, I took a look, but I couldn't easily see what you're doing. You said "temporarily available." So that means it is no longer? Are you just using a binary that you have no way of re-generating then? |
That's my understanding.
Sadly, yes. I had intended to create a script to reproduce this binary but it was a very lengthy difficult process and may be irrelevant anyway, given that I'm not sure Conda provides this version of Flang on Windows anymore. Part of this process involved modifying the coinor CMake scripts that were on GitHub: https://github.com/chrisdembia/coin/tree/ipopt_external_mumps. IPOPT is an essential dependency of our optimal control software for human movement, so I would love to make our building of IPOPT more robust. The binary is available here: https://sourceforge.net/projects/myosin/files/ipopt/ Creating this binary was only possible by following the excellent work of @traversaro and others. See robotology-legacy/icub-packaging#7 for a lengthy discussion. Relatedly, I would be happy to contribute a CMake build system to this repository, if you're interested and able to answer questions that may come up. cc my colleagues @nickbianco @carmichaelong |
Fortunately since then there have been some updates that it may be worth mentioning:
More related to the content of this issue, it seems that the |
Yes, the MinGW build would have dependencies onto MinGW DLLs, and I don't want to redistribute these. |
As it seems that there are no recent Ipopt binaries built with Visual Studio available, would it be possible to make the ones compiled by Appveyor available somehow, e.g. on Bintray? Similarly to what is (I guess) done for Cbc?
The text was updated successfully, but these errors were encountered: