Fresh install of BCC won't compile SendRS485String

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Fresh install of BCC won't compile SendRS485String

Post 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.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
spillerrec
Posts: 358
Joined: 01 Oct 2010, 06:37
Location: Denmark
Contact:

Re: Fresh install of BCC won't compile SendRS485String

Post by spillerrec »

My best bet is that it is not set to compile for the enhanced firmware.
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Fresh install of BCC won't compile SendRS485String

Post 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.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Fresh install of BCC won't compile SendRS485String

Post by mattallen37 »

Well, ain't that interesting... I changed no settings, and now it compiles (and works) fine. Problem solved I guess.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests