Open chenyulue opened 3 years ago
This is a fix that needs to be made in language-c
for c2hs
, there's an odd construction in the MinGW header that only gets exposed if compiling with the OpenGL option.
Issue - https://github.com/visq/language-c/issues/83 PR - https://github.com/visq/language-c/pull/84
You can add my patch for now with the following in stack.yaml
:
extra-deps:
- git: git://github.com/mtolly/language-c
commit: 5e40d962fb71b7e1256ff607194c53544709e761
I got the following error:
What's wrong with it? The command to build it is
stack install --flag fltkhs:bundled --flag fltkhs:opengl
in thefltkhs-hello-world
directory on windows os.However, if I run the command
stack install --flag fltkhs:bundled
, the package is installed successfully. So what's wrong withopengl
? What else should I do if I want to build it with the flagfltkhs:opengl
?