Skip to content

Commit 4087511

Browse files
author
Meng Li
committed
fix build
1 parent 341f9b9 commit 4087511

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ node_modules/
22
build/
33
obs-studio-build/
44
prebuild/
5+
cmake-*/
56
dist/
67
.idea/

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ While the package is installed from github, prebuild libs will also be downloade
1111
to build from user machine. Currently windows(64bit), macos, linux (ubuntu20.04) is supported.
1212

1313
## Windows build requirements
14-
[Visual Studio 2019](https://visualstudio.microsoft.com/vs/)
14+
[7z](https://www.7-zip.org/a/7z1900-x64.exe)
15+
[Visual Studio 2019](https://visualstudio.microsoft.com/vs/)
1516
[Windows 10 SDK (minimum 10.0.19041.0)](https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/)
1617

1718
## Scripts

scripts/build-windows.cmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ if not "%RELEASE_TYPE%" == "Release" (
3939
mkdir "%PREBUILD_DIR%" 2>NUL
4040
if "%BUILD_OBS_STUDIO%" == "true" (
4141
echo "Building obs-studio"
42+
mkdir "%OBS_STUDIO_BUILD_DIR%" 2>NUL
43+
cd "%OBS_STUDIO_BUILD_DIR%"
4244
if not exist "%OBS_STUDIO_DIR%" (
4345
git clone --recursive -b %OBS_STUDIO_VERSION% --single-branch https://github.com/obsproject/obs-studio.git "obs-studio-%OBS_STUDIO_VERSION%"
4446
)

0 commit comments

Comments
 (0)