Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problems generating JNI libraries
Problems generating JNI libraries [message #1085726] Tue, 13 August 2013 09:23
Nicolas Carre is currently offline Nicolas CarreFriend
Messages: 2
Registered: August 2013
Junior Member
Hello,
I have an old software which use:
libswt-motif-3235.so
swt-win32-3428.dll


For support considerations, I have to find the source code of these 2 binaries.

I found out that these 2 binaries are JNI libraries generated thanks to the sources of :
org.eclipse.swt
and
org.eclipse.swt.motif.solaris.sparc (for the first)
org.eclipse.swt.win32.x86 (for the second)


These 2 plugins are only builders that compile specific elements of org.eclipse.swt

So I downloaded the big eclipse CVS tarball (since I couldn't find these old versions on git repositories)

Then for :
swt-win32-3428.dll
=> I took the 2 files at the tag v3428
libswt-motif-3235.so
=> I took the 2 files at the tag v3235

In order to make sure that the sources are the good ones, I tried to compile the 2 files from source.

I managed to compile the Java sources of org.eclipse.swt.win32.x86 and thus to have a directory with the C source code of swt-win32-3428.dll.
But even though there is now a directory with the C code and the good makefiles, I couldn't compile the swt-win32-3428.dll (either on Linux and on windows)

For libswt-motif-3235.so, I couldn't even compile the Java files ! The builder "build.xml" (at the version 3235) call sub-directories of org.eclipse.swt which appeared only at the version 3720.
(for example : org.eclipse.swt/Eclipse SWT Browser/motif/)

I already tried everything in this page :
http://www.eclipse.org/swt/faq.php#howbuilddll

It seems I can't set a good environment to compile these files. (Though I tried hard !)


Did somebody have the same problem ?
Did I miss a key point in the compilation ?
And lastly, can somebody please give me the clean sources of these 2 binaries?

Sorry to have disturbed you so long,

CARRE Nicolas
ENSIMAG student




Previous Topic:Unwanted shrink of table columns
Next Topic:Column grouping for jface TableViewer
Goto Forum:
  


Current Time: Thu Apr 18 06:40:54 GMT 2024

Powered by FUDForum. Page generated in 0.02079 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top