Skip to content

Instantly share code, notes, and snippets.

@martell
Last active January 2, 2016 21:19
Show Gist options
  • Save martell/8362294 to your computer and use it in GitHub Desktop.
Save martell/8362294 to your computer and use it in GitHub Desktop.
Cocos2d-x msys2 mingw64 guide
Step 1. Download msys2
x64
http://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-base-x86_64-20131208.tar.xz/download
x86
http://sourceforge.net/projects/msys2/files/Base/i686/msys2-base-i686-20131208.tar.xz/download
Step 2. Extract and run msys2_shell.bat
extract to. c:/msys64 or c:/msys32
run msys2_shell.bat
after it sets itself up close it and open it again
Step 3. Type the following commands to update msys2
pacman -Syu
then close it and open it again
Step 4. Restart the shell and install git
pacman -S git
Step 5. Clone cocos2d-x
git clone https://github.com/cocos2d/cocos2d-x.git
Step 6. Run build-mingw32-gcc-make or build-mingw32-clang-make
cd cocos2d-x/build
gcc
./build-mingw32-gcc-make.sh
clang
./build-mingw32-clang-make.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment