Coder Social home page Coder Social logo

gnugo4ios's Introduction

#####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.

gnugo4ios's People

Contributors

moshoujingli avatar

Watchers

James Cloos avatar netcanis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.