Error writing file a *.obj

Stanislav Blinov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 10 14:56:47 PDT 2017


On Tuesday, 9 May 2017 at 14:08:48 UTC, bachmeier wrote:
> On Tuesday, 9 May 2017 at 02:33:06 UTC, dummy wrote:
>> On Monday, 8 May 2017 at 12:29:27 UTC, bachmeier wrote:
>>> On Monday, 8 May 2017 at 11:56:10 UTC, dummy wrote:
>>>
>>>>> When i build some application with dub, i got this error:
>>>
>>> I'm not a Dub user, but it has its own forum, so you might 
>>> want to try there:
>>> http://forum.rejectedsoftware.com/
>>
>> Oh, i solve this problem my self...
>> because, the 'Ransomeware Protection' feature of Bitdefender 
>> InternetSecurity 2017.
>> dub and dmd working pretty when i turn off this feature.
>>
>> Very sorry for noob question :/
>
> This is not really a noob question. Since it affects new users 
> trying to run a Hello World program, I wonder if it would be 
> worthwhile to add that information to the error message. Most 
> of the people trying out D will simply give up and blame the 
> language.

It's not. It's not the job of the linker to go rummaging through 
all user's processes to find out which one is locking the file, 
even if it's possible.
What could be improved is the clarity, i.e. "Could not write the 
file due to it being locked for writing/lack of space on 
device/etc.".


More information about the Digitalmars-d-learn mailing list