Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: PhilipBusby on Oct 05, 2018, 02:50 pm

Title: Arduino IDE 1.8.7 fatal error: opening dependency file /dev/null.d:
Post by: PhilipBusby on Oct 05, 2018, 02:50 pm
I am currently using Arduino IDE 1.8.5 and all is working well on Linux mint 19 64bit. I use the IDE for Arduino and for Piduino (Rasp Pi), as it is a very well-made, useful and convenient IDE.

I have installed Arduino IDE 1.8.7 alongside but each time I try to compile a sketch that works, compiles and uploads fine on 1.8.5, I get the error "<built-in>:0:0: fatal error: opening dependency file /dev/null.d: Permission denied"

I have spent a lot of time trying to search the internet forums for others with the same problem, but find very little that helps. It seems to be okay with sudo arduino (run from the root home folder), but then I get lots of issues with "error: 'string' does not name a type", which I do not get with 1.8.5.

I will forget about 1.8.7 for now and use the 1.8.5, as there seems to be no clear advantage with the upgrade for me.

Can I assist anyone interested in resolving this with some troubleshooting feedback?



Title: Re: Arduino IDE 1.8.7 fatal error: opening dependency file /dev/null.d:
Post by: Unreal_2009 on Oct 08, 2018, 08:16 am
Hi
I have problem on windows.
My project compile without problems on 1.8.5

On 1.8.7 I get diffrent errors every time, when I compile project.
I return to 1.8.5 - all ok.

I think this same problems into IDE.
Title: Re: Arduino IDE 1.8.7 fatal error: opening dependency file /dev/null.d:
Post by: DrAzzy on Oct 09, 2018, 07:44 am
OP - what are the permissions on that file? Can you do

ls -l /dev/null*

And post results here?

Hi
I have problem on windows.
My project compile without problems on 1.8.5

On 1.8.7 I get diffrent errors every time, when I compile project.
I return to 1.8.5 - all ok.

I think this same problems into IDE.
1.8.7 works fine for me, post the full text of any and all errors (always do this when pisting a technical questions, anywhere!) so that we can assist you.

For future reference, you should have posted in a new thread (do not go post a new thread, as that would violate rules against crossposting). The only similarity between your problem and OP's problem is that it happened on the same version. Youre using windows, while his problem is a very linuxy issue.

Both of you: use code tags when posting error messages
Title: Re: Arduino IDE 1.8.7 fatal error: opening dependency file /dev/null.d:
Post by: PhilipBusby on Oct 22, 2018, 01:21 pm
DrAzzy, Apologies for the delay, but I was not auto-notified of your reply.

Code: [Select]

ls -l /dev/null*
crw-rw-rw- 1 root root 1, 3 Oct 17 14:11 /dev/null