Can't compile C++ : missing "alts.lib"

Hi,

since the last beta (build 1808360) I can’t compile. I followed the new introduction PDF and updated VS 2012 Express from the update 2 to the update 3. Any project (created from this beta) get the same compilation log (I tried with the Platformer sample for example). The major error being a missing file named “atls.lib”.

" LINK : fatal error LNK1104: cannot open file ‘atls.lib’ "

Any help is appreciated, I’m a bit blocked since I can’t compile. A lot of my work done on the beta 3 is crashing the editor because of the missing classes (my character blueprint for example).

I tried to search a bit on the Internet for a solution but there is not tremendous information about this file missing.


1>------ Skipped Build: Project: EXIL (EXIL\EXIL), Configuration: BuiltWithUnrealBuildTool Win32 ------
1>Project not selected to build for this solution configuration 
2>------ Build started: Project: EXIL (Build and Run\EXIL), Configuration: Development x64 ------
3>------ Build started: Project: EXILEditor, Configuration: Development x64 ------
4>------ Build started: Project: EXILUncooked, Configuration: Development x64 ------
2>  Parsing headers for EXIL
2>  Code generation finished for EXIL and took 2,273
2>  Module.EXIL.cpp
2>  link.exe EXIL.exe
2>  RocketLib.lib(framing.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2>LINK : fatal error LNK1104: cannot open file 'atls.lib'
2>  -------- End Detailed Actions Stats -----------------------------------------------------------
2>ERROR : UBT error : Failed to produce item: C:\Rocket\Projects\EXIL\Binaries\Win64\EXIL.exe
2>  Cumulative action seconds (8 processors): 0,00 building projects, 12,32 compiling, 0,00 creating app bundles, 0,00 generating debug info, 4,88 linking, 0,00 other
2>  UBT execution time: 23,58 seconds
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""C:\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" EXIL Win64 Development "C:\Rocket\Projects\EXIL\EXIL.uproject" -rocket" exited with code 1.
3>  Parsing headers for EXILEditor
3>  Code generation finished for EXILEditor and took 1,895
3>  rc.exe PCLaunch.rc
3>  Module.EXIL.cpp
3>  link.exe RocketEditor-EXIL.dll
3>     Creating library C:\Rocket\Projects\EXIL\Intermediate/BuildData/EXIL\Win64\Development\RocketEditor-EXIL.lib and object C:\Rocket\Projects\EXIL\Intermediate/BuildData/EXIL\Win64\Development\RocketEditor-EXIL.exp
3>  -------- End Detailed Actions Stats -----------------------------------------------------------
3>  Cumulative action seconds (8 processors): 0,00 building projects, 13,13 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,70 linking, 0,00 other
3>  UBT execution time: 19,28 seconds
4>  Parsing headers for EXILUncooked
4>  Code generation finished for EXILUncooked and took 1,9
4>  Target is up to date.
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

Maybe the answer is a bug in the build version (1808360)?
I just posted a similar problem related with LINK : fatal error LNK1104: cannot open file ‘atls.lib’ error.
and I’m using the build 1808360, too.

Link to my question:
link text

There is a bug in building the Game target with only VS2012 Express installed.
The game target is for generating a monolithic build of your game that requires cooked data, so it is not required at the moment… (It should have been removed from the Beta but was overlooked.)

You should be building the Editor target and running with ‘-game’ when you want to run the game itself.

If you are a stickler for building the solution, you should remove the EXIL project from the Build And Run folder in the solution.

I just tried your suggestions and I was able to compile a new project ! Thanks ! :slight_smile:

I just wanted to add for the record that if like me you don’t compile via Visual Studio, you can disable the “Cooked” target by renaming the file “MyProject.Target.cs” inside the “MyProject\Source\MyProject” folder.

Then you just have to launch the compilation with :

"C:\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" MyProject Win64 Development "C:\Rocket\Projects\MyProject\MyProject.uproject" -rocket

Downloading this OK | Oculus fixed the problem for me.

I got this error after installing VS 2013 Express, when just VS 2012 Pro was installed, compilation was working. Also I’m using 4.4 branch from github as of Sept 3rd 2014.

Things I tried that didn’t work:

  • Building Editor Target - I was already building the editor target
  • Installing the Windows Driver Kit to get ATL libraries. - I already had VS 2012 Pro, but I tried installing this anyway, didn’t work.

Hello,

This is a question from the beta version of the engine. We are marking this answered for tracking purposes. If you are experiencing an issue similar to this please post a new question.

Thank you.