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
Is there a basic set of switches needed that are mentioned somewhere,
e.g. how do you build new projects?
I've not access to my developer computer now but I think you need to do
the following:
* link to the base library
* link to the swt library
* "link" the resource folder, i.e. use the -J switch
So I'm guessing you missed: link to the base library.
Btw, are the long names necessary to ease porting of Java to D?
--
/Jacob Carlborg