Comments (9)
1 我是先把ejoy2d/shader.lua中第8和第9行中的精度定义设为""。本人小白按理来说在fragment shader中,必须给出一个计算的精度。重新编译好了以后examples中的ex06和ex07就能够正常运行了。
2 在去运行ex01.lua会提示set your own vector font resource path, error occured in file posix/winfont.c, line 73
3 然后把posix/winfont.c中的TTFONT修改为你自己的系统字体路径就好了。
原来是static const char* TTFONT = "/usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc";
你是Ubuntu64的话改为
static const char* TTFONT = "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf";
就行了(记得重新make)。
4 之前的ex06和ex07能运行是因为里面没有文字。
from ejoy2d.
Fedora20 has the same problem!!Why!!
from ejoy2d.
厄,我也碰到了。ubuntu 13.10 64位,编译无问题,现象同上。求助,多谢。
from ejoy2d.
目前我也是没法解决啦!纠结中!!
Date: Sat, 31 May 2014 20:24:35 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [ejoy2d] Ubuntu 64位,编译成功,运行报错,窗口闪退 (#52)
厄,我也碰到了。ubuntu 13.10 64位,编译无问题,现象同上。求助,多谢。
—
Reply to this email directly or view it on GitHub.
from ejoy2d.
请确认你的系统的显卡以及显卡驱动支持 opengl es 2.0 .
简单说就是先保证你的系统可以正常运行现代的游戏.
from ejoy2d.
在Ubuntu上怎么"保证系统可以正常运行现代的游戏"呢?
from ejoy2d.
装个 steam 多买些 3d 游戏(类似文明 V 之类的), 确保都可以运行.
from ejoy2d.
没有更低成本一点的方法"确认你的系统的显卡以及显卡驱动支持 opengl es 2.0"吗 = =
from ejoy2d.
打电话给显卡的厂商(包装盒上通常有电话号码), 确认可以支持, 然后问他们要 linux 下的驱动, 并询问怎么安装.
from ejoy2d.
Related Issues (20)
- mac osx glwf3 error HOT 1
- doc is not rendered properly
- PVS-Studio: CWE-476 NULL Pointer Dereference HOT 1
- Need support VS2017 platform
- 这个工程还会继续维护吗。 HOT 3
- the source still use the system Lua lib header files HOT 1
- sprite的rot=450时,画不出来
- ejoy2d在mac os x 使用xcode编译问题。 HOT 1
- ejoy2d中如何实现树状结构? HOT 1
- windows下编译一些问题 HOT 2
- Compile error in my ubuntu 14 enviroment.
- 能否为geometry绘制添加srt参数 HOT 3
- lnewlabel函数参数混乱 HOT 1
- macosx编译有warning HOT 1
- Ubuntu 14.04编译异常 HOT 6
- 关于sprite.ldraw中srt参数 HOT 2
- 求一个Android.mk文件 HOT 5
- 请问ejoy2d是否打算支持mesh HOT 8
- Mac Xcode 链接出错 HOT 3
- 绘制poly错误 HOT 4
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 ejoy2d.