glfw Questions
1
Solved
Under normal circumstances, creating a shared handle in DX using CreateSharedHandle, then using glImportMemoryWin32HandleEXT in OpenGL should allow sharing. I tried rendering a triangle in DX and d...
3
Solved
I keep getting the unresolved external symbol' error when building the program. However, the program compiles fine. I'm using the GLFW and GLAD libraries.
#include <glad/glad.h>
#include <...
2
So I'm working on an OpenGL project in C++ and I'm running into a weird issue where after creating the GLFWwindow and drawing to it, the area that I'm drawing in only encompasses the bottom left qu...
2
I'm writting a game with OGL / GLFW in c++.
My game is always running at 60 fps and without any screen tearing. After doing some research, it seems that the glfwSwapInterval() function should be ...
Stila asked 18/5, 2018 at 13:37
4
Whenever I resize a GLFW window it doesn't draw while I'm resizing the window. The newly exposed part of the window only gets drawn on after I finish resizing the window. You can see it for yoursel...
Haematozoon asked 25/8, 2017 at 11:21
4
I installed glew, glfw and glm in eclipse cdt(c++) with the gcc/mingw, all statically.
All works fine, but I don't like the warning in the output console of eclipse:
Warning: corrupt .drectve at...
Wiggins asked 6/8, 2014 at 13:34
3
I'm following this tutorial to learn OpenGL, but I'm having trouble compiling since the compiler can't find one of the header files.
This is the file I'm trying to compile:
#include <glad/glad...
9
Solved
Under Visual C++, I have played around with Glut/FreeGlut/GLFW. It seems that everyone of these projects adds a CMD window by default. I tried removing it going under:
Properties->C/C++->Preproc...
Dunigan asked 13/5, 2011 at 17:10
3
I'm trying to learn OpenGL with GLFW, but I'm having some problems.
This is my main.cpp:
#include <GL/glfw.h>
int main()
{
glfwInit();
glfwSleep( 1.0 );
glfwTerminate();
}
This is my ...
4
Solved
I am trying to compile the GLFW quickstart guide (Here) in windows 8 64-bit using mingw. I am using the official 32 bit windows binary from the glfw website.
Everything works fine when I link the ...
2
Solved
I am preaty new to cmake . I was using makefiles before but due to QtCreator I am forced to use cmake. I am trying to learn glfw as well too. I have following cmake file:-
cmake_minimum_required(V...
2
Solved
I would like to know that how do I remove the title bar from an ImGui Window. I am using C++ with GLFW for this.
5
I am simply trying to get OpenGL working on my machine (Windows 7 64-bit) with GLFW.
I am getting the singular linker error:
undefined reference to 'glfwInit'.
The code I am trying to compile is t...
1
To handle text input I've set up a char-event callback with glfwSetCharCallback, and to handle non-text keypresses (arrow keys & hotkeys) I've set up a key-event callback with glfwSetKeyCallbac...
Excuse asked 27/10, 2018 at 8:46
2
Solved
I have a project (here) that works both on Linux and intel MacOS, but in my Mac m1 it doesn't. Whenever I try to compile it, I get the following errors (ops.: I'm using vscode m1 native):
pedrohacc...
Selinski asked 3/5, 2021 at 17:35
3
I am following this guide on how to build a project using GLFW3 with CMake on OSX 10.9.1, and I've run into some trouble. When I get to building the actual project I get the following errors:
$ ma...
5
Solved
The basic code I use is the example from http://www.glfw.org/documentation.html
I get this output:
1>------ Build started: Project: ConsoleApplication1, Configuration: Debug Win32 ------
1>...
Mansard asked 26/11, 2013 at 16:54
10
Solved
GLFW3
Last night I was working late trying to build the GLFW 3 packages for Linux from source. This process took me a very long time, about 3 hours in total, partly because I am unfamiliar with CMa...
Weintraub asked 21/7, 2013 at 0:30
6
Solved
I have a GLFW3 window that I am trying to change from resizable to not resizable.
I tried changing the Window Hint after the window was created but this doesn't do anything as the hints only affec...
2
So recently I've started a project involving GLFW (64-bit, with GLEW). However, I can't seem to get it to link correctly. Here's how I'm set up:
OS: Windows 8 64-bit
Compiler: mingw64
IDE: eclip...
1
In GLFW, there is something known as a User Pointer and I can set it with glfwSetWindowUserPointer. What I don't know is a User Pointer. This is my guess. A user pointer is a pointer to the user th...
5
Solved
Here's a simple program that draws a triangle following the mouse cursor's position.
What I (and hopefully you) can notice, is that the triangle lags behind the cursor, it's not as tight as when d...
2
1
Solved
I was following this tutorial on vulkan but I'm having trouble setting up the environment. My code looks exactly the same. I don't know what else to send here other than the logs since I have no cl...
Testify asked 31/8, 2021 at 19:31
1
Solved
the last few days i was messing with CMake, and everything worked fine, except that i can't find a way to link ImGUI with GLFW
Everything is build from source
Here is the error :
Consolidate compil...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.