Echelon Neuron User Manual

Page 100

Advertising
background image

92

Neuron C Compiler Errors (NCC)

NCC#

Description

390

Could not open the LmRF catalog [NCC#390]

LmRF catalog means L

ON

M

ARK

Resource File catalog. The Neuron C

compiler for the Neuron C Version 2 language uses the L

ON

M

ARK

Device

Resource Files, including the catalog, and files such as *.FPT, *.TYP, and

so on. The Neuron C compiler uses the services of the Device Resource

Files API (DRF API) to provide access to the Resource Files. If the DRF
API cannot open the catalog, the compiler prints this message and stops the

compilation.

Possible causes of this problem are a missing \Lonworks\Types folder, or a

missing or corrupt catalog file (LDRF.CAT which is stored in the Types

folder). Perform a catalog refresh to correct this situation. LonMaker will
automatically refresh the catalog, or create one if necessary, when it starts

up; as will the NodeBuilder Resource Editor.

391

Use of NVT or CPT 'float' type requires prior #include <float.h> [NCC#391]

Whenever a Network Variable Type (NVT) or a Configuration Property

Type (CPT) is retrieved from a L

ON

M

ARK

Device Resource File by the

Neuron C Compiler, and the type contains one or more references to the

float_type definition, the compiler checks that the floating point support

include file has been included in the compilation. Add #include <float.h> to
the beginning of your program.

392

Use of NVT or CPT 'quad' type requires prior #include <s32.h> [NCC#392]

Whenever a Network Variable Type (NVT) or a Configuration Property

Type (CPT) is retrieved from a L

ON

M

ARK

Device Resource File by the

Neuron C Compiler, and the type contains one or more references to the

s32_type definition, the compiler checks that the signed 32-bit support

include file has been included in the compilation.

This situation will occur when using any CPT of inherited type, because

prior to inheritance of type information, all inherited type CPTs default to

the 32-bit signed type s32_type. This is true even if the program does not
use any signed 32-bit data or arithmetic support functions. Add #include

<s32.h> to the beginning of your program.

Advertising