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

Ipopt coin-trac at coin-or.org
Fri Mar 16 10:59:08 EDT 2007


#32: [Coin-ipopt] installation problem in ipopt
------------------------------+---------------------------------------------
Reporter:  woaiwojia          |       Owner:  ipopt-team
    Type:  defect             |      Status:  new       
Priority:  normal             |   Component:  Ipopt     
 Version:  3.2 (C++ Version)  |    Severity:  normal    
Keywords:                     |  
------------------------------+---------------------------------------------
 Dear Sir,
 Thank you for your help.The errors of the missing ipopt symbols have been
 eliminated.The project build order made by Visual Studio is not correct.I
 think FortranLinAlg and ipopt projects should be built firstly while the
 build order of the other five projects is arbitrary.I have built the
 FortranLinAlg and ipopt projects successfully.However, I encounter the
 following errors when building the hs071_cpp(a Visual C++ project)
 project:

 Command Lines :


 Creating temporary file "c:\Program Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\hs071_cpp\Debug\RSP000006.rsp"
 with contents
 [
 /OUT:"Debug/hs071_cpp.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Program
 Files\Intel\Compiler\Fortran\9.1\IA32\Lib" /LIBPATH:"C:\Program
 Files\Microsoft Visual Studio .NET 2003\Vc7\lib"
 /LIBPATH:"G:\Programe_Files\Microsoft Platform SDK\Core SDK\Lib" /DEBUG
 /PDB:"Debug/hs071_cpp.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 "C:\Program
 Files\Microsoft Visual Studio .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\Ipopt\Debug\Ipopt.lib"
 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
 shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
 ".\Debug\hs071_main.obj"
 ".\Debug\hs071_nlp.obj"
 ]
 Creating command line "link.exe @"c:\Program Files\Microsoft Visual Studio
 .NET
 2003\Ipopt\Ipopt\Windows\VisualStudio_dotNET\hs071_cpp\Debug\RSP000006.rsp""

  Output Window:


 Linking...

 Ipopt.lib(ilaenv.obj) : error LNK2019: unresolved external symbol _IPARMQ
 referenced in function _ILAENV

 libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol
 __malloc_dbg referenced in function "void * __cdecl operator new(unsigned
 int,struct std::_DebugHeapTag_t const &,char *,int)"
 (??2 at YAPAXIABU_DebugHeapTag_t@std@@PADH at Z)

 libcpmtd.lib(_tolower.obj) : error LNK2001: unresolved external symbol
 __malloc_dbg

 libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol
 __free_dbg referenced in function "void __cdecl operator delete(void
 *,struct std::_DebugHeapTag_t const &,char *,int)"
 (??3 at YAXPAXABU_DebugHeapTag_t@std@@PADH at Z)

 Debug/hs071_cpp.exe : fatal error LNK1120: 3 unresolved externals

 I have no idea about how to fix the problem,could you give me some advice?

 In addition, I want to ask you some questions about ipopt installation:
 1.Should I use all of the seven projects if I want to install ipopt
 successfully?
 2.Is the build order of seven projects important?Could you tell me the
 correct order?

 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.

 Thanks again!

                                                                  Gaoqiang

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



More information about the Ipopt-tickets mailing list