Sponsors of Wiimoteproject.com
ecanvas.ca
Pages: [1]
  Print  
Author Topic: Troubles with motej  (Read 536 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +1/-0
Posts: 14
Offline Offline
View Profile Email
« on: August 05, 2009, 11:56:17 AM »

I've been messing around with motej for a few days but could not get the sample code to compile. The problem is when I try to import -

import motej.demos.

The compiler can not find the demo library.

I have imported the motej-extras-0.9-bin.zip and motej-library-0.9-bin.zip.

Here is the link to the library downloads. http://sourceforge.net/projects/motej/files/

Here where the problem is, when i download the the motej-demos-0.9-src.zip, there are no jar files.

Has anyone had this problem? Where did the jar files go?

BTW: When I try to import anything else it works fine e.g. - import motej.Mote;
Logged
*
Karma: +1/-0
Posts: 14
Offline Offline
View Profile Email
« Reply #1 on: August 10, 2009, 11:33:02 AM »

Looks like i found the problem. I was unaware that the import statement that was bringing in the demos library was not referring to a jar file but classes with in folders the code was in and because my folder structure had one extra lvl of folders it was not able to find the demo methods.

I changed this - import java.motej.demos.common.SimpleMoteFinder;

to this - import main.java.motej.demos.common.SimpleMoteFinder;

Now i need to solve this problem of connecting, Winstock no supported.....
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Clicky Web Analytics