Compile Optimized Code FAILED

These compiler outputs indicate a failure to compile the optimized C code:

Controller:PLC:> ------------- Compile Optimized Code -------------
Controller:PLC:> Compiling "C" code.
Controller:PLC:> ERROR: Failed to compile PLC "C" code.
Controller:PLC:> Compilation log:
...
Controller:PLC:> End of Compilation log
Controller:PLC:> Compile Time Elapsed:1.37 seconds
Controller:PLC:> ------------- Compile Optimized Code FAILED -------------

Error Correction

Locate and send these items to Kollmorgen technical support:

  • The compilation log (copied from the compiler output).
  • All the files in this directory:
    %LOCALAPPDATA%\Kollmorgen\KAS\Project\Controller\PLC\CC\
    • The path can be copied and pasted into the Windows Explorer address bar.

To help us resolve the error with you, call or e-mail the appropriate support for your region.

Kollmorgen technical support contact information can be found here:

See Also