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...
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...
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...
1
Solved
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...
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...
1
Solved
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...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
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.