Comments (6)
Supposedly this should be fixed in 8.0.2: #48 (comment)
from bindings-glfw.
I've tried it out and I can confirm that the workaround (#28) compiles and successfully runs gears demo code.
I now just get a ton of warnings, as I did with compiling earlier versions.
for example:
Loading package bindings-GLFW-3.1.1.2 ... linking ... <interactive>: warning: _vsnprintf from msvcrt is linked instead of __imp__vsnprintf
<interactive>: warning: _strdup from msvcrt is linked instead of __imp__strdup
<interactive>: warning: MultiByteToWideChar from kernel32 is linked instead of __imp_MultiByteToWideChar
<interactive>: warning: WideCharToMultiByte from kernel32 is linked instead of __imp_WideCharToMultiByte
<interactive>: warning: SystemParametersInfoW from user32 is linked instead of __imp_SystemParametersInfoW
<interactive>: warning: LoadLibraryW from kernel32 is linked instead of __imp_LoadLibraryW
from bindings-glfw.
I found another project that had this issue: snoyberg/yaml#44
There is a ticket for it on GHC's trac (https://ghc.haskell.org/trac/ghc/ticket/9215), which leads to another ticket (https://ghc.haskell.org/trac/ghc/ticket/9218) about updating the version of MinGW shipped with GHC. There appears to be a patch, but it did not make it into 7.10.1. Currently, it is slated for 7.12.1. So, it might be necessary to work around this until that GHC fix.
from bindings-glfw.
@gglouser Great sleuthing! If that's the case then I feel better about adding the fix to the glfw source.
from bindings-glfw.
I've pushed the fix to hackage.
from bindings-glfw.
I'm having the same issue with GHC 8.0.1.
from bindings-glfw.
Related Issues (20)
- Update glfw to 3.1.1 HOT 1
- Should the dependency to Xxf86vm be made optional? HOT 1
- Expose GLFW_USE_DWM_SWAP_INTERVAL as build flag.
- glfw3native.h bindings HOT 3
- Submit to Stackage HOT 2
- Package needs a new maintainer HOT 10
- HUnit 1.3 support HOT 2
- update glfw to 3.2.1 HOT 9
- License mismatch between Cabal and LICENSE file HOT 1
- Make the glfw source to a submodule? HOT 1
- unable to load package `bindings-GLFW-3.1.2.2' HOT 5
- Stack install failing HOT 11
- Duplicate link in README
- glfw_config.h on linux doesn't support multiple window managers.
- MoltenVK support HOT 3
- Upgrade to 3.3
- Doesn't build on Windows. Num directive not supported in cross compilation mode. HOT 8
- OpenBSD support for bindings-GLFW HOT 7
- Upgrade to 3.3.4 or 3.3.6 HOT 1
- broken on M1 macs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bindings-glfw.