glfw Questions

1

Solved

I have just started using Emscripten and would like to start using GLFW and other libraries. I am completely lost on how to build, link, and use other libraries with Emscripten. I have tried foll...
Definitive asked 27/12, 2014 at 16:0

2

Solved

I am using GLFW for a window in my C++ application and I am trying to get input events using GLFW's callbacks. For instance, this is how you get key events: void key_callback(GLFWwindow* window, i...
Spleeny asked 22/12, 2014 at 5:7

2

Solved

I'm working with a game made with glfW and running in Ubuntu. My problem is that hiding the mouse cursor with the line glfwDisable(GLFW_MOUSE_CURSOR); causes some machines to simply disregard th...
Radius asked 13/12, 2010 at 17:31

2

Solved

I have a very simple game loop using GLFW as follows (windows x64 Release mode) I would expect the program to execute very rapidly, however it seems my delta as computed below is always 16.667ms w...
Achievement asked 19/9, 2014 at 16:53

1

Solved

My university started teaching a course which includes OpenGL programming. They make us use FreeGLUT to create a window and a context for OpenGL, but I found an online course at lynda.com abo...
Alyose asked 7/9, 2014 at 9:12

1

Solved

Summary Compiler MinGW OS Windows 7 x64 glViewport() function gives Undefined Reference error I have tried adding -lGL resulted cannot find -lGL <-- How do I locate OpenGL dll files ?...
Phylis asked 20/7, 2014 at 6:1

3

I am working on a Mac, I've got FreeGlut compiled and installed, but I can't seem to get the OpenGL 3.2 context with it. However, I can get it without any problem while using GLFW. So in GLFW, this...
Advisory asked 26/2, 2013 at 15:50

2

Solved

I am trying to draw a simple cube in OpenGL and GLFW. In the code below, I can draw the cube, but it just appears as a simple rectangle. What is happening here? #if defined(_WIN32) || defined(_WIN6...
Andris asked 4/6, 2014 at 15:2

1

Solved

I'm using GLFW 3 and OpenGL 4 + GLSL 4 on a MacBook Pro. I get the following syntax error, when starting my program: ERROR: 0:5: 'varying' : syntax error syntax error The shader code: #version ...
Katmandu asked 4/5, 2014 at 13:20

1

Solved

The program below is supposed to: Create an invisible GLFWwindow* masterWindow Load a texture from a file, while the active OpenGL context is the one associated with masterWindow create a GLFWwi...
Uncivilized asked 25/4, 2014 at 18:54

3

Solved

I am linking SOIL in my library but when I compile I get these linker errors: 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library 1>li...
Baggott asked 9/3, 2012 at 5:26

2

Solved

I started to learn OpenGL (glfw) and I copy source from a tutorial and tried to compile it, but errors occured. I think I have corectly installed all header files (glm, glfw etc.) This is my sourc...
Dedededen asked 19/4, 2014 at 15:28

1

Solved

I have the following code: glfwWindowHint(GLFW_SAMPLES, 4); // 4x antialiasing glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPE...
Bontebok asked 5/4, 2014 at 22:53

1

Solved

I am trying to develop an openGL application with GLEW and GLFW on Windows using minGW. In the current directory, project/, I have the directories src/, bin/, and glfw-3.0.4.bin.WIN64/. I have the ...
Favin asked 25/3, 2014 at 0:9

1

Solved

I have the following code: void error_callback(int error, const char* description) { fputs(description, stderr); } int main( void ) { // Initialise GLFW if( !glfwInit() ) { fprintf( stderr, "F...
Abduce asked 6/3, 2014 at 2:48

1

Solved

I've been attempting to test out GLFW with C++ for quite a while and am having constant linker issues. I am fairly new to C++, although I have experience in Java and C#, working directly with the c...
Phenomenalism asked 25/2, 2014 at 8:46

1

Solved

I am trying to compile a very simple OpenGL program that uses GLFW3. Despite linking everything I deem necessary, I'm getting a plethora of undefined references. /usr/local/lib/libglfw3.a(x11_gamm...
Cozmo asked 10/2, 2014 at 19:15

1

Solved

I have just started to learn OpenGL, and am following this tutorial. I am having difficulty compiling the GLSL files that the tutorial uses. Originally when I tried compiling them the compiler sai...
Creight asked 25/1, 2014 at 18:11

1

Solved

Edit: I have in the meantime figured this out and written a detailed answer below. I just tried switching from the Express version of MSVC 10 to Eclipse CDT on Win7, and while configuring I encoun...
Excaudate asked 30/12, 2013 at 10:10

2

Solved

Having a minimal example using GLFW3: #include <GLFW/glfw3.h> int main(int argc, const char * argv[]) { glfwInit(); } ...results in a ton of linker errors: (small excerpt) Undefined sym...
Brower asked 22/8, 2013 at 21:55

1

Solved

I am looking for a simple modern OpenGL (3.2+)example in Python. I tried with GLUT and freeGLUT, but I am not able to get a 3.2 context on OS X (Mavericks). (This seems to be a known issue wi...
Cheesewood asked 15/11, 2013 at 3:38

1

Solved

I'm using GLFW 3.0 on Mac OS X 10.8, graphic card is Intel HD Graphics 5000 And my OpenGL API version is 2.1, aquired by glfwGetWindowAttrib(window, GLFW_CONTEXT_VERSION_MAJOR); glfwGetWindowAttr...
Convivial asked 29/10, 2013 at 12:51

1

Solved

I have a problem with compiling my program which uses glfw3 library. I'm getting list of errors of undefined references when trying to compile with make but my classes are compiled into .o files, ...
Quartana asked 14/10, 2013 at 14:3

1

Solved

Following some OpenGL tutorials for OpenGL 3+, Right out of the gate, I've run into some discrepancies, here is the code I managed to get, but right out of the gate, I'm getting this massive slew o...
Corregidor asked 21/8, 2013 at 16:38

1

Solved

I have a problem with the glfwSetCharCallback function. Whenever I call it, the glfwPollEvents throws an AccessViolationException saying: "Attempted to read or write protected memory. This is often...
Terrence asked 31/7, 2013 at 12:6

© 2022 - 2024 — McMap. All rights reserved.