|
|
|
|
|
|
|
|
|
|
|
Re: problem building SWT JNI [message #664629 is a reply to message #664449] |
Mon, 11 April 2011 13:07 |
|
Lakshmi P Shanmugam Messages: 279 Registered: July 2009 Location: India |
Senior Member |
|
|
It is not clear from your previous post what is the error/problem you are seeing.
So, here are the steps:
1) If you have installed the SWT Tools, the JNIGenerator runs in the background and automatically generates the JNI code as and when required. The required C files are generated.
2) SWT uses "Windows Server 2003 SP1 SDK" to compile its Windows libraries. After you have it on your system, modify %MSSDK% in build.bat to point to it. Also set the correct path for vsvars32.bat in build.bat.
3) Find the build.xml under tasks/build.xml. Choose "Run As -> Ant Build...". Select the JRE tab, and check "Run in the same JRE as the workspace". Select the target in the targets tab based on your platform (for eg: build_win32_x86)
Lakshmi P Shanmugam
|
|
|
Powered by
FUDForum. Page generated in 0.04033 seconds