glfw Questions

1

Solved

I am trying to create a simple GLFW window and a succeed but xcode gives me an error: 2016-12-14 10:16:40.412191 CREngine[830:21929] [General] ERROR: Setting <GLFWContentView: 0x100369850> a...
Headrick asked 14/12, 2016 at 15:21

2

basically i try to figure out why compiler complains about missing glew-library: fatal error: 'GL/glew.h' file not found My setup: brew list: glew glfw glm In /usr/local/include directory: ...
Lasala asked 12/12, 2016 at 19:8

3

I'm currently trying to get a triangle to render using OpenGL 3.3 and C++ with the GLM, GLFW3 and GLEW libraries, but get an error when trying to create my shaderprogram. Vertex info (0) : er...
Schrick asked 13/9, 2014 at 1:4

1

Solved

I'm trying to draw two triangles in a window in OpenGL 3.3. I'm using the GLFW library for the windowing system. From what I understand, I should have two VBOs (one for each triangle) and one VAO ...
Gourmand asked 17/11, 2016 at 10:50

1

Solved

I'm trying to create a glfw window in my Debian Stretch system. The code for initialize glfw: // Initialize GLFW void initGLFW() { if (!glfwInit()) { exit(EXIT_FAILURE); } glfwSetErrorCall...
Grogram asked 29/8, 2016 at 19:29

4

I am having some difficulties with codeblocks 10.05 recognizing the GLFW libraries on my machine. When I create an empty project, and copy paste this code found from this GLFW tutorial >> http://co...
Cierracig asked 22/10, 2011 at 0:35

2

Solved

I'm struggling with creating a window with the GLFW 3 function, glfwCreateWindow. I have set an error callback function, that pretty much just prints out the error number and description, and accor...
Fokine asked 29/6, 2013 at 15:33

1

Solved

I know LWJGL is just a wrapper for OpenGL. It's a java library designed to use the lower level OpenGL functions in the java language. As far as I understand now, GLFW is just a library which makes...
Spatula asked 28/3, 2016 at 15:36

2

Solved

I am using GLFW for handling window events in an application. It works fine. Later I decide to remove raw pointers starting from GLFWwindow. It defined in the file glfw3.h as: typedef struct GLFWwi...
Flighty asked 4/3, 2016 at 10:28

3

Solved

I've compiled glfw3 and the included examples using cmake and make without problems. Onto writing my first project. Being new to opengl and glfw, and unexperienced with C and CMake, i'm struggling ...
Mariehamn asked 9/7, 2013 at 22:18

1

I want to make a 3D model in Blender and load it in OpenGL. Can someone give a step-by-step approach on how to do so. I tried to google but did not get any proper results. Programming language: C+...
Thiel asked 31/1, 2016 at 8:8

1

I'm stuck trying to make my window dragable. Here is my code, #include <stdio.h> #include <math.h> #include <GL/gl.h> #include "include/GLFW/glfw3.h" void cursor_position_callb...
Natala asked 10/10, 2015 at 9:52

2

I'm attempting to build a small project using glfw3 but no matter what I do I can't get pkgconfig to set GLFW_LIBRARIES. Here is my CMakeList.txt cmake_minimum_required(VERSION 3.3) project(Learn...
Beater asked 19/12, 2015 at 5:0

1

Solved

How do I get the position of a cursor? I looked in the documentation of GLFW, and there is a method glfwGetCursorPos(window, &xpos, &ypos) but Java does not have pointers so when I tried th...
Chavey asked 8/11, 2015 at 9:26

3

I have this simple code: #include <stdio.h> #include <stdlib.h> #include <GL/glew.h> #include <GL/glfw.h> int main(int argc, char const* argv[] ) { if( !glfwInit() ){ f...
Monarchism asked 31/7, 2011 at 11:45

1

Solved

I've recently found GLFW and have been trying out making a simple application with it and was wondering about glfwTerminate and glfwDestroyWindow. I understand that glfwTerminate will cleanup any w...
Filomenafiloplume asked 8/10, 2015 at 20:26

3

Solved

I am sure that everything is linked correcly. I initially was using glload and glfw from the Unofficial GLSDK but then I decided to do away with glload which meant that I had to use glew in order t...
Vinegarroon asked 19/12, 2012 at 0:38

3

I’m trying to use OpenGL 3.3/4.1 on my Mac OSX 10.9 now that its finally available. I’ve been using the SuperBible 5 book and its examples to learn 3.3. I just found out that its actually only runn...
Hwang asked 3/5, 2014 at 22:10

2

Problems linking against GLFW in OSX I've read this already but it seems to be a different issue with me. The command being ran in the makefile is, g++ -o main main.cpp -lglfw -framework Cocoa...
Overjoy asked 20/7, 2012 at 2:46

1

Solved

I am creating an opengl application and it works well when I didn't use multithreading. The original code is shown below: void Controller::BeginLoop() { while (!glfwWindowShouldClose(_windowHan...
Condense asked 25/5, 2015 at 5:47

3

Playing around with OpenGL for a while, using the freeglut library, I decided that I will use GLFW for my next training project instead, since I was told that GLUT was only designed for learning pu...
Capping asked 4/7, 2012 at 20:48

2

I'm working on a GLFW application and I noticed a problem when resizing the window. While the user is scaling the window, the glfwPollEvents() function waits until the user finishes. This me...
Selway asked 25/5, 2014 at 18:15

1

Solved

I am following this tutorial. I cmake'd and make/make install'd glfw and glew perfectly(as far as I'm aware). However, when I try to compile the sample code... #define GLEW_STATIC #include &...
Agneta asked 5/4, 2015 at 16:45

3

Im trying to get my FPS to display in the window title but my program is just not having it. my FPS code void showFPS() { // Measure speed double currentTime = glfwGetTime(); nbFrames++; if ...
Revoke asked 23/8, 2013 at 21:26

1

Solved

I have completed the following video https://www.youtube.com/watch?v=shpdt6hCsT4 however, my hello world window looked like this: http://s1303.photobucket.com/user/eskimo___/media/screenshot_124_z...
Feckless asked 28/12, 2014 at 17:26

© 2022 - 2024 — McMap. All rights reserved.