Error 42: Symbol Undefined...
bobef
be at lessequal_dontspam.com
Sat Dec 30 23:21:57 PST 2006
Oh man. OK. Here is my command line to build rulesPlayer. Modify it for
your needs.
dmd ..\core.d app.d common.d console.d playlist.d config.d player.def
player.d ..\thirdparty\lib\process.d ..\thirdparty\lib\pipestream.d
-ofplayer.exe -I..\thirdparty -I..\..\ -version=OLE_COM -version=DRAG_DROP
-I are import paths
-the versions are needed if you going to use DND inside DWT
-of is the output file
the rest are source files
and I have these inside my source (you can supply them on the command
line if you prefer)
pragma(lib,"advapi32.lib");
pragma(lib,"comctl32.lib");
pragma(lib,"gdi32.lib");
pragma(lib,"shell32.lib");
pragma(lib,"comdlg32.lib");
pragma(lib,"ole32.lib");
pragma(lib,"uuid.lib");
pragma(lib,"..\\thirdparty\\dwt\\dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\dwtextra.lib");
pragma(lib,"..\\thirdparty\\dwt\\user32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\imm32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\shell32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\msimg32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\gdi32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\kernel32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\usp10_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\olepro32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\oleaut32_dwt.lib");
pragma(lib,"..\\thirdparty\\dwt\\oleacc_dwt.lib");
By the way you can try the build utility (bud on dsource or something
leka that). It simplifies the build process, i.e. you don't have to
manually supply all the source files and libraries (I am not sure about
the libraries though).
More information about the Digitalmars-d-dwt
mailing list