[Coco] Drivewire on an original Raspberry Pi

coco at jechar.ca coco at jechar.ca
Tue Feb 1 09:30:42 EST 2022


Sounds good. Where/When can we download the results ?

On 2022-02-01 08:21, Walter Zambotti wrote:
> I managed to locate the correct 4.2.3.4 eclipse-swt java source which
> came with the C source for the system libraries (libswt-*.so).
> 
> I modified the build script to recognize ARM64 (aarch64) and built the
> required .so libraries.
> 
> And ........
> 
> they work.
> 
> I now have DriveWire4 working on both Ubuntu 20.04 (or later) on both
> AMD64 (X86) and ARM64.
> 
> Regards
> 
> Walter
> 
> On 31/1/22 17:02, Walter Zambotti wrote:
>> Bill
>> 
>> I thought I wrote a long explanation and sent it earlier today 
>> regarding how DW4UI.jar works internally with the libs.  Maybe I sent 
>> the message to you rather than the list.
>> 
>> So I will make this a short reply.
>> 
>> Basically DW4UI.jar comes bundled with the SWT GTKjava jar library 
>> inside of it.  When it is run for the first time it installs the 
>> relevant swtgtk.so to the ~/.swt/lib/linux/XarchitectureX directory.
>> 
>> DW4 comes with SWTGTK libs for OSX, Win32, Win64, Linux32, Linux64 and 
>> LinuxArm.
>> 
>> However the LinuxArm library appears incomplete and doesn't specify if 
>> it is 32 or 64 bit.
>> 
>> It specifically requires version 4234 of libswt-gtk-4234.so, 
>> libswt-pi-gtk-4234.so, libswt-awt-gtk-4234.so, 
>> libswt-cairo-gtk-4234.so.
>> 
>> If it doesn't find these it automatically installs them to the above 
>> mentioned directory.  On my ARM64 Ubuntu system it was installing the 
>> IntelLinux64 version. Probably because several years ago there was 
>> only one ARM architecture on Linux. Now there are two and it probably 
>> doesn't recognize the newer and different architecture names.
>> 
>> I haven't tried installing it on a PI which is usually 32 bit!
>> 
>> Regards
>> 
>> Walter
>> 
>> On 31/1/22 03:35, Bill Gunshannon wrote:
>>> 
>>> Anybody have any success doing this?  I have tried DriveWrie4 which
>>> dies because of a lack of swt-gtk Libs. (may try doing it UI-less
>>> but that is less than desirable)  And I can't even begin to 
>>> understand
>>> how one gets pyDrivewire to run. (Never used Python before.  Not
>>> impressed so far!!)
>>> 
>>> Any kind of useful tutorials for this.  Nothing I have found on the
>>> web so far has been any help at all.
>>> 
>>> bill
>>> 
>> 


More information about the Coco mailing list