yuzu编译 环境windows10,vs2019

准备

设置github windows host
140.82.114.3 github.com
140.82.112.3 gist.github.com
185.199.109.153 assets-cdn.github.com
199.232.28.133 raw.githubusercontent.com
199.232.28.133 gist.githubusercontent.com
199.232.28.133 cloud.githubusercontent.com
199.232.28.133 camo.githubusercontent.com
199.232.28.133 avatars0.githubusercontent.com
199.232.28.133 avatars1.githubusercontent.com
199.232.28.133 avatars2.githubusercontent.com
199.232.28.133 avatars3.githubusercontent.com
199.232.28.133 avatars4.githubusercontent.com
199.232.28.133 avatars5.githubusercontent.com
199.232.28.133 avatars6.githubusercontent.com
199.232.28.133 avatars7.githubusercontent.com
199.232.28.133 avatars8.githubusercontent.com

因github访问异常,cmake无法正常下载github中的依赖。cmake下的依赖多是手动下载

一、下载yuzu源码和子模块依赖源码
git clone --recursive https://github.com/yuzu-emu/yuzu.git

二、下载扩展模块
git clone https://github.com/yuzu-emu/ext-windows-bin.git
更改cmake下载模块代码,不执行下载直接解压
yuzu\CMakeModules\DownloadExternals.cmkake
拷贝:
ffmpeg-4.4.7z
qt-5.15.2-msvc2019_64.7z
SDL2-2.0.18.7z
至M:\gitproject\yuzu\build\externals下

三、下载conan.cmake
修改yuzu\CMakeLists.txt 413行禁用下载conan.cmake
#file(DOWNLOAD “https://raw.githubusercontent.com/conan-io/cmake-conan/release/0.18/conan.cmake” “${CMAKE_BINARY_DIR}/conan.cmake”)
git clone https://github.com/conan-io/cmake-conan.git
拷贝文件至 yuzu\bin下

四、打开vs2019生成;
vs2022也可以编译成功。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值