|
From: | Xavier Glattard |
Subject: | Re: Quartz Display Services and then NSOpenGLPixelFormat |
Date: | Thu, 12 Feb 2009 00:54:31 +0100 |
User-agent: | Thunderbird 2.0.0.4 (Windows/20070604) |
Hi The backend bundle is not loaded. You need to initialize the NSApplication. And you will soon need to link against openGL lib. --- GNUmakefile ------------ include $(GNUSTEP_MAKEFILES)/common.make APP_NAME = Test Test_OBJC_FILES = test.m # For Unix systems : #ADDITIONAL_OBJC_LIBS += -lGL # For Windows system : #ADDITIONAL_OBJC_LIBS += -lopengl32 include $(GNUSTEP_MAKEFILES)/application.make --- test.m -------------- int main (void) { CREATE_AUTORELEASE_POOL(pool); [NSApplication sharedApplication]; /* your code */ DESTROY(pool); } Anyway, OpenGL seems broken on my Windows system: the background of the view is printed _over_ the GL view... Only the 'non retained' backing store works. Regards Xavier
[Prev in Thread] | Current Thread | [Next in Thread] |