Giter Site home page Giter Site logo

GLFW/glfw3.h not found about glfw HOT 6 CLOSED

go-gl avatar go-gl commented on June 3, 2024
GLFW/glfw3.h not found

from glfw.

Comments (6)

dmitshur avatar dmitshur commented on June 3, 2024

Is libglfw-dev GLFW 3 or 2?

I've never tried installing GLFW 3 that way, I usually build it from source. You can follow these steps to do that, I know they work on fresh Ubuntu 14.04.

https://github.com/shurcooL/reusable-commands/blob/ed33ae496f36aaea735a1d183f77e833c92a9f3d/go-gl_glfw3_install.sh#L19-L32

from glfw.

tapir avatar tapir commented on June 3, 2024

libglfw-dev in ubuntu repos are outdated. You have to compile glfw3 yourself.

from glfw.

notnot avatar notnot commented on June 3, 2024

I'm experiencing the same issue after upgrading to OS X 10.10...

from glfw.

dmitshur avatar dmitshur commented on June 3, 2024

Have you compiled GLFW (the C library) yourself? Which version did you compile?

Note that once GLFW 3.1 is released, compiling it will no longer be necessary as it will be vendored as part of this Go package. That should make installing it easier.

from glfw.

notnot avatar notnot commented on June 3, 2024

I found out that i needed to update XCode and the command line tools for
everything to work normally again. I found only one hit in google with a
hint to this solution. Before the XCode update, i could not even install
the GLFW3 library because the cmake build system could not find OpenGL
related files: my machine was messed up seriously...
Anyway, thanks for your answer. I will look into GLFW3.1, curious what
other changes it brings :)

On 22 December 2014 at 03:42, Dmitri Shuralyov [email protected]
wrote:

Have you compiled GLFW3 yourself?

Note that once GLFW 3.1 is released, compiling it will no longer be
necessary as it will be vendored as part of this Go package. That should
make installing it easier.


Reply to this email directly or view it on GitHub
#66 (comment).

from glfw.

mattlgy avatar mattlgy commented on June 3, 2024

Just had the same problem on Ubuntu 14.04, following https://github.com/shurcooL/reusable-commands/blob/ed33ae496f36aaea735a1d183f77e833c92a9f3d/go-gl_glfw3_install.sh#L19-L32 worked like a charm. Thanks @shurcooL!

Seems like this might be a common problem. Would linking to those instructions be a good idea until GLFW is included in the Go package? #106

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