Pages: [1]   Go Down
Author Topic: Temp directory location causes crash  (Read 622 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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.

Thanks,
Guy
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.)

Logged

I yield() for co-routines.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Pages: [1]   Go Up
Jump to: