-
Notifications
You must be signed in to change notification settings - Fork 3
Building Route Checker from source
-
In order to build Route Checker you will need to download or clone the source for OpenBVE from the GitHub site. Route Checker needs to be built in OpenBVE's build environment because it shares most of the same dependencies as Route Viewer. While you can manipulate things to build it separately, you will still need a number of libraries and other dependencies that the build env. for OpenBVE is configured to provide automatically. See the OpenBVE site's page about Getting the source for more details about build requirements.
-
Download or clone Route Checker's source from this site.
-
Extract OpenBVE's source to a directory if you didn't clone it. You should have the following directory structure:
.
├── assets
│ ├── Compatibility
│ ├── Controls
│ ├── Dependencies
│ ├── Flags
│ ├── In-game
│ ├── Languages
│ ├── Menu
│ └── RouteViewer
├── dependencies
├── documentation
│ ├── Examples
│ ├── HTML
│ └── Images
├── graphics
├── licenses
├── macinstaller
├── source
│ ├── ObjectBender
│ ├── ObjectViewer
│ ├── OpenBVE
│ ├── OpenBveApi
│ ├── Plugins
│ ├── RouteViewer
│ └── TrainEditor
└── wininstaller
-
Extract Route Checker's source to a directory if you didn't clone it.
-
Copy Route Checker's source into the directory containing OpenBVE's source. The structures are the same intentionally so that Route Checker's source will end up in the right places.
.
├── assets
│ ├── Compatibility
│ ├── Controls
│ ├── Dependencies
│ ├── Flags
│ ├── In-game
│ ├── Languages
│ ├── Menu
│ ├── RouteChecker <--
│ └── RouteViewer
├── dependencies
├── documentation
│ ├── Examples
│ ├── HTML
│ └── Images
├── graphics
├── licenses
├── macinstaller
├── source
│ ├── ObjectBender
│ ├── ObjectViewer
│ ├── OpenBVE
│ ├── OpenBveApi
│ ├── Plugins
│ ├── RouteChecker <--
│ ├── RouteViewer
│ └── TrainEditor
└── wininstaller
-
Open
source/routechecker/RouteChecker.csproj
in your IDE and build the project. -
Optionally, and this is probably the better option, you can open OpenBVE's solution in your IDE, right click on the solution in the project list, select
Add->Existing Project...
, add Route Checker's project to the solution and build it from there. -
The OpenBVE build is configured to copy binaries and dependencies to /bin_debug and /bin_release so you should run the applications from there.