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
Karisvingen 14c
NO-7040 Trondheim
NORWAY
-------------
http://www.stud.ntnu.no/~christh
On 11. mar. 2006, at 20.27, Andy Belk wrote:
The problem is with the driver, right? I have limited experience
with such, but I'm willing to try, as long as someone can give me
more details on the exact nature of the problem.
I believe most of what needs doing is to merge all the changes made
to libirtrcx to make it somewhat more platform-independent (I think
Juergen added a new header and moved some declarations into there,
and I made the OSX code as close to the Linux version as I could)
into libirtrcx2. Then it should build for OS X (and hopefully the
other platforms too ;-).
Just so you all know, I'm going to be pretty busy until the end of
the month (my university is arranging a Mindstorm competition,
where the actual event is the 29th). I'll probably be giving most
of my attention to the competition until then. After that, I'll be
able to concentrate more on leJOS 3 for Mac.
My vote is to try to get an OS X version working since it is pretty
close. It's worth thinking whether we have the right abstraction
level if it's so difficult to keep the versions in sync.
BTW Has anyone else contacted SourceForge to find out why their OS
X machines have been down so long ? I asked and did not get a
response (other than "yes, we know").
Cheers,
Andy
-------------------------------------------------------
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
-------------------------------------------------------
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