Go Down

Topic: Temp directory location causes crash (Read 746 times) previous topic - next topic

guy yitzhaki


My TEMP directory in Windows was defined in a different drive (g:\) than the one I installed the arduino environment in (c:\).
Every time i tried to upload or compile a script I would get the following message
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Couldn't determine program size: C:\Program Files\arduino-0015\hardware/tools/avr/bin/avr-size: 'G:\Temp\build28812.tmp\Blink.hex': No such file

It took me a while to find out, but changing the TEMP environment variable from g:\temp to c:\temp fixed this issue.


The Clever Monkey

I cannot reproduce this in 0016 by setting TEMP to a place on the T: drive in run.bat and launching the IDE.

If you get a chance, please specify exactly how you are invoking the IDE, and where this environment is changed.

(This is a hint that you don't have to change the system-wide TEMP probably if you hack the run.bat and invoke the IDE from that.)

I yield() for co-routines.

guy yitzhaki

I am using version 0015 on Windows XP.
I had the windows TEMP environment variable set to g:\temp, and did not change run.bat. Arduino is installed on the C: drive.
It did not matter if I invoked arduino.exe directly or through the batch file.

Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview