build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed
Daniel Kozak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Aug 26 00:21:55 PDT 2016
Dne 26.8.2016 v 09:12 magicdmer via Digitalmars-d-learn napsal(a):
> On Friday, 26 August 2016 at 07:00:37 UTC, rikki cattermole wrote:
>> Okay so your Windows language is non-english, that'll be it.
>> You need to be looking into the encoding that Visual Studio is using
>> for you files. Something to do with the BOM or hasn't even been set
>> to utf-8 isn't quite right.
>>
>> If in doubt, convert via e.g. notepad++ and see what VS does.
>
> it's utf8 without bom, i don't select the "MS-COFF" all is right,i
> can build it successfully.
can you try it from console?
something like dmd.exe -m32mscoff your_d_file.d
More information about the Digitalmars-d-learn
mailing list