OBS-Studio compiled vs2015 vs2015 compiled several errors encountered obs studio

Before compiling preparation:

Win10 system

QT5.7.0

VS2015

CMake 3.13.4

obs vs2015 environment dependencies: dependencies2015

Note studio 24.0

===========================================

1. Download Source:

https://github.com/obsproject/obs-studio/archive/24.0.0.zip

To extract the code such as D under the disc directory xx

And then build a new directory under xx

2. Download dependencies:

 https://obsproject.com/downloads/dependencies2015.zip

After unpacking Also sent to the next xx directory

3. Open cmake:

Are provided source code and the build and build directory path is the code in the above directory xx

Then click ADD ENTRY add two dependencies:

(1) QTDIR then set to a specified directory qt example: D: \ Qt \ Qt5.7.0 \ 5.7 \ msvc2015

(2) DepsPath provided vs2015 path dependencies such as: D: \ project \ vs \ obs \ OBSStudio24.0 \ dependencies2015 \ win32 (here Win32)

Figure:

Click the above after good (3) and then select Settings Configure v140 vs2015 

After then click Generate to get.

4. Open obs-studio.sln the build directory

Then compile ALL_BUILD

------------------------------------------------------------------------------------------------

Compile errors may occur see above post:

Several vs2015 compiler error encountered obs studio

 

----------------------------------------------------------------------------------------------------------------------

Note: Set to start after successful compilation obs items 

Then right-click obs settings: Debug --------- working directory: .. \ rundir \ Debug \ bin \ 32bit

You can breakpoint debugging

Guess you like

Origin www.cnblogs.com/wainiwann/p/11599603.html