Main Page Namespace List Compound List File List Namespace Members Compound Members

# LEGO MINDSTORMS NXT Driver

### 1.0.2f0

The main.cpp file contains a simple example.

The below commands are the most basic way to build this example. Using an Integrated Development Environment such as Visual Studio or Xcode may be easier.

To build this example on Windows:

cl.exe /I <path to SDK include directory> <path to fantom.lib in SDK> main.cpp

To build this example on Mac OS X 10.4:

gcc-3.3 -I <path to SDK include directory> -framework Fantom -dylib_file Library/Frameworks/VISA.framework/Versions/A/VISA:/Library/Frameworks/VISA.framework/Versions /A/VISA -lstdc++ main.cpp

Note that you will need to have the VISA and NiSpyLog frameworks installed in order to link the example. A development version of NI-VISA, which includes the VISA and NiSpyLog frameworks may be downloaded from National Instruments.

The following design class diagrams may help understand the Fantom API.

© Copyright 2005-2006, National Instruments Corporation. All rights reserved.