- Mar 14, 2011 9:25:24 AM (3 years ago)
- 2 edited
r1872 r1931 2 2 (which can be accessed via the IpoptApplicationFactory method). By linking against the import library 3 3 you can use these DLLs from within any code compiled using the MSVC 2005/2008 and/or Intel compilers for the 4 Windows platform. Note that the C++ interface to Ipopt provided by these DLLs will not work with MSVC 2010, 5 due to some incompatibility between the generated code for C++ sources by MSVC 2005/2008 and MSVC 2010. 4 Windows platform. 5 6 Note that the C++ interface to Ipopt provided by these DLLs will not work with MSVC 2010, due to some 7 incompatibility between the generated code for C++ sources by MSVC 2005/2008 and MSVC 2010. However, 8 to support compiling Ipopt using MSVC 2010, all Fortran-based sources are split off into a separate DLL 9 named IpoptFSS92.dll. Hence, if you have MSVC 2010 but do not have a Fortran compiler, you can convert 10 just the Ipopt project proper to VS 2010 (skipping all the other projects), and simply link it against the 11 import library of IpoptFSS92.dll. This will give you a working Ipopt version for MSVC 2010 without the 12 need to possess a Fortran 90 compiler. 6 13 7 14 The DLLs include the MUMPS solver by default, and can dynamically load a separate DLL containing the 8 15 (non-free) HSL solvers if available. If you have access to the HSL solver sources, you have to compile 9 16 the DLL for the HSL solvers yourself. The v8-ifort directory in the Ipopt source distribution contains 10 a separate libhsl project to create the DLL using the Intel fortran compiler. All DLLs are statically 11 linked, so do not require any other runtime DLLs. 17 a separate libhsl project to create the DLL using the Intel fortran compiler. Alternatively, you can compile 18 libhsl using f2c and C++ (cf. the v8 MSVC project). All DLLs are statically linked, so do not require any 19 other runtime DLLs. 12 20 13 21 To use these DLLs, you need to add the include\coin directory to the include path of your MSVC project. … … 26 34 Author: Marcel Roelofs (Marcel.Roelofs at aimms.com) 27 35 Paragon Decision Technology 28 20 09-10-25 36 20
r1676 r1931 59 59 Alternatively, you can use the C interface of Ipopt which is also exported by the DLL. 60 60 61 61 To compile using MSVC 2010 using just the MSVC 2010 C++ compiler, you can follow the instructions 62 in Ipopt\README-LIB.txt. 63 62 64 Author: Marcel Roelofs (Marcel.Roelofs at aimms.com) 63 65 Paragon Decision Technology
Note: See TracChangeset for help on using the changeset viewer.