当前位置:网站首页>vs2022 xlua 集成第三方库编译报错Generator Visual Studio 15 2017 could not find any instance of Visual Studio.
vs2022 xlua 集成第三方库编译报错Generator Visual Studio 15 2017 could not find any instance of Visual Studio.
2022-07-31 05:18:00 【周末的游戏之旅】
下载仓库后直接执行.bat会报如下的错误
CMake Error:
Generator
Visual Studio 15 2017
could not find any instance of Visual Studio.
解决方法:
- 首先确定Visual Studio已安装cmake组件
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传
参考往上的其他文章,安装使用C++的桌面开发和Visual Studio 扩展开发这两个负荷。不确定是否是必要的,我安装了。
修改.bat文件中的generator,如果是Visual Studio 2022 修改为
Visual Studio 17 2022
mkdir build64 & pushd build64
cmake -G "Visual Studio 17 2022" ..
popd
cmake --build build64 --config Release
md plugin_lua53\Plugins\x86_64
copy /Y build64\Release\xlua.dll plugin_lua53\Plugins\x86_64\xlua.dll
pause
其实Visual Studio 版本对应的generator可以在CMAKE-GUI中查看
边栏推荐
- 解决background-size:cover时图片铺满但显示不完整?
- 自己设置的私密文件,在哪找
- Fluorescein-PEG-DSPE 磷脂-聚乙二醇-荧光素荧光磷脂PEG衍生物
- Word vector - demo
- Remote file xxx is mapped to the local path xxx and can‘t be found. You can continue debugging....
- 实现离线文件推流成rtsp 2
- ROS subscription to multiple topics time synchronization problem
- Pytorch learning notes 09 - multiple classification problem
- 多线程截取视频为每帧
- 堆和栈的区别
猜你喜欢

Fluorescein-PEG-DSPE Phospholipid-Polyethylene Glycol-Fluorescein Fluorescent Phospholipid PEG Derivatives

十分钟教你玩转分支语句!!!!!小白速进,新手福利!!

2022 SQL big factory high-frequency practical interview questions (detailed analysis)

map和set

MySQL 入门:Case 语句很好用

mPEG-DSPE 178744-28-0 Methoxy-polyethylene glycol-phosphatidylethanolamine linear PEG phospholipids

Cholesterol-PEG-Amine CLS-PEG-NH2 Cholesterol-Polyethylene Glycol-Amino Research Use

超详细!!!让你通透数组!!!初学复习不迷路!!

Picture-in-Picture API in the browser

Session和Cookie,Token
随机推荐
Pytorch learning notes 09 - multiple classification problem
Pytorch Daily Practice - Predicting Surviving Passengers on the Titanic
应用usb_cam同时打开多个摄像头方法
力扣.三数之和/四数之和
DSPE-PEG-COOH CAS: 1403744-37-5 Phospholipid-polyethylene glycol-carboxy lipid PEG conjugate
Tensorflow——演示
CAS: 1403744-37-5 DSPE-PEG-FA Phospholipid-Polyethylene Glycol-Folic Acid for Scientific Research
Where can I find the private files set by myself?
Session和Cookie,Token
拒绝采样小记
C语言对文件的操作(完整版)
Introduction to CLS-PEG-FITC Fluorescein-PEG-CLS Cholesterol-PEG-Fluorescein
Cholesterol-PEG-DBCO 胆固醇-聚乙二醇-二苯基环辛炔化学试剂
About iframe
Cholesterol-PEG-Acid CLS-PEG-COOH 胆固醇-聚乙二醇-羧基修饰肽类化合物
钉钉企业内部-H5微应用开发
pyspark.ml feature transformation module
Cholesterol-PEG-Thiol CLS-PEG-SH Cholesterol-Polyethylene Glycol-Sulfhydryl
Virtual machine view port number process
Tensorflow steps on the pit while using it
