Compiling Mil Examples; Running Mil Examples - Matrox Iris GT MIL Installation And Technical Reference

Hide thumbs Also See for Iris GT MIL:
Table of Contents

Advertisement

82 Chapter 7: Creating a Microsoft Windows CE application for Matrox Iris GT

Compiling MIL examples

Prior to executing the compiled examples on your Matrox Iris GT, you must also
copy the images that are stored in the \Program files\Matrox Imaging\Iris
Series\MIL for WinCE\Image folder on your development computer, to the
\USERDISK\MIL\Images folder on your Matrox Iris GT. The images are
necessary for the execution of several of the examples.
During compilation, every example defines the location of its images as
\USERDISK\MIL\Images. This is set in the Milsetup.h file. If you store the images
that are necessary to run MIL examples elsewhere on your Matrox Iris GT, you
must modify the following line in the Milsetup.h file:
#define M_IMAGE_PATH MIL_TEXT("\\UserDisk\\mil\\images\\")
To compile all the MIL examples, start Microsoft Visual Studio (on your
development computer), open the project in the root of the folder, specified
previously, and then compile the project. Once compiled, the executable files are
placed in their respective folders inside the project folder on your development
computer, as specified in the Microsoft Visual Studio configuration.

Running MIL examples

To run the compiled examples on your Matrox Iris GT, transfer the executable
files to the \UserDisk\MIL\Examples folder on your Matrox Iris GT. For details
on transferring files from your development computer to your Matrox Iris GT,
refer to the Manually transferring an application subsection of the Debugging an
application using Microsoft Visual Studio section, earlier in this chapter.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents