Skip to content

Compile

QIU Feng (Phonic) edited this page May 2, 2016 · 5 revisions

###Compile

You may use Windows Command Line and make sure the g++, which is the mingw32-make in your environment variables.

Run compile.bat then you would get BadukGO.exe

Just enjoy it!!

###About static links

Edit the Makefile.

You can also use dynamic link library by changing compilation options

CXXPARAM=$(CXXFLAGS)  

to make the execution file smaller. But you may confirm that your system can link them correctly.

###Some problems

Since the original project was built in Win7, there're might be some potential problems with the dynamic links libraries in Win8.1 or Win10.

Edit the Makefile.

We prefer you using dynamic link library by changing compilation options from

CXXPARAM=$(CSTATLIB) $(CSTATSTD) $(CXXFLAGS)  

to

CXXPARAM=$(CSTATSTD) $(CXXFLAGS)  

and download the dll files we provided in Go/badukGo-0.1.5/.

You may choose to use one or neither of them depending on your system.

We have already upload the two dll files we used (May 2, 2016). Please make sure that the executable file is at the same directory with these two dll files.

Clone this wiki locally