[Ipopt] Compile IPOPT VS2010
Marcel Heimlich
marcel.heimlich at esimulation.com
Tue Mar 8 09:35:15 EST 2011
I am trying to compile IPOPT using VS2010. I have worked through most of the
2000 errors during the conversion process but I am left with 23 errors. It
appears some of them refer to the blas and lapack libraries so I am just
asking for a confirmation if I am compiling all of the code correctly.
I have the following projects IpOpt, Blas, LaPack, and libhsl (no ma57).
Blas: static link library (fortran intel 12.0)
LaPack: DLL (fortran intel 12.0)
HSL: DLL (fortran intel 12.0)
IpOpt - VS2010 DLL project
I get the following errors:
Error 6 error LNK2019: unresolved external symbol
_MA28PART referenced in function "public: virtual bool __thiscall
Ipopt::Ma28TDependencyDetector::DetermineDependentRows(int,int,int,double
*,int *,int *,class std::list<int,class std::allocator<int> > &)"
(?DetermineDependentRows at Ma28TDependencyDetector@Ipopt@@UAE_NHHHPANPAH1AAV?$
list at HV?$allocator at H@std@@@std@@@Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpMa28TDependencyDetect
or.obj IpOpt
Error 7 error LNK2019: unresolved external symbol
_dmumps_c referenced in function "public: __thiscall
Ipopt::MumpsSolverInterface::MumpsSolverInterface(void)"
(??0MumpsSolverInterface at Ipopt@@QAE at XZ)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpMumpsSolverInterface.
obj IpOpt
Error 8 error LNK2019: unresolved external symbol
_MPI_Comm_rank referenced in function "public: __thiscall
Ipopt::MumpsSolverInterface::MumpsSolverInterface(void)"
(??0MumpsSolverInterface at Ipopt@@QAE at XZ)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpMumpsSolverInterface.
obj IpOpt
Error 9 error LNK2019: unresolved external symbol
_MPI_Init referenced in function "public: __thiscall
Ipopt::MumpsSolverInterface::MumpsSolverInterface(void)"
(??0MumpsSolverInterface at Ipopt@@QAE at XZ)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpMumpsSolverInterface.
obj IpOpt
Error 10 error LNK2019: unresolved external symbol
_MPI_Finalize referenced in function "public: virtual __thiscall
Ipopt::MumpsSolverInterface::~MumpsSolverInterface(void)"
(??1MumpsSolverInterface at Ipopt@@UAE at XZ)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpMumpsSolverInterface.
obj IpOpt
Error 11 error LNK2019: unresolved external symbol _DDOT
referenced in function "double __cdecl Ipopt::IpBlasDdot(int,double const
*,int,double const *,int)" (?IpBlasDdot at Ipopt@@YANHPBNH0H at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 12 error LNK2019: unresolved external symbol _DNRM2
referenced in function "double __cdecl Ipopt::IpBlasDnrm2(int,double const
*,int)" (?IpBlasDnrm2 at Ipopt@@YANHPBNH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 13 error LNK2019: unresolved external symbol _DASUM
referenced in function "double __cdecl Ipopt::IpBlasDasum(int,double const
*,int)" (?IpBlasDasum at Ipopt@@YANHPBNH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 14 error LNK2019: unresolved external symbol _IDAMAX
referenced in function "int __cdecl Ipopt::IpBlasIdamax(int,double const
*,int)" (?IpBlasIdamax at Ipopt@@YAHHPBNH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 15 error LNK2019: unresolved external symbol _DCOPY
referenced in function "void __cdecl Ipopt::IpBlasDcopy(int,double const
*,int,double *,int)" (?IpBlasDcopy at Ipopt@@YAXHPBNHPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 16 error LNK2019: unresolved external symbol _DAXPY
referenced in function "void __cdecl Ipopt::IpBlasDaxpy(int,double,double
const *,int,double *,int)" (?IpBlasDaxpy at Ipopt@@YAXHNPBNHPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 17 error LNK2019: unresolved external symbol _DSCAL
referenced in function "void __cdecl Ipopt::IpBlasDscal(int,double,double
*,int)" (?IpBlasDscal at Ipopt@@YAXHNPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 18 error LNK2019: unresolved external symbol _DGEMV
referenced in function "void __cdecl
Ipopt::IpBlasDgemv(bool,int,int,double,double const *,int,double const
*,int,double,double *,int)" (?IpBlasDgemv at Ipopt@@YAX_NHHNPBNH1HNPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj IpOpt
Error 19 error LNK2019: unresolved external symbol _DSYMV
referenced in function "void __cdecl Ipopt::IpBlasDsymv(int,double,double
const *,int,double const *,int,double,double *,int)"
(?IpBlasDsymv at Ipopt@@YAXHNPBNH0HNPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 20 error LNK2019: unresolved external symbol _DGEMM
referenced in function "void __cdecl
Ipopt::IpBlasDgemm(bool,bool,int,int,int,double,double const *,int,double
const *,int,double,double *,int)"
(?IpBlasDgemm at Ipopt@@YAX_N0HHHNPBNH1HNPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj IpOpt
Error 21 error LNK2019: unresolved external symbol _DSYRK
referenced in function "void __cdecl
Ipopt::IpBlasDsyrk(bool,int,int,double,double const *,int,double,double
*,int)" (?IpBlasDsyrk at Ipopt@@YAX_NHHNPBNHNPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 22 error LNK2019: unresolved external symbol _DTRSM
referenced in function "void __cdecl
Ipopt::IpBlasDtrsm(bool,int,int,double,double const *,int,double *,int)"
(?IpBlasDtrsm at Ipopt@@YAX_NHHNPBNHPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpBlas.obj
IpOpt
Error 23 error LNK2019: unresolved external symbol _DPOTRS
referenced in function "void __cdecl Ipopt::IpLapackDpotrs(int,int,double
const *,int,double *,int)" (?IpLapackDpotrs at Ipopt@@YAXHHPBNHPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpLapack.obj IpOpt
Error 24 error LNK2019: unresolved external symbol _DPOTRF
referenced in function "void __cdecl Ipopt::IpLapackDpotrf(int,double
*,int,int &)" (?IpLapackDpotrf at Ipopt@@YAXHPANHAAH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpLapack.obj IpOpt
Error 25 error LNK2019: unresolved external symbol _DSYEV
referenced in function "void __cdecl Ipopt::IpLapackDsyev(bool,int,double
*,int,double *,int &)" (?IpLapackDsyev at Ipopt@@YAX_NHPANH1AAH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpLapack.obj IpOpt
Error 26 error LNK2019: unresolved external symbol _DGETRF
referenced in function "void __cdecl Ipopt::IpLapackDgetrf(int,double *,int
*,int,int &)" (?IpLapackDgetrf at Ipopt@@YAXHPANPAHHAAH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpLapack.obj IpOpt
Error 27 error LNK2019: unresolved external symbol _DGETRS
referenced in function "void __cdecl Ipopt::IpLapackDgetrs(int,int,double
const *,int,int *,double *,int)" (?IpLapackDgetrs at Ipopt@@YAXHHPBNHPAHPANH at Z)
C:\comp\projects\Ipopt\MSVisualStudio\v8-ifort\IpOpt\IpLapack.obj
IpOpt
Error 28 error LNK1120: 22 unresolved externals
C:\comp\projects\Solver\ipoptCSharp\bin\Debug\IpOpt38.dll IpOpt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110308/351e7d4c/attachment-0001.html
More information about the Ipopt
mailing list