Skip to content

when I do "4. Build and Run", after "make", the system give an ERROR ! #15

@Suteraa

Description

@Suteraa
/home/sutera/download/glfw-3.3.9/build/xap-client/Features/../Overlay/Overlay.hpp:104:24: error: ‘GLFW_MOUSE_PASSTHROUGH’ was not declared in this scope
  104 |         glfwWindowHint(GLFW_MOUSE_PASSTHROUGH, GLFW_TRUE);
      |                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /home/sutera/download/glfw-3.3.9/build/xap-client/Features/Sense.hpp:12,
                 from /home/sutera/download/glfw-3.3.9/build/xap-client/xap.cpp:21:
/home/sutera/download/glfw-3.3.9/build/xap-client/Features/../Overlay/Overlay.hpp: In member function ‘void Overlay::CaptureInput(bool)’:
/home/sutera/download/glfw-3.3.9/build/xap-client/Features/../Overlay/Overlay.hpp:260:44: error: ‘GLFW_MOUSE_PASSTHROUGH’ was not declared in this scope
  260 |         glfwSetWindowAttrib(OverlayWindow, GLFW_MOUSE_PASSTHROUGH, capture ? GLFW_FALSE : GLFW_TRUE);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/xapclient.dir/build.make:76:CMakeFiles/xapclient.dir/xap.cpp.o] error 1
make[1]: *** [CMakeFiles/Makefile2:111:CMakeFiles/xapclient.dir/all] error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions