=Objectives and Overview= ---- This page describes how to run the dvc example applications. First you must [[Compiling_DVC_source_code|compile DVC source code]]. [[toc]] =Running example applications= ---- A number of example applications are compiled with DVC. For a description of each one, see [[DVC example applications]]. ===Windows=== Open the DVC solution for Visual Studio (//DVC.sln).// The //solution explorer// window lists all dvc libraries and applications. Right-click on the name of the example application you would like to run and selection the option //Set as StartUp Project//. Next go to the Debug menu and choose //Start Without Debugging//, or just hit Ctrl+F5. ===Linux=== Execute the dvc example applications as you would execute any other program. You will find the example applications in the bin directory located in the dvc build directory (the directory where you ran //ccmake//). Note, by default CMake builds binaries using [[http://en.wikipedia.org/wiki/Rpath_%28linking%29|rpath]], which means full paths to dvc libraries are embedded in the binary. If you change the location of these libraries (by moving the build directory, for example) the executables will not run. ===Example 3=== Example 3 is the main, graphical dvc application. It loads 10 scenes described in ex3_prefs.xml (located in share/dvc/xml/scenes). You can toggle play/pause by pressing 'p'. You can reload the scene by pressing 'l'. You can interact with bodies with the mouse. You can change scenes using the number keys 0-9. If you built with SDL_ttf, pressing 'c' will toggle the console printed on the screen.