vs2012配置php扩展开发环境问题

哈德大大 哈德大大 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
1>------ 已启动生成: 项目: mytest, 配置: Release Win32 ------
1> mytest.c
1>E:\php\php-7.1.1-src\win32/ioutil.h(368): warning C4996: '_wfopen': This function or variable may be unsafe. Consider using _wfopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> D:\Program Files (x86)\vs\VC\include\wchar.h(838) : 参见“_wfopen”的声明
1>E:\php\php-7.1.1-src\win32/ioutil.h(469): warning C4018: “>”: 有符号/无符号不匹配
1>mytest.c(57): warning C4101: “len”: 未引用的局部变量
1>LINK : warning LNK4075: 忽略“/INCREMENTAL”(由于“/OPT:ICF”规范)
1> 正在创建库 E:\php\php-7.1.1-src\ext\mytest\Release\mytest.lib 和对象 E:\php\php-7.1.1-src\ext\mytest\Release\mytest.exp
1>mytest.obj : error LNK2019: 无法解析的外部符号 __imp__zend_parse_parameters,该符号在函数 _zif_confirm_mytest_compiled 中被引用
1>mytest.obj : error LNK2019: 无法解析的外部符号 __imp__strpprintf,该符号在函数 _zif_confirm_mytest_compiled 中被引用
1>mytest.obj : error LNK2019: 无法解析的外部符号 __imp__php_info_print_table_header,该符号在函数 _zm_info_mytest 中被引用
1>mytest.obj : error LNK2019: 无法解析的外部符号 __imp__php_info_print_table_start,该符号在函数 _zm_info_mytest 中被引用
1>mytest.obj : error LNK2019: 无法解析的外部符号 __imp__php_info_print_table_end,该符号在函数 _zm_info_mytest 中被引用
1>E:\php\php-7.1.1-src\ext\mytest\Release\mytest.dll : fatal error LNK1120: 5 个无法解析的外部命令
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
...全文

相关推荐

评论 7
收藏 已收藏
分享
返回顶部
哈德大大
Framework 4,250 成员 4,522 内容