locked
Unresolved Externals error while creating App Package

    Question

  • Hello,

    I have the game I wrote on top of the Direct3D sprite sample. Some time after I decided to add sounds, so I had to add 'xaudio2.lib' to the linker. Solutions compiles and runs fine in both Debug and Preview. But I can't create an App Package, I got Unresolved Externals linker error, the same if I would not add 'xaudio2.lib' to the linker.

    So the question is:

    Where do I have to setup Linker for creating App Package ? 

    P.S. Could be something with VC++ Directories ?

    Thank you,

    Alex

    EDIT: App Package creates for x86 - Release (Any CPU), but fails for x64 and ARM. But it seems than it creates with some error, it passed WACK with warnings. If I run WACK on Compiled solution it passes without any.

    Tuesday, July 31, 2012 6:32 PM

Answers

  • Yes, it is added to All Configurations

    EDIT: It was added to All Configurations, but I had to add it to All Platforms. Now it is working.

    Wednesday, August 1, 2012 6:23 AM

All replies

  • Did you add 'xuadio2.lib' to all the configurations?
    Wednesday, August 1, 2012 12:19 AM
  • Yes, it is added to All Configurations

    EDIT: It was added to All Configurations, but I had to add it to All Platforms. Now it is working.

    Wednesday, August 1, 2012 6:23 AM