Ask a questionAsk a question
 

Answeratls.lib, a.k.a.: "fatal error LNK1104"

  • Friday, October 30, 2009 2:46 AMXadrieth Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, for some reason now, when I go to compile any program in MSVC9 I get this error:

    1>LINK : fatal error LNK1104: cannot open file 'atls.lib'

    I did a search of my whole harddrive and it revealed nothing, is it possible this was deleted, and if so, how do I fix it?

Answers

  • Monday, November 02, 2009 11:04 PMXadrieth Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I got my copy of MSVC9 working now.

    I had wipe all my Visual Studio data, and then had to do a re-install.
    • Marked As Answer byXadrieth Monday, November 02, 2009 11:04 PM
    •  

All Replies

  • Friday, October 30, 2009 6:25 AMLlelan D. Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The library alts.lib is part of the ATL library, which is not included in Visual C++ Express.

    See MCVC++ Express Edition Linker problem .

  • Friday, October 30, 2009 11:32 AMXadrieth Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Ummm...

    But I now get this error if I edit any of my other projects and then try to compile them.
  • Monday, November 02, 2009 5:04 AMNancy ShaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Xadrieth,

    MFC and ATL are not included with Visual C++ Express. MFC and ATL will be included in Visual Studio Standard and above editions. If you want to use alts.lib, you’d better change your VS version.

     

    ->But I now get this error if I edit any of my other projects and then try to compile them.

     

    Have you tested other projects type such as Win32 console, and get the same issue?

     

    Best Regards,

    Nancy


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Monday, November 02, 2009 11:04 PMXadrieth Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    I got my copy of MSVC9 working now.

    I had wipe all my Visual Studio data, and then had to do a re-install.
    • Marked As Answer byXadrieth Monday, November 02, 2009 11:04 PM
    •