phildos wrote on Tuesday, January 21, 2014:
Using as bare bones implementation as possible (essentially just
(apparently this forum software doesn’t like hashtags or triangle brackets, but imagine they are there)
include GL/glew.h
include GLFW/glfw3.h
int main()
{
glfwInit();
}
), I get an error when an external monitor is plugged in:
Error: Cocoa: Failed to find NSScreen for CGDisplay
app(80134,0x7fff7b8a0310) malloc: *** error for object 0x7fab9af003e0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
using llvm-g++. Any ideas of where this bug lies?