I got the following error:
Details
fltkhs > make[1]: Leaving directory '/c/Users/chenyulue/AppData/Local/Temp/stack-bcc533c003cb80ea/fltkhs-0.8.0.3/.stack-work/dist/29cc6475/build/c-src'
fltkhs > Preprocessing library for fltkhs-0.8.0.3..
fltkhs > c2hs.exe: C header contains errors:
fltkhs >
fltkhs > C:/Users/chenyulue/AppData/Local/Programs/stack/x86_64-windows/ghc-8.8.4/mingw/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:836: (column 222) [ERROR] >>> Syntax error !
fltkhs > The symbol `)' does not fit here.
fltkhs >
Progress 1/2
-- While building package fltkhs-0.8.0.3 (scroll up to its section to see the error) using:
C:\Users\chenyulue\AppData\Local\Temp\stack-bcc533c003cb80ea\fltkhs-0.8.0.3.stack-work\dist\29cc6475\setup\setup > > --builddir=.stack-work\dist\29cc6475 build --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
What's wrong with it? The command to build it is stack install --flag fltkhs:bundled --flag fltkhs:opengl in the fltkhs-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 with opengl? What else should I do if I want to build it with the flag fltkhs:opengl?
I got the following error:
Details
What's wrong with it? The command to build it is
stack install --flag fltkhs:bundled --flag fltkhs:openglin thefltkhs-hello-worlddirectory 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?