Loving Coding & Visual Design
haXe常见问题
- 安装:cl.exe找不到
添加环境变量PATH: c:Program FilesMicrosoft Visual Studio 9.0VCinclude;c:Program FilesMicrosoft Visual Studio 9.0VClib;c:Program FilesMicrosoft Visual Studio 9.0VCbin;c:Program FilesMicrosoft Visual Studio 9.0Common7IDE;c:Program FilesMicrosoft SDKsWindowsv6.0ALib; - C++编译:string.h找不到
在c:Program FilesMicrosoft Visual Studio 9.0VC下创建 子目录,在当前目录下编译 - swhx: haxe.#Http has no field request
Because request has been renamed requestUrl, according to haxe's change log - making that name change in Plugin.hx to fix it. - 运行app.n
D:Adamhaxeswhx>"c:motion-twinhaxelibswhx1,2,0toolsswhx" - swhx初始化黑屏的问题?
A quick fix for this issue is to (in code) immediately maximize then unmaximize the window:
window.visible = true;
// enter the system event loop (will exit when window is closed)
var old:Bool = window.maximized;
window.maximized = false;
window.maximized = true;
window.maximized = old; - Distributing a Screenweaver application?
http://screenweaver.org/doku.php?id=tutorials:distribution - hxcpp: Class not found : nme.Manager? class not found... etc?
haxe stage can't be accessed until init is called? Clear neash, neash is deprecated.Compile:
-cp "C:Motion-Twinhaxelibhxcpp2,06,1include"
-lib nme
-lib hxcpp
--remap flash:nme
--remap neko:cpp
-cpp cpp
Main:
import nme.Lib;
import nme....
public static function main() {
#if flash
new Main();
#else
Lib.create(function(){new Main();},320,480,60,0xccccff,(1*Lib.HARDWARE) | Lib.RESIZABLE);
#end
} - install?
# Get haxe & neko: Visit haxe.org
# Get hxcpp: haxelib install hxcpp
# Get nme: haxelib install nme - 常用命令
neko run.n
haxe compile.hxml
haxelib list
haxelib install feffect
> For NME2, you can do a similar thing, and point the dev version at:
>
> haxelib dev nme "C:Developmenthaxenekonmeversion2"
>
> you will probably want to checkout the sdl-static libraries into your
> c:Development path too, so the relative paths work.
>
> You will need to have an existing haxelib version of the code before you
> can create a dev version.
最 近 文 章
- 体验租车 - Tue, 25 Jan 2011 13:46:15 +0000
- 开发ShopEx Widget版块 - Tue, 18 Jan 2011 18:17:36 +0000
- 真假固力果奶粉? - Mon, 17 Jan 2011 07:26:39 +0000
- ShopEx的模板 - Thu, 13 Jan 2011 07:36:52 +0000
- Ucenter的终极通信失败 - Thu, 06 Jan 2011 21:22:39 +0000
- 再探香港奶粉 - Wed, 05 Jan 2011 15:38:06 +0000
- Windows7下面为Apache2.2增加OpenSSL支持 - Tue, 28 Dec 2010 05:39:10 +0000
- IE9下文字阴影问题 - Sun, 19 Dec 2010 15:35:35 +0000
- 郁闷的Away3D未定义linestyle问题 - Wed, 15 Dec 2010 16:14:47 +0000
- 关于中国电信的植入性广告 - Sun, 21 Nov 2010 06:07:59 +0000