Difference between revisions of "Dotnet"

From RobotinoWiki
(Building the Openrobotino API2 DotNet Wrapper)
(Building the wrapper)
Line 8: Line 8:
 
# Check out the package from [http://svn.openrobotino.org/wrapper/trunk/ here].
 
# Check out the package from [http://svn.openrobotino.org/wrapper/trunk/ here].
 
# Build and install the package using CMake. Note: the CMake looks for the Openrobotino API2 package using the environment variable. Make sure it is set.
 
# Build and install the package using CMake. Note: the CMake looks for the Openrobotino API2 package using the environment variable. Make sure it is set.
# If built using a 32Bit compiler then set the evironment variable '''ROBOTINOAPI2WRAPPER32_DIR''' pointing to the install folder. For example: <pre>ROBOTINOAPI2WRAPPER32_DIR=C:\Projects\_builds\build_openrobotino_api2_wrapper\install</pre> or if built using a 64Bit compiler then set an environment variable '''ROBOTINOAPI2WRAPPER64_DIR''' instead.
+
# Once built and installed, then set the evironment variable '''ROBOTINOAPI2WRAPPER32_DIR''' (if built using a 32Bit compiler ) pointing to the install folder. For example: <pre>ROBOTINOAPI2WRAPPER32_DIR=C:\Projects\_builds\build_openrobotino_api2_wrapper\install</pre> or if built using a 64Bit compiler then set an environment variable '''ROBOTINOAPI2WRAPPER64_DIR''' instead.
 
# Done!
 
# Done!
  
 
=== Examples ===
 
=== Examples ===
 
A few examples (CS projects) have been provided and can be found under the examples/dotnet folder.
 
A few examples (CS projects) have been provided and can be found under the examples/dotnet folder.

Revision as of 11:40, 30 November 2011

Building the Openrobotino API2 DotNet Wrapper

Prerequisites

  1. Firstly, make sure you have the Openrobotino API2 installed on your system. You also have the option of building it from the sources which can be done from here. If building from the sources, DO NOT forget to set the environment variables pointing to the install folder.
  2. Swigwin - Download the swigwin package from here and unzip it in the C:\Program Files or (C:\Program Files (x86) for 64Bit Windows) directory.

Building the wrapper

  1. Check out the package from here.
  2. Build and install the package using CMake. Note: the CMake looks for the Openrobotino API2 package using the environment variable. Make sure it is set.
  3. Once built and installed, then set the evironment variable ROBOTINOAPI2WRAPPER32_DIR (if built using a 32Bit compiler ) pointing to the install folder. For example:
    ROBOTINOAPI2WRAPPER32_DIR=C:\Projects\_builds\build_openrobotino_api2_wrapper\install
    or if built using a 64Bit compiler then set an environment variable ROBOTINOAPI2WRAPPER64_DIR instead.
  4. Done!

Examples

A few examples (CS projects) have been provided and can be found under the examples/dotnet folder.