04 2014 档案

摘要:macstore下载go2shell,放你喜欢的目录,按住command,拖动到finder顶部的工具栏即可终端直接打开finder,终端输入open .注意,后面红色的点,表明当前目录 阅读全文
posted @ 2014-04-26 19:39 自由出土文物 阅读(1130) 评论(0) 推荐(0) 编辑
摘要:俺的环境,os x,目的,生成64位linux的elf文件直接下载osx的包就可以,不需要特意去下载源码包,我的go目录是~/golang/gocd ~/golang/go/srcGOOS=linux GOARCH=amd64 ./make.bash终端党到工程目录直接执行GOOS=linux GO... 阅读全文
posted @ 2014-04-25 21:13 自由出土文物 阅读(2989) 评论(0) 推荐(0) 编辑
摘要:下载完2dx,运行setup.py,参考设置ANDROID_SDK,NDK_ROOT,ANT_ROOT变量创建工程cocos new testGame -p com.game.test -l cpp -d ~/Projects/注意,在xcode项目里面,添加资源的时候,注意选用第二个选项,否则可能... 阅读全文
posted @ 2014-04-14 10:53 自由出土文物 阅读(184) 评论(0) 推荐(0) 编辑
摘要:安装antbrew install antant默认的目录在/usr/local/binmvim ~/.profile,添加export ANT_ROOT=/usr/local/bin. ~/.profile看看还有没有问题python ~/.setup/py新建工程cocos new MyGame... 阅读全文
posted @ 2014-04-11 10:13 自由出土文物 阅读(194) 评论(0) 推荐(0) 编辑
摘要:测试动态库test_so.hint test_so_func(int a,int b);test_so.c#include "test_so.h"int test_so_func(int a,int b){ return a*b;}生成sogcc -shared ./test_so.c -o ... 阅读全文
posted @ 2014-04-10 20:09 自由出土文物 阅读(5805) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示