netcanis / gnugo4ios Goto Github PK
View Code? Open in Web Editor NEWThis project forked from moshoujingli/gnugo4ios
This tools help you to build the static lib of GNUGO for iOS
This project forked from moshoujingli/gnugo4ios
This tools help you to build the static lib of GNUGO for iOS
#####UPDATE First of all,I think it's better rename the var with name shadow to shadow_board because there exists a global var named this in iOS. And the printf or some debug code should also be removed. I prepared two patch here and you can patch them like below: ''' $ git checkout -b ioscompile $ git am --signoff < ../remove_print.patch $ git am --signoff < ../rename.patch ''' ----------- 首先我假设你的电脑是64位的ios,工具BSD的,zsh 先把gnugoc的源码下下来,放在和脚本还有util一个文件夹下,就像这样 gnugo makego4ios.sh util 然后 sh makego4ios.sh 即可,开头是编译gnugo,中间如果说文件已有,或者找不到endgame.c或者influnce.c的话都不要紧(我没处理前面的操作已经完成改名的情况), 然后等完全运行完了,出来的文件夹gnugolib,那个a是静态库文件,包含虚拟机用的64和32位以及真机用的32位和64位,具体信息刚才那个脚本运行完的最后一句已经用lipo打出来了。 I assumed that you run this on the 64bit MACOS with zsh and BSD tools. put the source code of the GNU GO at the same folder of this tool.Seems like: gnugo makego4ios.sh util Then run the makego4ios.sh: sh makego4ios.sh The error meg such like cant find file endgame,c and influnce.c is ok because I dont deal with the error that the file have already renamed.(It doesn't metter) While this finished ,you will find a folder named gnugolib and the header and stalib is in it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.