You can also use MSYS+MinGW on Windows 7. Everything (except MA77) worked just fine here, and I can give some pointers if necessary.<div><br></div><div>Pedro.<br><br><div class="gmail_quote">On Fri, Jan 25, 2013 at 1:58 PM, Mostafa Bakhtvar <span dir="ltr"><<a href="mailto:bakhtvar@gmail.com" target="_blank">bakhtvar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I followed the step by step installation guide below by Tony Kelman and<br>
everything went smooth,<br>
I suggest using Cygwin if you are on windows, it is pretty easy and<br>
straightforward.<br>
<br>
Regards<br>
Mosy<br>
<br>
On Thu, Jun 28, 2012 at 5:17 AM, Tony Kelman <<a href="mailto:kelman@berkeley.edu">kelman@berkeley.edu</a>> wrote:<br>
Mosy,<br>
<br>
I've recently been compiling Ipopt many times on a variety of machines<br>
including on Windows with Cygwin, so I can probably help you out.<br>
<br>
As John suggested, you can also try MinGW instead of Cygwin. There is a<br>
straightforward GUI installer called mingw-get-inst available here<br>
<a href="http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/" target="_blank">http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/</a> .<br>
During the installation, select the C, C++, and Fortran compilers, and the<br>
MSYS Basic System. You then need one additional item, the mingwPORT of wget<br>
from<br>
<a href="http://sourceforge.net/projects/mingw/files/Other/mingwPORT/Current%20Releas
es/wget-1.9.1-mingwPORT.tar.bz2/download" target="_blank">http://sourceforge.net/projects/mingw/files/Other/mingwPORT/Current%20Releas<br>
es/wget-1.9.1-mingwPORT.tar.bz2/download</a> in order to download the<br>
third-party sources that Ipopt requires. Copy the wget.exe from that tar<br>
file into your MinGW/msys/1.0/bin folder.<br>
<br>
If you would prefer to stick with Cygwin, it should work as long as you<br>
install the following packages.<br>
Under Devel, you need: gcc4, gcc4-fortran<br>
Under Devel, I recommend: subversion<br>
Under Web, you need: wget<br>
<br>
Be sure to "Select required packages" when a Resolving Dependencies window<br>
comes up.<br>
<br>
As you hopefully saw under Compilation on the current issues page<br>
(<a href="https://projects.coin-or.org/BuildTools/wiki/current-issues" target="_blank">https://projects.coin-or.org/BuildTools/wiki/current-issues</a>), the version<br>
of "make" that the Cygwin installer gives you will not work. Download the<br>
fixed version from <a href="http://www.cmake.org/files/cygwin/make.exe" target="_blank">http://www.cmake.org/files/cygwin/make.exe</a> and save it to<br>
cygwin/bin. Double-check this new version by typing "make --version" in a<br>
Cygwin terminal, if you get an error "-bash: /usr/bin/make: Bad address",<br>
then try <a href="http://www.cmake.org/files/cygwin/make.exe-cygwin1.7" target="_blank">http://www.cmake.org/files/cygwin/make.exe-cygwin1.7</a> instead,<br>
rename it to make.exe and move it to cygwin/bin.<br>
<br>
Download a copy of the Ipopt source. If you installed subversion, you can do<br>
this easily from the command line:<br>
svn co <a href="https://projects.coin-or.org/svn/Ipopt/releases/3.10.2" target="_blank">https://projects.coin-or.org/svn/Ipopt/releases/3.10.2</a> ~/Ipopt-3.10.2<br>
<br>
Download the third-party sources:<br>
cd ~/Ipopt-3.10.2<br>
cd ThirdParty/Blas; ./get.Blas; cd ../..<br>
cd ThirdParty/Lapack; ./get.Lapack; cd ../..<br>
cd ThirdParty/Metis; ./get.Metis; cd ../..<br>
cd ThirdParty/Mumps; ./get.Mumps; cd ../..<br>
cd ThirdParty/ASL; ./get.ASL; cd ../..<br>
(ASL is optional, only necessary if you are working with AMPL models)<br>
<br>
Make a build directory, configure and compile:<br>
mkdir build<br>
cd build<br>
../configure<br>
make<br>
make test<br>
make install<br>
<br>
I just tried this out on a Windows computer with a fresh installation of<br>
Cygwin (only the default packages plus those mentioned above) and it worked.<br>
If you are having problems, can you be more specific about when the first<br>
errors occur and exactly what they say?<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:ipopt-bounces@list.coin-or.org">ipopt-bounces@list.coin-or.org</a> [mailto:<a href="mailto:ipopt-bounces@list.coin-or.org">ipopt-bounces@list.coin-or.org</a>]<br>
On Behalf Of Stefan Vigerske<br>
Sent: 25 January 2013 15:38<br>
To: Jamesp<br>
Cc: ipopt<br>
Subject: Re: [Ipopt] About ipopt<br>
<br>
Hi,<br>
<br>
support for Visual Studio is quite limited, especially if you don't have a<br>
Fortran compiler.<br>
<br>
You should have a look at the precompiled libraries at<br>
<a href="http://www.coin-or.org/download/binary/Ipopt/" target="_blank">http://www.coin-or.org/download/binary/Ipopt/</a><br>
especially the .7z ones.<br>
<br>
If you compile by yourself, then regarding 3rd party software, one way is to<br>
get Mumps and Metis. For Mumps, you'll need to have a Fortran90 compiler.<br>
Another option is to get HSL MA27 and Metis, this only requires a Fortran77<br>
compiler, but you need to make sure that the license is ok for you.<br>
If you have to stick with Windows, then get cygwin or mingw to run configure<br>
and make.<br>
<br>
Stefan<br>
<br>
<br>
On 01/25/2013 07:14 AM, James Peng wrote:<br>
><br>
><br>
> Hi, every guys:<br>
> i'm newly known of this open source software.<br>
> I'm intend to use it to optimize optical thin film design. By i'm confused<br>
by following problem:<br>
> 1. My platform is windows 7, and my compiler is VS2008, i don't know it<br>
works or not?<br>
> 2. By its tutorial, i know some third party parts should be dealt by<br>
myself, could you give my some advice.?<br>
> 3. Based on my environment (including OS win7, VS2008), are there some<br>
cases existed or created by some friends? either Source codes or DLL lib, is<br>
ok.<br>
><br>
> Thanks<br>
> James Peng<br>
> Opticstek<br>
> Cellphone: 18717887318<br>
> Email: <a href="mailto:Jamesp@live.cn">Jamesp@live.cn</a><br>
> QQ: 408126254<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Ipopt mailing list<br>
> <a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
> <a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
><br>
<br>
_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
<br>
_______________________________________________<br>
Ipopt mailing list<br>
<a href="mailto:Ipopt@list.coin-or.org">Ipopt@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/ipopt" target="_blank">http://list.coin-or.org/mailman/listinfo/ipopt</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Pedro Tabacof,<br>Unicamp - Eng. de Computação 08.<br>
</div>