From f0d98ad70d2188197be00f6c1a9b7338473c6485 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Tue, 18 Dec 2018 20:10:10 -0500 Subject: Various fixes to get things working under msys2 Replaced various "make" calls in the makefile with $(MAKE) Replaced a few __mingw_printf with just printf Added some instructions to the readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 8ea6a0a..937dfa6 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ Documentation is built using [ldoc](https://github.com/stevedonovan/LDoc), just ## Misc. This project is under very heavy development. Expect lots of code churn for the foreseeable future. +#### Msys2 +Under msys2, I had to install the w32api headers `pacman -Syu msys/msys2-w32api-headers` +Then comment out the closeing curly brace at line 1128 of `/usr/include/w32api/tchar.h` +Then use the mingw64 shell in C:/msys2/mingw64.exe (make sure `gcc -dumpmachine` outputs `x86_64-w64-mingw32` or something and not `x86_64-pc-msys`) to `make DEBUG=true` +Then install the mingw64 version of make, and use it to create the makefile for lib/bullet + ### Roadmap 0. Lua-defined textures -- cgit v1.2.3-70-g09d2