Last modified 4 years ago Last modified on 2013-02-05 08:38:18

Loading and compiling the Ecopath source code

In order to load the EwE6 sources into Visual Studio or Visual Basic express, please follow these instructions:

  1. If you have not done so, install a development environment such as Visual Studio or Visual Basic Express.
  2. If you have not done so, please obtain the EwE6 sources from SVN.
  3. If you are using Visual Studio 2010, open the file [Ecopath_dev]\Ecopath6\Sources\EwE6.sln, where [Ecopath_dev] is where you downloaded the sources from SVN.
  4. If you are using Visual Basic Express, open the file [Ecopath_dev]\Ecopath6\Sources\EwE6_vbexpress.sln, where [Ecopath_dev] is where you downloaded the sources from SVN.

Your development environment will now load the EwE sources.

If you are loading the sources into your development environment for the first time, you will need to make two adjustments to make sure that the sources compile and run well:

  1. Make sure the Solution Explorer panel is visible (by default shown on the right side in the development environment). You can make the Solution Explorer appear via Menu > View > Other Windows > Solution Explorer (in Visual Studio) or via Menu > View > Other Windows > Solution Explorer (in Visual Basic Express).
  2. In the Solution Explorer panel browse to the Project Scientific Interface.
  3. Right click on Scientific Interface > Set as Startup Project. The EwE6 application can only be started by launching the Scientific Interface project.
  4. In the Solution Explorer, right-click the Solution, and select Configuration Manager.... Change the Active Solution Platform from 'Any CPU' to 'x86' if you have the 32-bit version of the Access database drivers installed, or 'x64' if you are using the 64-bit version the Access drivers. This is unfortunately necessary to help Windows find the Microsoft Access database drivers on your system when EwE6 needs them.

Now you are ready to compile and run the EwE sources:

  1. Hit F5 to compile and run the application.