GoaLitiuM / libobs-sharp

[not maintained] C# wrapper for libobs 0.15.4 (part of obs-studio, multiplatform rewrite of Open Broadcaster Software)
GNU General Public License v2.0
52 stars 33 forks source link

LibObs-Sharp with Obs Studio v18.0.1 - Access Violation in libobs.obs_load_all_modules() #25

Open kennsippell opened 7 years ago

kennsippell commented 7 years ago

Howdie, I'm trying this as a first-time user with latest Obs Studio (v18.0.1) and getting an access violation early in the run. Most issues I've seen in the repo are referencing much older versions. What is the latest supported version of obs-studio?

Is this comment still relevant? Would you expect recent builds to work without this flag set at OBS build time? https://github.com/GoaLitiuM/libobs-sharp/issues/21#issuecomment-241201241

Many thanks for any pointers you can offer!

'test.vshost.exe' (CLR v4.0.30319: test.vshost.exe): Loaded 'C:\Program Files (x86)\obs-studio\bin\64bit\libobs-sharp.dll'. Symbols loaded.
'test.vshost.exe' (CLR v4.0.30319: test.vshost.exe): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
libobs version: 18.0.1
CPU Name: Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz
CPU Speed: 2394MHz
Physical Cores: 4, Logical Cores: 8
Physical Memory: 8104MB Total, 2437MB Free
Windows Version: 10.0 Build 14393 (revision: 1066; 64-bit)
Running as administrator: true
Aero is Enabled (Aero is always on for windows 8 and above)
---------------------------------
Initializing D3D11..
Available Video Adapters: 
    Adapter 1: Intel(R) HD Graphics 4600
      Dedicated VRAM: 117964800
      Shared VRAM:    2147483648
      output 1: pos={0, 0}, size={1920, 1080}, attached=true
    Adapter 2: NVIDIA GeForce GTX 860M
      Dedicated VRAM: 2116943872
      Shared VRAM:    4248973312
Loading up D3D11 on adapter Intel(R) HD Graphics 4600 (0)
D3D11 loaded sucessfully, feature level used: 45056
---------------------------------
video settings reset:
    base resolution:   1280x720
    output resolution: 1280x720
    downscale filter:  Disabled
    fps:               30000/1001
    format:            RGBA
---------------------------------
audio settings reset:
    samples per sec: 44100
    speakers:        2
---------------------------------
The program '[33528] test.vshost.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.