Thank you very much Nick for the quick response. Everything worked after I implemented the fix from teh master branch and was able to successfully compile Lucy on MinGW. One interesting thing is that if I try to compile it on the new Ubuntu Bash on Windows 10 it fails because of the include file not found error that I reported earlier. It compiles fine on a real Ubuntu system.
Thanks, Milind On Tue, May 31, 2016 at 2:04 PM, Nick Wellnhofer <[email protected]> wrote: > On 31/05/2016 22:22, Milind Gupta wrote: > >> When using MinGW and MinGW32-make clownfish compiling gives errors: >> >> 1. The configure.bat generates the cfc compiling recipe as (cd >> ..\..\compiler\c && $(MAKE)) but that does not work on windows. Each slash >> should be replaced by a double slash. So I did this step manually. >> > > This is caused by a bug in some versions of mingw32-make: > > > http://mingw.5.n7.nabble.com/mingw32-make-issue-with-windows-style-directories-as-target-dependencies-td21182.html > > 2. The runtime compilation gives the following error: >> >> src\tls.c: In function 'DllMain': >> src\tls.c:82:13: error: invalid operands to binary >> (have 'struct >> cfish_Err *' and 'int') >> DECREF(context->current_error); >> > > This was fixed just recently in the master branch with this commit: > > > https://github.com/apache/lucy-clownfish/commit/269ceeb1b4faa3f95bf6e8cedf078b5e9abf4e3c > > Nick > >
