On compiling to an AVR device you may get an error message like this.
ERROR: Can not launch process: The system cannot find the file specified.
Completed compilation, return = 255
C:\Program Files (x86)\Flowcode 6\compilers\avr\batchfiles\avra.bat reported error code 255
The problem could be caused by a lack of a working 8.3 file path to the AVR compiler which means the AVR compiler cannot be found.
The 8.3 file path is by default switched on by Windows but may be disabled by optimisation software such as System Mechanic or similar.
Fix 1: The Easy Way
- Re-enable 8dot3 in registry (no need for restart - see notes below).
- Uninstall Flowcode using the Programs Control Panel.
- Delete flowcode installation directory (Important, do not skip this step).
- Re-install Flowcode.
Fix 2: The Quick Way
- Re-enable 8dot3 in registry (no need for restart- see notes below).
- Copy the flowcode install directory.
- Delete original flowcode install directory (Important, do not skip this step).
- Rename copy back to original.
Enabling 8dot3 in registry
Warning - before following these instructions the Windows registry is key to the working operation of your operating system. Do not make any changes to the Windows registry unless you know what your doing.
- You will need to be logged in with administrator permissions
- Press Windows Key + R on your keyboard and a Run dialogue should appear
- Type in Regedit and press the Ok button
- Click Yes on the warning dialogue
- Using the registry editor browse to the following location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
- Double click on the NtfsDisable8dot3NameCreation key
- Change the value to 0 and click Ok
- Exit the registry editor