第一天开始记录avs3的学习
SAVS3_hpm32工程编译
按照工程README的操作
*## Windows Operating Systems (64-bit):
shell executor
, i.e. the bash in git for windows, is needed and should be found in PATH
variable. For example, the path C:\Program Files\Git\bin
can be added if git-for-windows
is installed.依次下载vs2017,cmake,yasm和git,并添加至环境;
接着,按照操作\Build\windows下运行build.bat(README说是运行generate_vs17.bat,但并没有)。再生成项目过程提示找不到标识符:
并且看到默认调用x86进行编译。虽然能成功生成项目svt-avs3.sln,但vs里用x64编译是还是报错:模块计算类型x64与目标计算类型x86冲突
百度了好久,都是一样的解决方法,都不行。
解决:
不要使用\Build\windows下的build.bat批处理文件生成项目,因为在调用cmake时会自动使用x86版本(猜测)。自己手动cmake_gui生成项目:
然后依次点config和generate(注意选择vs版本为vs2017 win63),即可。
最终,如愿生成exe(刚刚开始接触avs3,小小白一只):
本文地址:https://blog.csdn.net/a_zbm/article/details/107187510
如对本文有疑问, 点击进行留言回复!!
android RecyclerView checkbox复用解决
Android Q Input (1) -- InputManagerService启动
android -- ndk (stack corruption detected)
网友评论