Fwd: [Coin-ipopt] Re: ipopt build error in VS.Net 2003

Rohallah Tavakoli rohtav at gmail.com
Thu Mar 15 17:08:14 EDT 2007


Salam Saeed

>  i want to use Microsoft Visual Studio.Net 2003 to compile the ....

I guess that you don't have a Fortran complier that be consistenc with your
MSVC as it is essential, for compiling HSL/Blas/Lapack.

simpler solution for windows is using cygwin.

I think that it is worth if IPOPT developer release some precompiled binary
of library for windows users.






On 3/15/07, Andreas Waechter <andreasw at watson.ibm.com> wrote:
>
> Hi Saeed,
>
> > hi dear wachter
> >  i have used your project 2 years ago, and it has completely exciting
> > results.. very good job! thanks alot for sharing it..
> >
> >  just a problem: it seems you are focused on Unix/Linux.. OS and not
> > Windows! downloads are usually some tarballs and not simple Zip files.
>
> True, this is what we do currently on COIN.  But usually the Windows
> unpackers don't have a problem to handles those .tar.gz files either.  If
> you have problems with it, you can send a suggestion to the coin-discuss
> mailing list.
>
> And, yes, I for my part prefer to work on Linux.  But I'm still trying to
> keep the developer studio files somewhat running.  However, I have only
> one set of compilers, which probably by now are a little old, so I can't
> test it very well.
>
> However, there is the MSVisualStudio project on COIN, where the goal is to
> maintain developer studio files for different versions of it
> ( https://projects.coin-or.org/MSVisualStudio).  Maybe we can include
> Ipopt
> in there...?  (JP, in case you are reading this, what do you think?
>
> > i have downloaded all third party files (HSL/Blas/Lapack...). but when i
>
> > build the solution some "unresolved externals" errors reported by
> > VS.Net. i saw there are several sample projects included. i remove them
> > except for CppExample, FortranLinAlg and Ipopt. here is the error
> > message:
> >
> >
> >  ------ Build started: Project: CppExample, Configuration: Debug Win32
> ------
> >  Linking...
> >
> > fortranlinalg.lib(ilaenv.obj) : error LNK2019: unresolved external
> symbol _IPARMQ referenced in function _ILAENV
> >
> > Debug/CppExample.exe : fatal error LNK1120: 1 unresolved externals
> >
> >  Build log was saved at "file://e:\IPOPT_New\Ipopt\Ipopt\Windows\VisualStudio_dotNET\CppExample\Debug\BuildLog.htm
> "
> >
> >  CppExample - 2 error(s), 0 warning(s)
> >
> >
> >  Can you help me what's the problem?
> >  by the way, i donot execute any configure or MakeFile script files as i
> > think they are not required in the case of windows & visual studio.
>
> Yes, the configure and makefiles are not required to be run if you use DS.
>
>
> I think the problem in this case is that some more files are now required
> by Ipopt with the new Lapack (maybe changed recently).  It seems that the
> source file iparmq.f is not listed in the Lapack subproject, but you shold
>
> have downloaded it when you got LAPACK.  Maybe it will work if you just
> add this file to the project so that it will be compiled as well... (and
> if there are more unresolved symbols like that, maybe you can find the
> missing source files there as well).
>
> I hope this helps,
>
> Andreas
> _______________________________________________
> Coin-ipopt mailing list
> Coin-ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20070315/2f67e8cc/attachment.html 


More information about the Coin-ipopt mailing list