Christian,

there is a Release.Howto file in the /release folder that explains how to run the ant file for different platforms. Apart from the leJOSUnit part, the steps apply also to a plain build on the root (instead of packing a release).

Regards,
  Matthias


Christian Holden wrote:
I've been looking at it all day, and I'm rather confused. Bear in mind that this is the first time I have actually looked at the source code for any part of leJOS. Also, I don't generally use make (or ant), since I usually employ some sort of IDE for anything other than trivial applications.

So far, I have tried to look at the code, the makefiles, and tweaking them. This got me exactly nowhere. Problem number 1 is that I can't find any sort of top-level documentation. For instance, I cannot find out what is the difference between libirtrcx and libirtrcx2 or between libjirtrcx and libjirtrcx2. Some sort of clarification here would be rather useful.

What I've done today has mostly been trying to find out where and what the problem is. So I just started a terminal, changed directory and typed "make". This didn't work, of course, but I didn't expect it too either. I got the following error when it was trying to build libjirtrcx:


irctrcx.libs:
[exec] gcc -c -o /Users/christh/lejos/src/comms/libirtrcx/ rcx_comm_cygwin.o -O2 -mno-cygwin -D__CYGWIN32__ "/Users/christh/ lejos/src/comms/libirtrcx/rcx_comm_cygwin.c"
     [exec] cc1: error: invalid option 'no-cygwin'
[exec] make[1]: *** [/Users/christh/lejos/src/comms/libirtrcx/ rcx_comm_cygwin.o] Error 1

BUILD FAILED
/Users/christh/lejos/build.xml:95: exec returned: 2


I can't find out where to look for the cause of this error. I obviously tried looking in the build.xml file indicated, but that didn't shed much light on the situation.

I think I need some help to get started on this.

Christian Holden


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to