Comments (9)
为毛clone的代码编译不通过?
哎~~~~~
(centos 6.5 and freebsd 10)
from scws.
没啥用处。
1>d:\php-sdk\phpdev\vc11\x86\php-5.6.19-src\win32\unistd.h(3): error C2054: 在“PHPAPI”之后应输入“(
这个错误是什么导致的?谁知道?
from scws.
你要跟着看下源码里 unistd.h 第3 行 PHPAPI 后面是什么,这些宣告很多是为了兼容性,如果明确知道意思可以直接暴力修改一下。
Best Regards
hightman/海鳗
微信/微博:hightman
Github:https://github.com/hightman
在 2016年3月18日,下午1:34,ZhuMengxi [email protected] 写道:
没啥用处。
1>d:\php-sdk\phpdev\vc11\x86\php-5.6.19-src\win32\unistd.h(3): error C2054: 在“PHPAPI”之后应输入“(
这个错误是什么导致的?谁知道?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #30 (comment)
from scws.
unistd.h 里的内容全在这儿了。
#ifndef _PHP_WIN32_UNISTD_H
#define _PHP_WIN32_UNISTD_H PHPAPI int usleep(unsigned int useconds);
#endif
这方面不是很熟悉,望指点。
from scws.
试试把 PHPAPI 去掉
Best Regards
hightman/海鳗
微信/微博:hightman
Github:https://github.com/hightman
在 2016年3月31日,上午9:29,ZhuMengxi [email protected] 写道:
unistd.h 里的内容全在这儿了。
#ifndef _PHP_WIN32_UNISTD_H
#define _PHP_WIN32_UNISTD_H PHPAPI int usleep(unsigned int useconds);
#endif这方面不是很熟悉,望指点。
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub #30 (comment)
from scws.
关掉了。除了那个头文件的问题之外,其它的只是没有编译环境而已。
需要搞一个php的编译环境,起码先得能把php5ts.dll编译出来。不然各种报错。
多谢各位关注。
from scws.
@hVenus 如若方便,可否将编译产出的DLL提交至项目 https://github.com/Timandes/php-scws-win32 呢?
不胜感激。
from scws.
可以的。我先测试下能否可用。
发送自我的HTC Phone
----- 回复信息 -----
发件人: "Timandes White" [email protected]
收件人: "hightman/scws" [email protected]
抄送: "ZhuMengxi" [email protected], "Mention" [email protected]
主题: [hightman/scws] windows下VC11编译php5.6.19的scws1.2.3出错。 (#30)
日期: 周五, 6月 3 日, 2016 年 13:26
@hVenus 如若方便,可否将编译产出的DLL提交至项目 https://github.com/Timandes/php-scws-win32 呢?
不胜感激。
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.
from scws.
👍 多谢。
from scws.
Related Issues (20)
- php7.3扩展编译出错
- ubuntu18安装后执行命令报错 HOT 5
- php ffi 支持的dll怎么编译
- 请问如何使用pecl安装scws extension? HOT 2
- 项目停止维护了吗?词库还停留在16年,太老旧了把,啥时候更新 HOT 4
- php8.0.0 编译错误 1.2.3 HOT 3
- 自定义词典貌似无效 HOT 1
- 请问下目前scws-gen-dict是否支持将 xdb转换为txt格式
- 如何自定义rules.ini HOT 2
- 大佬,php8+的编译能不能适配一下~~~ HOT 2
- php-8.1.7编译php扩展时在make时出错 HOT 1
- _xtree_node_search() 函数中compare string的实现有bug? HOT 3
- 编译报错may be used uninitialized in this function HOT 1
- 分词不成功,只要是中文都是一个个字分开了,所有中文都识别成了un属性 HOT 2
- 请问,分词过程中能否设置只对中文进行分词吗? HOT 1
- top_word结构中attr的怪现像 HOT 7
- 直接git clone下来的代码,编译php8.0扩展的时候报错了 HOT 4
- php8.1 分词碰到空格 或者 特殊的符号啥的 比如 ++ 后面的词就不会继续分了 HOT 1
- 建议:给xattr参数加const
- 建议:统一xdb与xtree的结构
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scws.