glfw Questions

2

Using Ubuntu 16.04 LTS I have cloned a repo that has nice software in it, however, I can't find any valid instructions for solving the following issue. When I try and build the software it sayes. ...
Octavia asked 6/4, 2018 at 13:21

2

Solved

I'm using GLFW3 to create a context and I've noticed that the GLFW_SRGB_CAPABLE property seems to have no effect. Regardless of what I set it to, I always get sRGB conversion when GL_FRAMEBUFFER_SR...
Board asked 15/9, 2014 at 6:42

1

I'm working on a project with a lot of external dependencies, which are included in the project tree. I would like to pre-build all of the dependencies and share the importable targets within the p...
Cost asked 20/6, 2018 at 6:25

3

Solved

On GLFW FAQ, item 2.9 it is stated: [...] It is strongly recommended that all OpenGL and GLFW calls (except for thread management and synchronization calls) are made from the main thread, whic...
Beene asked 29/1, 2013 at 23:17

2

So i'm trying to capture mouse dragging in my OpenGL application. I've done the following so far: glfwSetMouseButtonCallback(window, mouse_callback); static void mouse_callback(GLFWwindow* window...
Coenobite asked 12/5, 2016 at 18:31

3

Solved

I have created an OpenGL application running on Windows. Is there any way I can query information about the pixel format of my current rendering window? (the window was created using the GLFW libra...
Playful asked 8/5, 2018 at 18:9

3

Solved

I'm on a linux system (arch linux specifically) and I'm trying to compile the introduction project from the official glfw page but I cannot seem to get gcc to compile it. If anyone doesn't know wha...
Tolliver asked 10/5, 2017 at 5:26

1

Solved

I'm having a problem where the following lines of code always print "Failed to initialize glad" and then exits the program: if (!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress)) { std...
Everetteverette asked 6/2, 2018 at 19:25

1

Solved

I've been following the Vulkan tutorial at https://vulkan-tutorial.com/ and I've been having issues with the section on setting up the window surface. Upon completing the section and testing nothin...
Halt asked 24/1, 2018 at 22:30

0

I'm using GLFW for the first time. Pulled the latest stable release (3.2.1) and I'm using the example code found on the GLFW website: #include <GLFW/glfw3.h> int main(void) { GLFWwindow* w...
Wharfinger asked 16/1, 2018 at 2:57

3

Solved

I am in the process of learning OpenGL on Linux but I can't get mode switching working (windowed to full screen and back). The window appears to be going into full screen but but not looking corre...
Herne asked 20/11, 2017 at 23:22

3

Solved

I am using GLFW and I would like to know how to toggle full-screen windowed mode. Not changing the resolution, but instead setting the window to be on top and without decoration. If GLFW is not cap...
Czechoslovakia asked 20/4, 2012 at 20:42

1

Solved

My goal is to place a sphere right at where the mouse is pointing (with Z-coord as 0). I saw this question but I didn't yet understand the MVP matrices concept, so I researched a bit, and now I ha...
Bloodstream asked 14/10, 2017 at 21:49

2

Solved

Look at this very basic C++ code: if(!glfwInit()) { return -1; } glfwWindowHint(GLFW_SAMPLES, 4); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); wi...
Jeremy asked 1/10, 2017 at 9:9

2

Solved

I am trying to drag an undecorated window in GLFW but am encountering some event lag, even though I am using glfwWaitEvents() I have a cursor position callback, and a simple loop: // register a c...
Dissimulation asked 13/9, 2017 at 17:43

1

Solved

Fairly new to using GLFW, I want to output the cursor coordinate onto the console whenever the left mouse button in clicked. However, I am not getting any output at all. static void key_callback(...
Thither asked 16/7, 2017 at 15:40

7

Solved

I'm writing a GLFW app, in which I've wrapped the function calls into a simple class. I'm having trouble setting the key callback. My class is defined as: class GAME { private: bool running; publ...
Brimstone asked 6/10, 2011 at 15:50

2

Solved

I was creating an OpenGL window with GLFW on some Dell PC that used integrated graphics. I thought that major means maximum and minor means minimum. However having a restricted version range of (3,...
Pullen asked 27/4, 2017 at 23:17

2

Solved

I recently had to reinstall Linux Mint on my PC. I reinstalled all my libraries, such as GLFW and came across an error I have never seen before. Unfortunately my google-fu skills do not seem up to ...
Alithea asked 17/11, 2015 at 1:56

1

Solved

What does setting this variable do? For instance, if I set it to 4, what does that mean? I read a description on glfw.org (see here: GLFW Window Guide) under the "Framebuffer related hints" secti...
Deepsix asked 17/3, 2017 at 2:45

3

Solved

I'm using GLFW so set up a Window with OpenGL. As i'm just started learning OpenGL and all the stuff around it, this might sound like a silly question, but why is the example program of GLFW using ...
Interrupt asked 8/5, 2014 at 19:3

2

I've been all over the internet and I simply cannot find a way to install GLFW for OSX and use it with Xcode. A lot of articles use cmake for this, which I tried to install but I still can't access...
Santanasantayana asked 16/10, 2013 at 18:25

1

Ubuntu 14.04 , GLFW 3.2.1 , OpenGL 4.5.0 NVIDIA 367.57 I am trying to build the "Hello Triangle" OpenGL Example found at http://antongerdelan.net/opengl/hellotriangle.html but I am running into t...
Celesta asked 17/1, 2017 at 22:18

2

Solved

I'm using GLEW version 1.10.0 with MinGW (Through the CodeBlocks IDE), running on Windows 8. I downloaded the Windows binaries from the GLEW website, and have been linking to the libraries included...
Sennacherib asked 29/7, 2013 at 2:35

1

After doing some research and debugging in my C++ project with glfwGetTime(), I'm having trouble making a game loop for my project. As far as time goes I really only worked with nanoseconds in Java...
Girard asked 5/12, 2013 at 2:4

© 2022 - 2024 — McMap. All rights reserved.