Writing a Player driver

From The Player Project

Jump to: navigation, search
(Building the shared library)
Line 188: Line 188:
</pre>
</pre>
-
The build directory should now contain exampledriver.so built from the C++ source. Note that if your plugin driver file is in a separate directory than your Player configuration file, you may have to edit the config file to reflect the path to the plugin.  If you would like to customize the build scripts for your driver,  
+
The build directory should now contain exampledriver.so built from the C++ source. Note that if your plugin driver file is in a separate directory than your Player configuration file, you may have to edit the config file to reflect the path to the plugin.  The above example assumes you're using the CMakeLists.txt from the example driver directory.  If you would like to customize the build scripts for your driver, you may want to reference [[Compiling Player 3 clients and plugins]].
CMake is the preferred method for building Player plugins, but plugin drivers are also easy to build manually from the command line. To skip the CMake steps and manually build a shared object, try:
CMake is the preferred method for building Player plugins, but plugin drivers are also easy to build manually from the command line. To skip the CMake steps and manually build a shared object, try:

Revision as of 23:55, 30 January 2011

Personal tools