Page 1 of 1

Fresh install of BCC won't compile SendRS485String

Posted: 22 Nov 2011, 23:03
by mattallen37
I just installed the latest official release of BCC on an "older" Win XP machine, and then installed the latest test release over it. I have the drivers working fine (I can connect and communicate with the NXT through USB). I went through and set all the preferences to how they are on my main computer. I can properly compile several programs; however, it's complaining about me using SendRS485String. Here is the error list:

Code: Select all

# Error: Undefined Identifier SendRS485String
File "C:\Documents and Settings\Compaq_Owner\My Documents\Dropbox\computer sharing\Lego\Bricx CC\MyLib\My DI WIFI RS485.nxc" ; line 4
#    SendRS485String(
#----------------------------------------------------------
# Error: ';' expected
File "C:\Documents and Settings\Compaq_Owner\My Documents\Dropbox\computer sharing\Lego\Bricx CC\MyLib\My DI WIFI RS485.nxc" ; line 4
#    SendRS485String(S
#----------------------------------------------------------
The exact program compiles fine on the other computer though.

Oh, and it does highlight the syntax properly, and the function is in the templates list.

Re: Fresh install of BCC won't compile SendRS485String

Posted: 22 Nov 2011, 23:26
by spillerrec
My best bet is that it is not set to compile for the enhanced firmware.

Re: Fresh install of BCC won't compile SendRS485String

Posted: 22 Nov 2011, 23:52
by mattallen37
The checkbox for Enhanced firmware is definitely checked, as are the boxes for internal compiler, NXT 2.0 compatible firmware, and automatic firmware version.

Re: Fresh install of BCC won't compile SendRS485String

Posted: 23 Nov 2011, 04:58
by mattallen37
Well, ain't that interesting... I changed no settings, and now it compiles (and works) fine. Problem solved I guess.