Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
August 26, 2016 build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
I use VisualD create a windows dll project , and select the "Use MS-COFF object file fromat for win32" . when i build it ,it display the error follow ,look at the picture I use dmd 2.071.1 https://s14.postimg.org/a4wcv74ct/image.png |
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to magicdmer | That image is too small, so I can't see it :)
Dne 26.8.2016 v 08:26 magicdmer via Digitalmars-d-learn napsal(a):
> I use VisualD create a windows dll project , and select the "Use MS-COFF object file fromat for win32" . when i build it ,it display the error follow ,look at the picture
>
> I use dmd 2.071.1
>
> https://s14.postimg.org/a4wcv74ct/image.png
|
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Friday, 26 August 2016 at 06:38:01 UTC, Daniel Kozak wrote: > That image is too small, so I can't see it :) > Dne 26.8.2016 v 08:26 magicdmer via Digitalmars-d-learn napsal(a): >> I use VisualD create a windows dll project , and select the "Use MS-COFF object file fromat for win32" . when i build it ,it display the error follow ,look at the picture >> >> I use dmd 2.071.1 >> >> https://s14.postimg.org/a4wcv74ct/image.png sorry,i post wrong url,look follow url, can you tell me how to modify the thread https://s14.postimg.io/cyzi8n6j5/image.png |
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to magicdmer | On 26/08/2016 6:52 PM, magicdmer wrote:
> On Friday, 26 August 2016 at 06:38:01 UTC, Daniel Kozak wrote:
>> That image is too small, so I can't see it :)
>> Dne 26.8.2016 v 08:26 magicdmer via Digitalmars-d-learn napsal(a):
>>> I use VisualD create a windows dll project , and select the "Use
>>> MS-COFF object file fromat for win32" . when i build it ,it display
>>> the error follow ,look at the picture
>>>
>>> I use dmd 2.071.1
>>>
>>> https://s14.postimg.org/a4wcv74ct/image.png
>
> sorry,i post wrong url,look follow url, can you tell me how to modify
> the thread
>
> https://s14.postimg.io/cyzi8n6j5/image.png
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.
|
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | 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.
|
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to magicdmer | Dne 26.8.2016 v 08:52 magicdmer via Digitalmars-d-learn napsal(a): > On Friday, 26 August 2016 at 06:38:01 UTC, Daniel Kozak wrote: >> That image is too small, so I can't see it :) >> Dne 26.8.2016 v 08:26 magicdmer via Digitalmars-d-learn napsal(a): >>> I use VisualD create a windows dll project , and select the "Use MS-COFF object file fromat for win32" . when i build it ,it display the error follow ,look at the picture >>> >>> I use dmd 2.071.1 >>> >>> https://s14.postimg.org/a4wcv74ct/image.png > > sorry,i post wrong url,look follow url, can you tell me how to modify the thread > > https://s14.postimg.io/cyzi8n6j5/image.png You can't modify the thread: http://forum.dlang.org/help#about |
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to magicdmer | 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
|
August 26, 2016 Re: build dll project use VisualD with the "Use MS-COFF object file..." setting selected failed | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozak | On Friday, 26 August 2016 at 07:21:55 UTC, Daniel Kozak wrote:
> Dne 26.8.2016 v 09:12 magicdmer via Digitalmars-d-learn can you try it from console?
> something like dmd.exe -m32mscoff your_d_file.d
same error , it's only dll project like this. console project can build successfully with
the "MS-COFF" setting.
|
Copyright © 1999-2021 by the D Language Foundation