Lycia apps don't run: 'link.exe failed with exit code 1123'

LYCIA


Problem

On attempt to launch a Lycia app, the following exception is thrown:


“C:\Program Files\Microsoft Visual Studio 10.0\VC\\bin\link.exe failed with exit code 1123”

Solution

This error can appear after installing Visual Studio 2012 side-by-side (SXS) with Visual Studio 2010 RTM or after installing .Net Framework 4.5 on a machine with Visual Studio 2010. See LNK1123 error for additional details.

Workaround 1
Upgrade Visual Studio 2010 RTM to VS 2010 SP1

Workaround 2
Make Lycia3 use MinGW tools (http://www.mingw.org/) which are included into Lycia3 distribution.
Add QX_NATIVE_LINKER=MINGW variable to %LYCIA_DIR%\LyciaStudio\etc\env.properties and inet.env configuration files.
Restart LyciaStudio and rebuild your applications.