Version 5 (modified by jeroens, 7 years ago) (diff)

--

Running Ecopath 6 Solution

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. Start Visual Studio or Visual Basic Express.
  4. Open the file [Ecopath_dev]\Ecopath6\Sources\EwE6.sln where [Ecopath_dev] is where you downloaded the sources from SVN. Note: if you are using Visual Basic Express, you will get a message saying that solution folders are not compatible; ignore this message.

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. In the Solution Explorer panel (by default shown on the right side in the development environment), browse to the Project Scientific Interface.
  2. Right click on Scientific Interface > Set as Startup Project. This will tell the compiler that the EwE application starts by launching the Scientific Interface project.
  3. In the Solution Explorer (right-hand side by default), 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.