Bug 5987 – mydll sample doesn't compile

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2011-05-12T07:15:00Z
Last change time
2011-05-12T14:41:48Z
Assigned to
nobody
Creator
simendsjo

Comments

Comment #0 by simendsjo — 2011-05-12T07:15:05Z
dll.d(5): Error: module dll_helper is in file 'core\dll_helper.d' which cannot b e read C:\d\dmd-2.053beta\samples\d\mydll>..\..\..\windows\bin\dmd -ofmydll.dll -L/IMPL IB mydll.d dll.d mydll.def dll.d(5): Error: module dll_helper is in file 'core\dll_helper.d' which cannot b e read import path[0] = C:\d\dmd-2.053beta\windows\bin\..\..\src\phobos import path[1] = C:\d\dmd-2.053beta\windows\bin\..\..\src\druntime\import C:\d\dmd-2.053beta\samples\d\mydll>..\..\..\windows\bin\dmd test.d mydll.lib OPTLINK (R) for Win32 Release 8.00.12 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html mydll.lib Warning 2: File Not Found mydll.lib C:\d\dmd-2.053beta\windows\bin\..\lib\phobos.lib(dmain2) Error 42: Symbol Undefined _D5mydll8dllprintFZv --- errorlevel 1
Comment #1 by sean — 2011-05-12T14:28:22Z
I believe this is already fixed in the 2.053 beta.
Comment #2 by bugzilla — 2011-05-12T14:41:48Z
Fixed now.