c++msys2fltk

Error when building FLTK: Configure could not find required X11 libraries


I am having trouble getting FLTK set up. I am currently using windows and trying to built it with msys2. Whenever I try to configure it with ./configure I get this error:

configure: error: Configure could not find required X11 libraries, aborting.

Here is the full stack trace: https://pastebin.com/raw/YeA72wYr

I tried redownloading FLTK without success.

What should I do? Thanks!


Solution

  • See this GitHub issue, where jputcu could workaround the issue by passing --build=mingw32 to the configure script.

    You can read the rest of the GitHub issue to learn more, or subscribe to it follow discussion. Feel free to participate there.