Vizard 8 » Reference » Vizard SDK » Using Visual Studio
8.1

Using Visual Studio

Vizard is built using the Visual Studio 2019 compiler. All plug-ins must be built with the same compiler in order to properly interface with the Vizard and OpenSceneGraph binaries.

Creating a Visual Studio Project

The first step in creating a plug-in is to create a new Visual Studio 2019 project. Open Visual Studio 2019 and follow these steps:

Once the project is created, you will need to add a class that will be the main interface between your plug-in and Vizard:

Visual Studio Project Settings

Before compiling your project for the first time, you will need to modify some settings in order for your plug-in to work with Vizard.

General:

Output Directory: Set the location you want the compiled plugin to be output

 

Advanced:

Target File Extension: .dle

 

C/C++:

General:

Additional Include Directories: Add the location of the Vizard SDK include directory ( /bin/Include ).

Code Generation:

Runtime Library: Multi-threaded DLL

 

Linker:

General:

Additional Library Directories: Add the location of the Vizard SDK lib directory ( /bin/Libs ).

Input:

Additional Dependencies: Add any OpenSceneGraph libraries your project will be using

Manifest File:

Generate Manifest: No