Files
doc.rustdesk.com/content/dev/build/windows/_index.ko.md
T
2026-07-06 17:59:07 +09:00

3.8 KiB

title, weight, description, keywords
title weight description keywords
Windows 20 Windows에서 MSVC, Rust, vcpkg, Sciter 및 LLVM을 사용해 RustDesk를 빌드하십시오. 이 가이드는 데스크톱 앱을 소스에서 컴파일하기 전에 필요한 툴체인 설정을 다룹니다.
build rustdesk windows
rustdesk windows build
rustdesk vcpkg windows
rustdesk sciter dll
rustdesk llvm libclang

이 가이드를 사용하여 먼저 MSVC 툴체인, Rust, vcpkg, Sciter 및 LLVM을 준비한 후 Windows에서 RustDesk를 빌드하십시오.

{{% notice note %}} 여기 있는 명령줄 명령어는 명령 프롬프트가 아닌 Git Bash에서 실행해야 하며, 그렇지 않으면 구문 오류가 발생합니다. {{% /notice %}}

Windows에서 빌드하기 전에 무엇이 필요합니까?

Windows에서 RustDesk를 빌드하려면 Visual Studio C++ 툴체인, Rust, vcpkg, sciter.dllLIBCLANG_PATH가 구성된 LLVM이 필요합니다. 예제와 환경 변수 구문이 작성된 대로 작동하도록 Git Bash에서 셸 명령어를 실행하십시오.

Windows 빌드 체크리스트

  • C++ 작업 영역과 함께 Visual Studio를 설치하세요.
  • rustup-init.exe를 통해 Rust를 설치하세요.
  • vcpkg를 복제하고 부트스트랩한 다음, VCPKG_ROOT를 설정하세요.
  • 데스크톱 UI용 sciter.dll를 다운로드하세요.
  • LLVM을 설치하고 LIBCLANG_PATH를 그의 bin 디렉터리로 설정하세요.
  • RustDesk를 복제하고 Git Bash에서 기본 빌드 단계를 실행하세요.

종속성

C++ 빌드 환경

MSVC를 다운로드하고 설치하세요. 개발자용 머신 OS로 Windows를 선택하고 C++를 체크한 다음, Visual Studio Community 버전을 다운로드하여 설치하세요. 설치에 시간이 걸릴 수 있습니다.

Rust 개발 환경

rustup-init.exe를 다운로드하고 관리자 권한으로 실행하여 rust를 설치하세요.

vcpkg

복제하려는 폴더로 이동하여 Git Bash를 사용해 다음 명령어를 실행하고, vcpkg를 다운로드한 후 64비트 버전의 libvpx, libyuvopus를 설치하세요. Git가 설치되어 있지 않다면 Githere를 받으세요.

git clone https://github.com/microsoft/vcpkg
vcpkg/bootstrap-vcpkg.bat
export VCPKG_ROOT=$PWD/vcpkg
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static aom:x64-windows-static

시스템 환경 변수 VCPKG_ROOT=<path>\vcpkg를 추가하세요. <path>는 위에서 선택한 vcpkg를 복제할 위치여야 합니다.

Sciter

데스크톱 버전은 GUI용으로 Sciter를 사용하므로, sciter.dll를 다운로드해 주세요.

LLVM

rust-bindgenclang에 의존하므로 LLVM를 다운로드하고 설치한 다음, 시스템 환경 변수 LIBCLANG_PATH=<llvm_install_dir>/bin를 추가하세요.

LLVM 바이너리 버전 15.0.2는 여기에서 다운로드할 수 있습니다: 64 bit / 32 bit.

빌드

기본

git clone --recurse-submodules https://github.com/rustdesk/rustdesk
cd rustdesk
mkdir -p target/debug
wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.win/x64/sciter.dll
mv sciter.dll target/debug
cargo run