Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Mike
I'm new to Shimmer (and Linux).I'm trying to compile and run the
HelloWorldC.nc:28: `Blueooth' undeclared (first use in this function)
HelloWorldC.nc:28: (Each undeclared identifier is reported only once
HelloWorldC.nc:28: for each function it appears in.)
HelloWorldC.nc:33: implicit declaration of function `senddata'
HelloWorldC.nc:33: only tasks can be posted
HelloWorldC.nc:37: interface has no command or event named `led2on'
HelloWorldC.nc:44: interface has no command or event named `led2off'
HelloWorldC.nc:47: `DataAvailable' is not in interface `Bluetooth'
HelloWorldC.nc:17: `Bluetooth.dataAvailable' not implemented
make: *** [exe0] Error 1
I'm at a loss on how to proceed
BTW I'm using the compressex linux image running in VMWare player from the
live dist disk.
My files are attached
_______________________________________________
Shimmer-users mailing list
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
--f46d041826ea22e3d004ca1f7187
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Scott,<br><br>As Eric mentioned you don&#39;t have HelloWorldC.nc attached, so it&#39;s difficult to tell what exactly is going wrong.<br><br>As a sanity check i tried running the HelloWorld app as in the manual (copied and pasted, so it&#39;s word for word). I did find two typos, but both are easily fixed. In HelloWorldC.nc, line 14 is:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">boot ready;<br></blockquote>but  it should be:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
bool ready;<br></blockquote><div>And in the Makefile the first line is:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">COMPONENT=TestBluetoothAppC<br>
</blockquote><div>but it shoudl be:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">COMPONENT=HelloWorldAppC</blockquote><div>(I see you&#39;ve fixed this second error in your attached Makefile).<br>
<br>

Loading...