Moderators: roger, 99jonathan, imaqine
traisen wrote:Hi
I am want to compile the Lejos code from SourceForge.
traisen wrote:I am using the info in last chapter of the Bagnall lejos book Intelligence Unleashed
traisen wrote:Which versions of Java - 1.6 or 1.7 do you recommend?
traisen wrote:What C++ compiler and version to you recommend?
traisen wrote:I have the gcc that runs under cygwin for PC side and for arm side arm-elf-g++ (3.4?).
traisen wrote:Anything else? Using Eclipse (win32) SVN is installed, but had a 1.7 and 1.6 choice for SVN Kit mentioned in the book.
traisen wrote:Hi
I am want to compile the Lejos code from SourceForge.
skoehler wrote:All of it? For example: you want to rebuild the leJOS firmware?.
traisen wrote:I am using the info in last chapter of the Bagnall lejos book Intelligence Unleashed
skoehler wrote:I don't know that book. We don't get free copies of it, unfortunately.
What information does he give in the last chapter?.
traisen wrote:Which versions of Java - 1.6 or 1.7 do you recommend?
skoehler wrote:The leJOS you can download is built with Java 1.5 and a custom arm-elf toolchain.
traisen wrote:What C++ compiler and version to you recommend?
skoehler wrote:I'm not sure what you are talking about. You only need a C++ compiler for some of the JNI wrappers.
To build them all, you need OS X Snow Leopard with Xcode, Windows with the Windows SDK or mingw-w64 installed, and on Linux you need g++ that comes with your distribution.
traisen wrote:I have the gcc that runs under cygwin for PC side and for arm side arm-elf-g++ (3.4?).
skoehler wrote:For the firmware, you should build an arm-elf toolchain with the script in the nxtvm directory. The script will also take of applying two fixes for gcc's floating point emulation. Under cygwin, there are at least 4 gccs available:
- gcc 3.x for building cygwin executables
- gcc 4.x for building cygwin executables
- mingw.org gcc for building 32bit native windows executables
- mingw-w64 toolchains for building 32bit and 64bit native windows executables.
To build the windows JNI wrapper, you only need to install the 32bit mingw-w64 toolchain.
I'm don't remember, whether I tested the bash script in the nxtvm directory for building the arm toolchain under cygwin. But if it runs fine, building the firmware under cygwin should not be a problem..
traisen wrote:Anything else? Using Eclipse (win32) SVN is installed, but had a 1.7 and 1.6 choice for SVN Kit mentioned in the book.
skoehler wrote:If you're planning to use any subversion 1.7 based client (like tortoise, not sure what subversion versions cygwin provides) or not.
If you plan to do so, install SVNKit 1.7. Otherwise, install SVNKit 1.3 (1.6 never existed, as far as I am aware). But you don't need Eclipse to build leJOS. Just run ant in the release subdirectory. It should take care of building everything Java related. Whether you use Java 1.6 or 1.7 doesn't really matter. But the version you use, is the minimum requirement for everybody who uses your build. The ant script does not rebuild the firmware or the JNI wrappers. It just takes the binaries in the snapshot subdirectory.
traisen wrote:traisen wrote:Which versions of Java - 1.6 or 1.7 do you recommend?skoehler wrote:The leJOS you can download is built with Java 1.5 and a custom arm-elf toolchain.
Trunk is 9.1.3.x - right?
traisen wrote:Thanks I will look at exactly where the line is closer then. The online course will not just use sensors/ motors, but also ask the students to create an interface for a sensor. Something simple like some A/D sensor as example, but then at advanced level ask them to do it for other sensors.
Users browsing this forum: No registered users and 2 guests