![]() |
VR-Vantage 1.4.1 API Class Documentation
|
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
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 >>]