Need Help on Compiling DWT2 in XP

Frank Benoit keinfarbton at googlemail.com
Wed Apr 1 05:27:28 PDT 2009


Sam Hu schrieb:
> Add the 'imp' dir to your import search path:
>> -IC:\Project\dwt2\imp
>> Add the 'lib' dir to your library search path:
>> -L+C:\Project\dwt2\lib\
>> Add all needed libraries to the commandline:
>> -L+advapi32.lib
>> -L+comctl32.lib
>> -L+comdlg32.lib
>> -L+gdi32.lib
>> -L+kernel32.lib
>> -L+shell32.lib
>> -L+ole32.lib
>> -L+oleaut32.lib
>> -L+olepro32.lib
>> -L+oleacc.lib
>> -L+user32.lib
>> -L+usp10.lib
>> -L+msimg32.lib
>> -L+opengl32.lib
>> -L+shlwapi.lib
>> -L+zlib.lib
>> -L+dwt-base.lib
>> -L+org.eclipse.swt.win32.win32.x86.lib
>>
> Any shorthand that can save this so long -I and -L everytime?Thanks.

Yeah, it should be possible. I tried the pragma(lib, ..) but
unfortunately it seems to me, there is a dmd bug.

http://d.puremagic.com/issues/show_bug.cgi?id=2776

Frank





More information about the Digitalmars-d-dwt mailing list