Wiimote Project

General Wiimote and Technology => Programmers Den => Topic started by: KE7JLM on August 05, 2009, 10:56:17 AM

Title: Troubles with motej
Post by: KE7JLM on August 05, 2009, 10: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;
Title: Re: Troubles with motej
Post by: KE7JLM on August 10, 2009, 10: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.....