# Getting aggravated with DC

**URL:** <https://forums.digi.com/t/getting-aggravated-with-dc/10384>\
**Category:** Rabbit\
**Created:** [September 24, 2009, 8:21pm UTC](https://forums.digi.com/t/getting-aggravated-with-dc/10384 "2009-09-24T20:21:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonH](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@RonH](https://forums.digi.com/u/RonH)\
**Post date:** [September 24, 2009, 8:21pm UTC](https://forums.digi.com/t/getting-aggravated-with-dc/10384/1 "2009-09-24T20:21:24Z")

</div>

I have 1 C file and many Lib files. In the C file I have on line 20:

```auto
#define SC_TYPE 25

```

and on line 442:

```auto
#use "RCM3000.lib"

```

In the RCM3000.Lib file I have (Line 36):

```auto
#if SC_TYPE == 25
extern char LCDShadow;
#define LCDPort 0xC000
#define KEYPort 0xE000
#endif

```

As you can see the #use is well after the #define and yet I still get this error:

```auto
line 36 : ERROR RCM3000.LIB : SC_TYPE is out of scope/ not declared.

```

Did I do something stupid? Why am I getting this error?

Ron
