Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 1 of 1

Thread: Error link the library GLFW

  1. #1
    Newbie Newbie
    Join Date
    May 2015
    Posts
    2

    Error link the library GLFW

    Hi, sorry for my bad English, I was coding many graphics engines either with DirectX or OpenGL, but now wanted to try GLFW and when link library recognize me, even recognizes the header.

    When I turn to compile the project, the following appears:
    undefined reference to `glfwInit '
    undefined reference to `glfwCreateWindow '

    And other methods.

    How could I fix this? I guess the question should be:
    The contents of the library GLFW is faulty, another idea I can think and I tried with different compilers and nothing happens.

    (My IDE is Code :: Blocks)

    Thank you, bye.

    EDIT: (I'm compiling with MinGW.)
    Last edited by Lord Fers; 05-29-2015 at 03:01 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •