source: branches/dev/Windows/VisualStudio_dotNET/README @ 510

Last change on this file since 510 was 475, checked in by andreasw, 15 years ago

made compile (also in Release version) for latest version

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1These directories contain the Visual Studio version of Ipopt.  They
2have been created with Microsoft Visual C++ .NET 2003 and Intel
3Fortran 8.0.
4
5Before opening the files in your Visual Studio, first make sure that
6the following third party source files are present (after you got them
7from netlib and Harwell):
8
9trunk/Extern/HSL/ma27ad.f
10trunk/Extern/HSL/mc19ad.f
11trunk/Extern/blas/dasum.f
12trunk/Extern/blas/daxpy.f
13trunk/Extern/blas/dcopy.f
14trunk/Extern/blas/ddot.f
15trunk/Extern/blas/dnrm2.f
16trunk/Extern/blas/dscal.f
17trunk/Extern/blas/idamax.f
18
19Then open the solution file
20
21trunk/Windows/VisualStudio_dotNET/Ipopt/Ipopt.sln
22
23This solution compiles both a Fortran example problem and a C++
24example problem. You should be able to base your development on one of
25these examples.
26
27
28Here are some helpful notes if you are building a new C++ project.
29- The project type used for the example was "Win32 Console" (Not .NET Console!)
30
31- Precompiled headers were turned off:
32        Project Properties | C/C++ | Precompiled-Headers | Create/Use Precompiled Headers = "Not Using Precompiled Headers"
33
34- You will need to add the include directories to your C++ project
35        you can copy these from the Ipopt project:
36        Project Properties | C/C++ | General | Additional Include Directories = <copy from Ipopt>
37
38- You must ensure that the run-time libraries between FortranLinAlg and the C++ project are
39        compatible. Look at the "Mixed Language" area of the Intel Fortran compiler html help for
40        a table of compatible settings (look for something about consistent run-time libraries in help)
41        These are set by:
42        1) for the C++ project
43                Project Properties | C/C++ | Code Generation | Runtime Library
44        2) for the Fortran project
45                FortranLinAlg Properties | Fortran | Libraries | Runtime Library
46
47- You must add the Fortran compiler LIB path to the C++ project
48        This is something like "C:\Program Files\Intel\Fortran\compiler80\IA32\LIB":
49        Project Properties | Linker | General | Additional Library Directories = <LIB path>
50               
Note: See TracBrowser for help on using the repository browser.