Compiler

SUMMARY

The compilers are used to create the files <Projektname>.DO and <Projektname>.DIS, needed for the runtime.

CONTENTS

  1. Introduction
  2. Compiling a Project

Introduction

To make a new project loadable, or the modifications of an existing one active for the runtime, the actual version must be compiled.
With the Object Compiler "AbvObjectCompiler" the <Project Name>.DO file is created.
With the Graphic Compiler "AbvGraphicCompiler" the <Project Name>.DIS file is created.

Calling the Program
The Program is called from the AvET.

Via the icon the Object Compiler, via the Graphic Compiler is called.

Note:
The procedure and course in both cases is identical, it merely differs in file names and potentially returned Errors/Warnings/Remarks.

Compiling a Project

Prior of running the compiler the project is checked for

modification

Checking for modifications made via an Abv-Engineering program

On calling the compiler all running Abv-Engineering programs are closed.
(AbvBrowser - AbvLayout - AbvPicEdit - AbvMls - AbvDoArch)

If a modification is not saved yet, the program halts with the information "Closing program: <ProgramName>" shown in the message pane of the program window.

If the user does not respond by saving or discarding the modifications, after a timeout a message like

+ERROR: Could not close program, please close program.....

is outputted on the message pane of the programm window und the dialog window for compiling is opened.
The compiler may be started without saving the modifications. (Remind – in that case modifications are not adapted for runtime.)

Checking for modifications of any AvET-File

If any AvET-File was modified the following Dialog Window is opened.



By running Object generation type also any modifications are adapted.

Note:
As long as modifications are not saved via the procedure is repeated any time the compiler is called.



Dialog Window for Compiling



Input Fields
Search in: Defines the target folder for the file.
File Name: Defines the File Namen.
File Typ: Either *.do or *.dis file.
Buttons
Open: Starts compiling.
Reset: Closes the Dialog Window.
When compiling is finished the following message is shown in the message pane:

All done:
Total errors: n    Total warnings: n    Total remarks: n

If the number of errors is not 0 the *.do, *.dis file is not created. If there are warnings, the *.do, *.dis file is created, but for the reported areas you may experience restricted functionality.

The messages shown in the message pane are also written to the GrfxCpNt.log, respectively ObjCpNt.log in the target folder too.

Errors/Warnings when compiling

Informationen about Errors/Warnings you will finde under:

GrfxCmpl__Messages      und      ObjCmpl_Messages