Question / Help Error: Could not find any D3DCompiler libraries

ciphernemo

New Member
Wow, I haven't run into any apps in a long time that gave an error on the first launch. How amateur is this open source app?

Received this error on the first launch: "Could not find any D3DCompiler libraries".
  • Windows 7 Pro 64-bit SP-1
  • Downloaded latest OBS Studio from obsproject.com as of this post.
  • No mention of this error in a quick scan of your wiki.
  • Opted for default install options: only browser plugin selected
  • Log file from %APPDATA%\obs-studio\logs...
    10:46:28.203: CPU Name: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
    10:46:28.203: CPU Speed: 3109MHz
    10:46:28.204: Physical Cores: 4, Logical Cores: 4
    10:46:28.204: Physical Memory: 12234MB Total, 8704MB Free
    10:46:28.204: Windows Version: 6.1 Build 7601 (revision: 23572; 64-bit)
    10:46:28.204: Running as administrator: true
    10:46:28.204: Aero is Enabled
    10:46:28.204: Portable mode: false
    10:46:28.213: OBS 18.0.1 (64bit, windows)
    10:46:28.213: ---------------------------------
    10:46:28.214: ---------------------------------
    10:46:28.214: audio settings reset:
    10:46:28.214: samples per sec: 44100
    10:46:28.214: speakers: 2
    10:46:28.215: ---------------------------------
    10:46:28.215: Initializing D3D11..
    10:46:28.215: Available Video Adapters:
    10:46:28.218: Adapter 1: NVIDIA GeForce GTX 550 Ti
    10:46:28.218: Dedicated VRAM: 1025245184
    10:46:28.218: Shared VRAM: 3221106688
    10:46:28.218: output 1: pos={0, 0}, size={1920, 1080}, attached=true
    10:46:28.218: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
    10:46:28.219: Adapter 2: NVIDIA GeForce GTX 550 Ti
    10:46:28.219: Dedicated VRAM: 1025376256
    10:46:28.219: Shared VRAM: 3220975616
    10:46:28.232: Could not find any D3DCompiler libraries
    10:49:24.863: Freeing OBS context data
    10:49:24.864: == Profiler Results =============================
    10:49:24.864: run_program_init: 176684 ms
    10:49:24.864: ┣OBSApp::AppInit: 1.65 ms
    10:49:24.864: ┃ ┗OBSApp::InitLocale: 0.98 ms
    10:49:24.864: ┗OBSApp::OBSInit: 46.26 ms
    10:49:24.864: ┣obs_startup: 1.058 ms
    10:49:24.864: ┗OBSBasic::OBSInit: 18.473 ms
    10:49:24.864: ┣OBSBasic::InitBasicConfig: 0.374 ms
    10:49:24.864: ┣OBSBasic::ResetAudio: 0.218 ms
    10:49:24.864: ┗OBSBasic::ResetVideo: 17.867 ms
    10:49:24.864: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.004 ms, max=0.304 ms, 99th percentile=0.084 ms, 100% below 25 ms
    10:49:24.864: audio_thread(Audio): min=0 ms, median=0.014 ms, max=0.097 ms, 99th percentile=0.019 ms
    10:49:24.864: =================================================
    10:49:24.864: == Profiler Time Between Calls ==================
    10:49:24.864: obs_hotkey_thread(25 ms): min=24.561 ms, median=25.001 ms, max=26.435 ms, 99.9858% within ±2% of 25 ms (0% lower, 0.0141563% higher)
    10:49:24.864: =================================================
    10:49:24.867: Number of memory leaks: 155
Thoughts?
 

ciphernemo

New Member
Installing that DirectX SDK resolved the issue. For Windows binaries of OBS Studio, why is this not bundled with the installer, or at least linked or suggested instead of just getting an error?
 

R1CH

Forum Admin
Developer
The installer does prompt you to install them if they are missing. However the installer is 32 bit so only checks for the presence of the 32 bit DLL. Some other app on your system misbehaved and installed only the 32 bit DLL globally.
 

ciphernemo

New Member
The installer does prompt you to install them if they are missing. However the installer is 32 bit so only checks for the presence of the 32 bit DLL. Some other app on your system misbehaved and installed only the 32 bit DLL globally.
Good to know, thanks!

On an unrelated note, love app's granular customization so far, with controlling every aspect of the capture. A little clunky to learn without any guidance, but reasonable after half an hour of playing around with it. From transforming capture area to changing video size. Works great!
 
Top