Setting up your compiler – ProSoft Technology MVI69-ADMNET User Manual

Page 16

Advertising
background image

Setting Up Your Development Environment

MVI-ADMNET ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module with Ethernet

Page 16 of 122

ProSoft Technology, Inc.

February 20, 2013

3.1

Setting Up Your Compiler

There are some important compiler settings that must be set in order to
successfully compile an application for the MVI platform. The following topics
describe the setup procedures for each of the supported compilers.

3.1.1 Configuring Digital Mars C++ 8.49

The following procedure allows you to successfully build the sample ADM code
supplied by ProSoft Technology using Digital Mars C++ 8.49. After verifying that
the sample code can be successfully compiled and built, you can modify the
sample code to work with your application.

Note: This procedure assumes that you have successfully installed Digital Mars C++ 8.49 on your
workstation.

Downloading the Sample Program

The sample code files are located in the ADM_TOOL_MVI.ZIP file. This zip file is
available from the CD-ROM shipped with your system or from the
www.prosoft-technology.com web site. When you unzip the file, you will find the
sample code files in \ADM_TOOL_MVI\SAMPLES\.

Important: The sample code and libraries in the 1756-MVI-Samples folder are not compatible with,
and are not supported for, the Digital Mars compiler.

Building an Existing Digital Mars C++ 8.49 ADM Project

1 Start Digital Mars C++ 8.49, and then click Project

Open from the Main

Menu.

2 From the Folders field, navigate to the folder that contains the project

(C:\ADM_TOOL_MVI\SAMPLES\

…).

3 In the File Name field, click on the project name (56adm-si.prj).

Advertising