I am working on a very interesting project including robot vision, where I decided on the LEGO Mindstorms NXT platform for the hardware part. I used this for cost and ease of use considerations, but the later assumption may be wrong. When I ever get to have things working I will be more than happy to share my findings on this forum.
My PC is a 64 bit Windows 7 machine, a configuration that is quite common those days, so I guess other have seen the same problem.
It has been suggested in the book "Intelligence Unleashed -- Creating LEGO NXT Robots with Java" to only use the 32 bit version of eclipse. So this was what I installed after succesfully installing leJOS NXT (only comes in a 32 bit version). I also installed the 32 bit JDK 7. I can succesfully flash the NXT brick with leJOS firmware from the command prompt. I can also compile Java programs and flash them from the command prompt. But I need Eclipse as an IDE.
Now for the problem: when using the 32 bit version of eclipse it is not possible to install the leJOS NXJ plugin. I get the error:
Unable to read repository at http://lejos.sourceforge.net/tools/ecli ... ontent.xml
The strange things is that with the 64 bit version of eclipse the install of leJOS NXJ plugin works as does building programs. But here the flashing of java programs to the NXT brick does not work and you get the following:
Program has been linked successfully
leJOS NXJ> Failed to load USB comms driver: library jfantom.dll (windows/x86_64) was not found in C:\java\lejos_nxj\lib\pc\native
leJOS NXJ> Failed to find any NXTs
leJOS NXJ> Failed to connect to any NXT
No NXT found - is it switched on and plugged in (for USB)?
uploading the program failed with exit status 1
Of course the similar thing can not be tested on the 32 bit version of eclipse because it will need the plugin.
All in all this makes it impossible to use the eclipse IDE on modern PC's.
Any one got a clue ?
I think LEGO should be more into this stuff, it not just kids who still play with LEGO