DWT2

Jacob Carlborg doob at me.com
Wed Apr 6 00:06:32 PDT 2011


On 2011-04-06 01:35, Andrej Mitrovic wrote:
> Could you tell me what switches I need to build a simple example from scratch?
>
> So far I know I probably need these:
> libs dir: \dwt2\lib
> libs dir: \dwt2\org.eclipse.swt.win32.win32.x86\lib
> imports: \dwt2\base\src
> imports: \dwt2\org.eclipse.swt.win32.win32.x86\src
> -J switch: \dwt2\org.eclipse.swt.win32.win32.x86\res
> lib: org.eclipse.swt.win32.win32.x86.lib
>
> I still have linker errors for missing symbols referenced by
> eclipse.swt.win32.win32.x86.lib, e.g.:
> missing symbol: _D4java4lang6String7indexOfFAxaaZi

Are you linking with the base library?

> Is there a basic set of switches needed that are mentioned somewhere,
> e.g. how do you build new projects?
>
> Btw, are the long names necessary to ease porting of Java to D?

Yes, that's the reason. "org.eclipse.swt" was previously "dwt" but it 
required an extra step in the porting process.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list