Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

UE 4.20 - Unable to expand variable in '$(DXSDK_DIR)\Lib\x64

+1 vote

Hello i was trying to use WWise on my Unreal Engine 4 project but when i added the plugin into my project i was given the error "Unable to expand variable in '$(DXSDK_DIR)\Lib\x64". After digging around a bit i noticed that i didn't have the DXSDK_DIR Environment Variable. I created it on both system and user and i pointed to "C:\Program Files\Epic Games\UE_4.20\Engine\Source\ThirdParty\Windows\DirectX" and i still have the same error. If i replace $(DXSDK_DIR) with the hardcoded path or with Environment.GetEnvironmentVariable("DXSDK_DIR", EnvironmentVariableTarget.Machine) it works, so why isn't he recognizing $(DXSDK_DIR)?

asked Aug 10, 2018 in General Discussion by David P. (110 points)

1 Answer

0 votes
Hello.
I also suffered from the same problem, but since I got settled, I will share the information.

Since there is an answer that is helpful in ANSWERHUB of UE 4, we have found this and resolved it.
↓ That site.
https://answers.unrealengine.com/questions/816524/420-directx-compilation-error.html

I hope this information will be of your help.
answered Aug 29, 2018 by User106570 (140 points)
...