Building the OpenDA native source code (Windows)
This page describes how to build the OpenDA native source code on Windows computers. The source code is located in the
directory of the source distribution. The Microsoft Visual Studio solution file is located in the costa_vs2008 subdirectory.
Note about Microsoft Visual Studio and Intel Fortran
The solution and project files provided are for the following version of the development environment:
When you use a newer version of mentioned tools, it is fine to upgrade these files to your version.
In case you are working from the repository, please do not check in these upgraded files.
- vs2008 and Fortran 11.0 or higher
- Load the solution file core\native\costa_vs2008\costa_core_vs2008.sln into Microsoft Visual Studio.
- Select whether you want to perform a Release build or a Debug build.
- Start the build process with Build All.
Note about the Intel Fortran library path
In some installations of Microsoft Visual Studio, the Intel Fortran library path is not added to the library path during the installation (and integration) of Intel Visual Fortran.
This will lead to a link error about one or more missing libraries, usually ifconsol.lib,
If this is the case, solve it by either:
- Add the lib directory of the Intel Fortran installation to the global library path in Microsoft Visual Studio. This path can be found in Visual Studio menu path Tools/Options/Projects and Solutions/VC++ Directories/Library files.
- Add the lib directory of the Intel Fortran installation to the project's (probably libcta's) library path. This path can be found the project's right-click menu: path Properties/Configuration Properties/Linker/General/Additional Library Directories.