[Ipopt-tickets] [Ipopt] #33: [Coin-ipopt] installation problem in ipopt

Ipopt coin-trac at coin-or.org
Sat Mar 17 02:46:58 EDT 2007


#33: [Coin-ipopt] installation problem in ipopt
------------------------------+---------------------------------------------
Reporter:  woaiwojia          |       Owner:  ipopt-team
    Type:  task               |      Status:  new       
Priority:  normal             |   Component:  Ipopt     
 Version:  3.2 (C++ Version)  |    Severity:  normal    
Keywords:                     |  
------------------------------+---------------------------------------------
 Dear Sir,
     I am using Microsoft Visual Studio .NET 2003 , Microsoft Platform SDK
 Febuary 2003 and the Intel Visual Fortran Compiler 9.1.The version of the
 code is IPOPT_3.2.3. I am using the default project files.I make the
 compiler settings according to the Readme file in the folder
 VisualStudio_dotNET. I want to install the ipopt on Windows using Visual
 Studio.
     So far I have built the
 FortranLinAlg,ipopt,CppExample,hs071_c,hs071_cpp and ScalableProblems
 projects successfully with the help of Stefan,Andreas and damien.
 However, I encounter the following errors when building the hs071_f
 project(a Fortran project)(In fact,there are many errors and I just
 display a part of them because they are similar):

 Compiling with Intel Fortran 9.1 C:\Program
 Files\Intel\Compiler\Fortran\9.1\IA32\...
 ifort /nologo /Zi /Od /include:"C:\Program
 Files\Intel\Compiler\Fortran\9.1\IA32\Include"
 /include:"G:\Programe_Files\Microsoft Platform SDK\Core SDK\include"
 /include:"..\..\..\src\Interfaces" /include:"C:\Program Files\Microsoft
 Visual Studio .NET 2003\Vc7\include" /module:"Debug/" /object:"Debug/"
 /traceback /check:bounds /libs:static /threads /dbglibs /c  /extfor:f
 /Qvc7.1 /Qlocation,link,"C:\Program Files\Microsoft Visual Studio .NET
 2003\Vc7\bin" "C:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\hs071_f\hs071_f.f"
 Linking...
 Link /OUT:"Debug/hs071_f.exe" /INCREMENTAL /NOLOGO
 /LIBPATH:"G:\Programe_Files\Microsoft Platform SDK\Core SDK\Lib"
 /LIBPATH:"C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Lib"
 /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib"
 /NODEFAULTLIB /DEBUG /PDB:"Debug/hs071_f.pdb" /SUBSYSTEM:CONSOLE
 /OPT:NOWIN98 "C:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\Ipopt\Debug\Ipopt.lib"
 "C:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\FortranLinAlg\Debug\FortranLinAlg.lib"
 "Debug/hs071_f.obj" "c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\Ipopt\Debug\Ipopt.lib"
 Link: executing 'link'

 Ipopt.lib(dtrmm.obj) : error LNK2019: unresolved external symbol __fltused
 referenced in function _DTRMM

 hs071_f.obj : error LNK2019: unresolved external symbol
 _for_set_reentrancy referenced in function _MAIN__

 hs071_f.obj : error LNK2019: unresolved external symbol _for_write_seq_lis
 referenced in function _MAIN__

 hs071_f.obj : error LNK2019: unresolved external symbol _for_stop_core
 referenced in function _MAIN__

 Ipopt.lib(dtrmv.obj) : error LNK2001: unresolved external symbol
 _for_emit_diagnostic

 Ipopt.lib(IpBlas.obj) : error LNK2001: unresolved external symbol
 __RTC_CheckEsp


 By the way,I encounter some warning message when building ipopt project
 and ScalableProblems project. I have no idea if the warning message is
 serious and how to eliminate them:
 IPOPT warnings:
 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Common\IpUtils?.cpp(44) : warning C4800: 'int' :
 forcing value to bool 'true' or 'false' (performance warning)
 IpTaggedObject?.cpp

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(209) : warning C4311:
 'type cast' : pointer truncation from 'void *' to 'fptr'

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(219) : warning C4311:
 'type cast' : pointer truncation from 'FUserData *' to 'fptr'

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(225) : warning C4312:
 'type cast' : conversion from 'fptr' to 'FUserData *' of greater size

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(230) : warning C4311:
 'type cast' : pointer truncation from 'void *' to 'fptr'

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(244) : warning C4312:
 'type cast' : conversion from 'fptr' to 'FUserData *' of greater size

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(281) : warning C4312:
 'type cast' : conversion from 'fptr' to 'FUserData *' of greater size

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(307) : warning C4312:
 'type cast' : conversion from 'fptr' to 'FUserData *' of greater size

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(331) : warning C4312:
 'type cast' : conversion from 'fptr' to 'FUserData *' of greater size

 c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\src\Interfaces\IpStdFInterface.c(356) : warning C4312:
 'type cast' : conversion from 'fptr' to 'FUserData *' of greater size

 ScalableProblems warnings:
 LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found
 from OleAcc.dll

 In addition, I want to ask a question about ipopt installation:
 Should I use all of the seven projects if I want to install ipopt
 successfully ,or instead I just use one of the five example projects?

   Could you give some advice about the problem above? Thank you for your
 help!

                                            Gaoqiang

-- 
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/33>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list