Comments (7)
It looks like this is a problem in CoreData, which makes me think that Yosemite requires the newest Mac frameworks. Hopefully updating to GLFW 3.0.4 will fix this. I'm currently working on that update. I will ping you @TTimo when those changes are up on hackage. :)
from bindings-glfw.
@TTimo in the meantime - you can clone the newest version of bindings-GLFW here on github to pick up these changes before they hit hackage.
from bindings-glfw.
Just tried latest git, it's a different error:
Looks like it may be hitting Obj-C code with a C or C++ compiler.
In file included from /usr/include/dispatch/dispatch.h:51:0:
0,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23,
from glfw/src/cocoa_platform.h:36,
from glfw/src/internal.h:69,
from glfw/src/clipboard.c:27:
/usr/include/dispatch/object.h:143:15:
error: expected identifier or '(' before '^' token
typedef void (^dispatch_block_t)(void);
^
/usr/include/dispatch/object.h:362:3:
error: unknown type name 'dispatch_block_t'
dispatch_block_t notification_block);
^
from bindings-glfw.
@TTimo, which version of xcode have you installed? I'm on Mac Yosemite but can not reproduce this.
from bindings-glfw.
XCode 6.1.1 - latest afaik
timo@Timothees-MBP ~> gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
from bindings-glfw.
There is a new version of the bindings that target glfw 3.1. Hopefully you'll not run into the same problem!
from bindings-glfw.
Installed bindings-GLFW-3.1.1
Installed GLFW-b-1.4.7.1
Yep .. it's working great again. Thanks!
from bindings-glfw.
Related Issues (20)
- Source revision version number is wrong HOT 5
- 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
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.