vs2012配置php扩展开发环境问题
哈德大大 2017-01-19 04:44:38 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 个 ==========