Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译成功,但是测试自带脚本时没有任何反应 #17

Open
elove88 opened this issue Jan 3, 2014 · 5 comments
Open

编译成功,但是测试自带脚本时没有任何反应 #17

elove88 opened this issue Jan 3, 2014 · 5 comments

Comments

@elove88
Copy link

elove88 commented Jan 3, 2014

编译成功,已生成ej2d.exe,但是测试自带脚本时没有任何反应。。。原因不明。。能不能加个console,提示哪里出了问题。。 系统winxp~~mingw编译

@cloudwu
Copy link
Contributor

cloudwu commented Jan 3, 2014

printf 不就可以输出到 console 么?

在 2014年1月3日 上午11:00,elove88 [email protected]写道:

编译成功,已生成ej2d.exe,但是测试自带脚本时没有任何反应。。。原因不明。。能不能加个console,提示哪里出了问题。。


Reply to this email directly or view it on GitHubhttps://github.com//issues/17
.

http://blog.codingnow.com

@elove88
Copy link
Author

elove88 commented Jan 3, 2014

我研究一下源代码。。主要想测试下效果。D:\MinGW\msys\1.0\home\DevUser\ejoy2d>ej2d.exe examples\ex01.lua 然后就没有然后了。。。啥反应也没有。。凭经验看,是不是编译有问题?多谢~~

@luckyan315
Copy link

遇到相同的问题...
luckyan315@An:~/code/github/ejoy2d$ ./ej2d examples/ex01.lua
err(1): set your own vector font resource path, error occured in file posix/winfont.c, line 72

 have a look at fterrdef.h

@Tsiannian
Copy link
Contributor

没有安装文泉驿字体,仔细看看log输出。到fterrdef.h 中找到字体路径设置修改。 Original Message Sender:Guanglin [email protected] Recipient:cloudwu/[email protected] Date:Sunday, Jan 5, 2014 15:11 Subject:Re: [ejoy2d] 编译成功,但是测试自带脚本时没有任何反应 (#17) 遇到相同的问题... luckyan315@An:~/code/github/ejoy2d$ ./ej2d examples/ex01.lua err(1): set your own vector font resource path, error occured in file posix/winfont.c, line 72 have a look at fterrdef.h — Reply to this email directly or view it on GitHub.

@elove88
Copy link
Author

elove88 commented Feb 25, 2014

这个问题终于找到了,原来的系统是win xp,换了win7,可以正常显示出demo了

cuit-zhaxin pushed a commit to cuit-zhaxin/ejoy2d that referenced this issue Sep 1, 2015
FIXED ‘ptrdiff_t’ undeclared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants