-
Notifications
You must be signed in to change notification settings - Fork 52
Using BioGears
Once you have a working solution of BioGears on Visual Studios, the first step is to begin building the code. Start by making sure you are running in "Release" and then click build or hit the F7 button on your keyboard. Upon completion, the final output message should indicate 0 failed builds.
After building the general BioGears code, it is important to also build specific components of the solution. Each component can be built by finding the proper file in the solution tab on Visual Studio, right clicking on it, and selecting the "build" option. The file that need to be built are as follows:
- Stage in the "CMakePredefinedTargets" folder
- gen-states in the "Java" folder
- scenario_driver in the "Binaries" folder
Right click on scenario_driver again and select "Set as Startup Project." Now, when you run code, you will default to running the BioGears scenario driver. In order to select the appropriate scenario you wish to run, right click on "scenario_driver" yet again and select "Properties." Click on "Configuration Properties->Debugging" and make sure:
- The working directory points to the appropriate folder where your scenarios folder is located
- Default will be in core/build/runtime
- The Command Arguments line points to the correct scenario file you wish to run with the .xml extension
Once settings are correct, apply them and select "OK." Now you can run visual studios and let the scenario play out.