Linking Errors

2003-09-10
2012-12-08
  • Nobody/Anonymous

    Hi,
    I am trying to execute the workspaces. For all the workspaces i am getting linking errors. I didn't change any settings. For example, when i tried to build the "Console" workspace, i am getting the following linking errors. Any help on this is appreciated.

    Generating Code...
    Linking...
    Main.obj : error LNK2001: unresolved external symbol _IID_IArchiveOpenVolumeCallback
    OpenCallback.obj : error LNK2001: unresolved external symbol _IID_IStreamGetSize
    Update.obj : error LNK2001: unresolved external symbol _IID_IStreamGetSize
    UpdateCallback.obj : error LNK2001: unresolved external symbol _IID_IStreamGetSize
    OpenArchive.obj : error LNK2001: unresolved external symbol _IID_IStreamGetSize
    Update.obj : error LNK2001: unresolved external symbol _IID_ISetProperties
    Update.obj : error LNK2001: unresolved external symbol _IID_IOutArchive
    C:\UTIL\7z.exe : fatal error LNK1120: 4 unresolved externals
    Error executing link.exe.
    Creating browse info file...

    7z.exe - 8 error(s), 1 warning(s)

     
    • Nobody/Anonymous

      I get the same thing.. I have the latest SDK and Visual c++ 6.

       
      • Nobody/Anonymous

        I get the same thing.. I have the latest SDK and Visual c++ 6

         
    • Nobody/Anonymous

      This is due to an uninstantiaded GUID.. this link can give you some insight, although it's about DirectX it's still the same problem
      http://www2.arnes.si/~krsava1/GUIDE.HTM

       
    • Nobody/Anonymous

      2 things:
      1.  Sorry about the spelling of uninstantiated, I was sucking cock when I wrote that so a typo was inevitable.
      2.  Interestingly enough commenting the line  "#define INITGUID" in dllexports.cpp fixes the problem for me.. Sounds like a possible Microsoft bug.

      Hope this helps.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks