On 11/16/13 5:11 PM, Yaroslav wrote:
I'm trying to create dll. It is template in mono-d plugin. module myclass;class MyClass { //TODO: Enter class code here } export: extern(D): MyClass createMyClass() { return new MyClass(); } ////////////////// Build completed with errors. Compiler output: Building: dshared (Debug) Performing main compilation... Current dictionary: C:\Users\yrybalka\Documents\dshared\dshared dmd.exe -debug -gc "myclass.d" "-IC:\D\dmd2\src\phobos" "-L/IMPLIB:C:\Users\yrybalka\Documents\dshared\dshared\bin\Debug\dshared.lib" "-odobj\Debug" "-ofC:\Users\yrybalka\Documents\dshared\dshared\bin\Debug\dshared.dll" OPTLINK (R) for Win32 Release 8.00.13
Maybe also add -c: -c do not link
