Git Product home page Git Product logo

Comments (7)

schell avatar schell commented on June 30, 2024

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.

schell avatar schell commented on June 30, 2024

@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.

TTimo avatar TTimo commented on June 30, 2024

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.

schell avatar schell commented on June 30, 2024

@TTimo, which version of xcode have you installed? I'm on Mac Yosemite but can not reproduce this.

from bindings-glfw.

TTimo avatar TTimo commented on June 30, 2024

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.

schell avatar schell commented on June 30, 2024

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.

TTimo avatar TTimo commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.