Skip to main content

Questions tagged [glfw]

GLFW is a free, Open Source, multi-platform library for opening a window, creating an OpenGL context and managing input. It is easy to integrate into existing applications and does not lay claim to the main loop. GLFW is written in C and has native support for Windows, Mac OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD. GLFW is licensed under the zlib/libpng license.

glfw
0 votes
0 answers
8 views

Failed to use MTWindow in Docker

I used the following method to open the desktop xhost '+local:*'; The description of creating a Docker container is as follows: sudo docker run -dit --privileged --name test3 -v /dev/bus/usb:/deb/bus/...
wicky's user avatar
  • 1
0 votes
1 answer
40 views

Access violation inside glfwPollEvents()? [closed]

When I start my program: #include <GL/glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <fstream> #include <string> #include <sstream> struct ...
Lemoine Maxence's user avatar
-2 votes
0 answers
12 views

pyassimp.errors.AssimpError: assimp library not found [closed]

(CGIP) ┏[vbk16] ┖[E:\6th Sem\CG\Mini_Project]> python .\Program.py Traceback (most recent call last): File "E:\6th Sem\CG\Mini_Project\Program.py", line 7, in <module> import ...
VELUPUGONDA BHAVANI KRISHNA's user avatar
-1 votes
1 answer
32 views

Modifying window size with GLFW

When I use GLFW to create a window with glfwWindowHint(GLFW_DECORATED, GLFW_FALSE); to remove window decorations, how can I resize the window by dragging with the mouse? "I tried using ...
xMonody's user avatar
1 vote
1 answer
53 views

GLEW vs WinAPI, windows size and click coordinates problem

I have some discrepancies when I use different windowing APIs. When I create window with WinAPI it is 1.5 times larger than the window created by GLFW. Documentation for both says that width and ...
armagedescu's user avatar
  • 2,061
0 votes
0 answers
24 views

Cmake Nested Projects Static Linking Problem with glew32s.lib and glfw3.lib [duplicate]

I am developing a library to easily create an OpenGL window context and display an image on it. I have two CMakeLists.txt files. The first one (top project) is for the .exe file, and the second one (...
Thow's user avatar
  • 55
-1 votes
0 answers
20 views

cmake build is coming up with a "Undefined reference to 'glClear'" error [duplicate]

this is the error code i get when i try to run the program [main] Building folder: opengl opengl [build] Starting build [proc] Executing command: /usr/bin/cmake --build /home/amy/Documents/dev/opengl/...
Amy Hickling's user avatar
0 votes
1 answer
115 views

libdecor-gtk-WARNING: Failed to initialize GTK. Occurs when using glfwinit

I have a testing project set up for bgfx, which I was trying to learn. Problem is, i can't get GLFW to initialize properly. The code snippet currently existing is this: #include <bgfx/bgfx.h> #...
Entropy's user avatar
  • 11
-2 votes
1 answer
60 views

LWJGL glfwPollEvents blocks libGDX main loop on macOS

While my Lwjgl3Application-based game runs fine on windows and various linux distros, I only get a black screen on macOS. Looks like the call to glfwPollEvents does not return at all which blocks the ...
Sebastian's user avatar
  • 5,947
-1 votes
0 answers
22 views

error in make :In function 'initextensions': undefined reference to symbol 'XF86VidModeQueryExtension' (linux,ubuntu) [duplicate]

I met an error when I run make command in bulid file of my project It shows //usr/local/lib/libglfw3.a(x11_init.c.o): In function `initExtensions' : x11_init.c:(.text+0x196c): undefined reference to ...
時雨_Saber's user avatar
-1 votes
0 answers
33 views

Connot create graphics with OpenGL 4 [duplicate]

I want to learn OpenGL 4.4 on my PC under Windows 10, but I have a problem. I have two graphics processors : the first is Intel HD Graphics 4000 wich is compatible with OpenGL 4.0 and the second is ...
Diego Takenne's user avatar
2 votes
1 answer
63 views

Multiple models not rendering together but rendering seperately

I am building a simple test to see if I can render multiple separate objects using multiple EBOs, VAOs, and VBOs. I've gotten this to work in the past with just quads, but now that I am using a cube ...
Connor's user avatar
  • 57
-1 votes
1 answer
53 views

Can someone explain me how to add GLFW in a new CLion project?

I've been learning Cpp for a little while now, and I want to import libraires and such. But I haven't been able to import and use anything so far... I downloaded the binaries for GLFW, copied the ...
Lolou.'s user avatar
  • 19
0 votes
0 answers
34 views

Vulkan window is not opening

I am following through the tutorial in the vulkan website. Vulkan tutorial I went through all the initial setup on arch linux and executing vkcube actually works properly and opens a window with the ...
Fardin Rahman's user avatar
-1 votes
0 answers
32 views

c++ why we using "button.label" in FTLG lib?

#include <GL/glew.h> #include <GLFW/glfw3.h> #include <chrono> #include <thread> #include <FTGL/ftgl.h> struct Button { float x, y, width, height; bool isHovered ...
sky3889 kriper's user avatar

15 30 50 per page
1
2 3 4 5
164