VR-Vantage 1.4.1 API Class Documentation
Building VR-Vantage on Linux

To compile using gcc, you must add several parts to the compile line.

To compile a source file to an object, add the include directories:

 -I vrvDir/include -I $(MAK_VRLDIR)/include

To link an application or shared library, add the linking directories:

 -L vrvDir/lib -L $(MAK_VRLDIR)/lib

Add any other libraries that were used, for example:

 -lvrvCore -lvrvUtil -lvlutil
Note:
You must list libraries in order of decreasing dependency. Since vrvUtil depends on vlutil it must come first in the list.

When compiling with VR-Link protocol-specific libraries, the normal VR-Link compiling rules apply.

In Linux, to build an application, run 'make' from the directory of the application you want to build. The examples directory has a makefile that builds all of the examples

[<< Building for Windows] [Running Applications and Examples >>]



Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)