Unresolved Externals error while creating App Package
-
terça-feira, 31 de julho de 2012 18:32
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.
- Editado Aleksejs Belezjaks quarta-feira, 1 de agosto de 2012 13:31 add more information
Todas as Respostas
-
quarta-feira, 1 de agosto de 2012 00:19Did you add 'xuadio2.lib' to all the configurations?
-
quarta-feira, 1 de agosto de 2012 06:23
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.
- Editado Aleksejs Belezjaks sexta-feira, 10 de agosto de 2012 21:29 Answer added
- Marcado como Resposta Aleksejs Belezjaks sexta-feira, 10 de agosto de 2012 21:31

