Hi,
I recently configured my windows 10 laptop, to rebuild the SWT binaries.
I started with the steps from list item 6 on https://www.eclipse.org/swt/jnigen.php
Unfortunately these steps don’t work without these additional measures:
- Start you eclipse with an environment variable JAVA_HOME pointing to your JDK folder. I created a cmd file with this contents:
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45
start c:\eclipse\eclipse.exe
- Create a folder C:\BUILD\swt-builddir (it has to be exactly named like this)
- Install the “Windows Server 2003 SP1 SDK” (https://www.microsoft.com/en-us/download/details.aspx?id=6510 ) to “C:\BUILD\swt-builddir\MSSDKs\Windows Server 2003 SP1 SDK”
- Make a symbolic link “C:\BUILD\swt-builddir\ibm-sdk50-x86_64”, that points to your JDK (alternatively install the JDK to that folder)
Inside that folder you have the folders bin, include, jre…
- Copy the file jawt.lib from the lib subfolder to jre\bin
With these steps I managed to build the SWT binaries locally, but without the XULRUNNER. That build step had an error, but as I didn’t need those artefacts, I was happy.
Have fun,
Conrad
Von: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Leo Ufimtsev
Gesendet: Donnerstag, 16. Februar 2017 18:55
An: Eclipse Platform SWT component developers list.
Betreff: Re: [platform-swt-dev] Documentation how to build the SWT natives for Windows?
I would also like to know how to setup a windows box. A few hints / pointers into the right direction would be helpful.
I develop mostly on Linux, but I sometimes need to test patches on Windows for cross-platform code.
On Mon, Feb 13, 2017 at 4:34 AM, Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
Friends of SWT,
can you please point me to the documentation how to build the SWT
natives for Windows?
https://wiki.eclipse.org/SWT/Developer_Guide seems outdated and does
not contain instructions for building the natives.
Best regards, Lars
--
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
--