[C.CC USERS] Compiler erorrs.

Dave Gilmore gilmorenator at gmail.com
Fri Sep 10 07:12:03 BST 2010


Sam,

Are you also including the Plumbing Module?

Its not clear from your code snippet if you are,

Let us know either way,

Thanks,

Dave
> I am trying to compile the following for the RCX:
>
> #INCLUDE "LCD.occ"
>
> PROC debug.man ()
> WHILE TRUE
> SEQ
> ?? Sleeping causes us to deschedule
> sleep (500 * MILLIS)
> lcd.set.segment (LCD.STANDING)
> sleep (500 * MILLIS)
> lcd.set.segment (LCD.WALKING)
> :
>
> PROC main (CHAN BYTE kyb?, scr!, err!)
> PAR
> debug.man()
> foo()
> :
>
>
> I keep getting the following error:
>
> Compiling: test-lcd.occ
> 8 errors found in source
> Error-occ21-test-lcd.occ(1)- cannot open file "LCD.occ"
> Error-occ21-test-lcd.occ(6)- invalid process
> Error-occ21-test-lcd.occ(7)- sleep is not declared
> Error-occ21-test-lcd.occ(7)- MILLIS is not declared
> Error-occ21-test-lcd.occ(8)- lcd.set.segment is not declared
> Error-occ21-test-lcd.occ(8)- LCD.STANDING is not declared
> Error-occ21-test-lcd.occ(10)- LCD.WALKING is not declared
> Error-occ21-test-lcd.occ(16)- foo is not declared
> Warning-occ21-test-lcd.occ(13)- parameter err is not used
> Warning-occ21-test-lcd.occ(13)- parameter scr is not used
> Warning-occ21-test-lcd.occ(13)- parameter kyb is not used
> foo undeclared on "test-lcd.occ" line 16
> LCD.WALKING undeclared on "test-lcd.occ" line 10
> LCD.STANDING undeclared on "test-lcd.occ" line 8
> lcd.set.segment undeclared on "test-lcd.occ" lines 8,10
> MILLIS undeclared on "test-lcd.occ" lines 7,9
> sleep undeclared on "test-lcd.occ" lines 7,9
> skroc: Could not compile test-lcd.occ.
> skroc exited with error code: 1
>
> I tried changing the library path using the plugin manager but that
> only causes more issues. Downloading the firmware to the RCX works
> fine. Current IDE version is v0.9.1 for windows. Am I missing
> something?
>
> Thanks,
>
> --samd
>
> _______________________________________________
> users mailing list
> users at concurrency.cc
> http://unhosting.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.concurrency.cc/pipermail/users/attachments/20100910/f1a71a10/attachment.htm>


More information about the users mailing list