VR-Forces 4.1.1 Class Documentation
18.3 - Rebuilding the VR-Forces Application

Table of Contents

This section describes how to use the sample project files supplied with VR-Forces to rebuild the VR-Forces application.

Note
When you build a VR-Forces application, you must build it against the version of VR-Link that your version of VR-Forces was built against. Please see VR-Forces Release Notes for your version of VR-Forces, to find out which version of VR-Link to use.

18.3.1 Building the VR-Forces Application for Windows

Please review the prerequisites for building VR-Forces in 18.2 - Prerequisites for Building VR-Forces Applications.

The sample project files create the release and debug executables vrfSimUser.exe and vrfSimUserDebug.exe. This naming convention ensures that you do not inadvertently overwrite the executables supplied by MAK. The files are placed in the . directory.

The . directory contains MS VC++ project files. The project file contains release and debug configurations. The projects are:

The sample projects enable you to add additional features using the VR-Forces toolkit. You can extend the existing VR-Forces simulation back-end. You can also use the sample project as a starting point for building your own application that uses components of the VR-Forces toolkit.

Note
In order to run HLA versions, you need to have your computer configured to find the proper RTI DLLs. Refer to "Installing an RTI", in VR-Forces Users Guide.

18.3.2 Building the VR-Forces Application for Linux

To build VR-Forces for Linux, you must have VR-Link. If you building an HLA application, you must also have a supported RTI.

Before building the VR-Forces application, set the following environment variabls:

You must be in the ./appsrc/vrfSim directory to build vrfSim. By default, make will build all the VR-Forces configurations. You can prevent certain configurations from being built by specifying NO_DIS=1, NO_HLA1516=1 or NO_HLA13=1 on your command line.

Follow a comparable process to build vrfGui.

Note
VR-Forces applications must run from the proper ./bin directory. The files can be copied to their correct ./bin directories automatically by using the "install" target on the make line.

[<< Prerequisites for Building VR-Forces Applications] [Home] [Top of Page] [Building an Application that Uses the VR-Forces Toolkit >>]


Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)