# Error in compiling under mingw32

**URL:** <https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339>\
**Category:** support\
**Created:** [November 28, 2004, 6:22am UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339 "2004-11-28T06:22:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [November 28, 2004, 6:22am UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339/1 "2004-11-28T06:22:08Z")

</div>

**nobody** wrote on [Sunday, November 28, 2004](https://sourceforge.net/p/glfw/discussion/247562/thread/70249c9f/#3124):

I’ve tried every which way I can to compile glfw 2.4.2 under XP using mingw32 and I’ve finally gotten down to this error:

make: \*\*\* no rule to make target `…\\enable.c’, needed by `enable.o’. Stop

is the gist of it. Something missing from a Makefile?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [November 29, 2004, 8:25pm UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339/2 "2004-11-29T20:25:59Z")

</div>

**[marcus256](https://sourceforge.net/u/marcus256/)** wrote on [Monday, November 29, 2004](https://sourceforge.net/p/glfw/discussion/247562/thread/70249c9f/#3124/4acf):

Are you using MSYS or the usual Command prompt? Are you using the standrad MinGW make program or the MSYS one?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [February 20, 2005, 4:38am UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339/3 "2005-02-20T04:38:50Z")

</div>

**nobody** wrote on [Sunday, February 20, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/70249c9f/#3124/3d25):

I’m experiencing the same error.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [April 13, 2005, 7:37pm UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339/4 "2005-04-13T19:37:38Z")

</div>

**nobody** wrote on [Wednesday, April 13, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/70249c9f/#3124/629c):

The solution is simple: (BTW, you don’t need to use the command line of windows as the documentation says, just use ‘make -f Makefile.win32.mgw’)

Change all ocurrences of ‘\’ in the Makefile to ‘/’ as usual for Unix paths. Then it runs without any problem 🙂

Christoph.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [April 17, 2005, 11:25am UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339/5 "2005-04-17T11:25:08Z")

</div>

**[marcus256](https://sourceforge.net/u/marcus256/)** wrote on [Sunday, April 17, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/70249c9f/#93cd):

I guess I should upgrade to the latest MinGW release. It’s been a while.

Also, I know that there are some problems with the MinGW make program and Windows 9x/Me (${MAKE} becomes "C:/MinGW/bin/make.exe", for instance - note the forward slashes, which Windows does not understand).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [April 24, 2005, 9:37pm UTC](https://discourse.glfw.org/t/error-in-compiling-under-mingw32/339/6 "2005-04-24T21:37:37Z")

</div>

**nobody** wrote on [Sunday, April 24, 2005](https://sourceforge.net/p/glfw/discussion/247562/thread/70249c9f/#3124/99ec):

Im havng the same problem but I did change the "\&quot; in the Makefile to "/" yet it displays this error:

mingw32-make: \*\*\* No rule to make target `…/enable.c’, needed by `enable.o’. Stop.  
Any ideas?
