[osg-users] osgversion on Mac, not logged in to console
Andy Skinner
Andy.Skinner at mathworks.com
Tue Oct 2 07:17:55 PDT 2007
Here's what our Mac guy said about this:
================
It appears that osgversion is linked in such a way that it initializes
Cocoa or the Window Server (Carbon with UI Events) even to return
version number, and it's complaining that it doesn't have a console for
the UI session when it's run.
If you have control over how the tool is built, see if it can be built
in such a way that it returns the version information before trying to
initialize Cocoa or Carbon with UI Events.
================
Does this help anyone see something we can change?
thanks,
andy
-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Andy
Skinner
Sent: Tuesday, October 02, 2007 9:37 AM
To: OpenSceneGraph Users
Subject: [osg-users] osgversion on Mac, not logged in to console
I'm having a problem that I don't think I did before.
I telnet to an OSX machine, and I'm not logged in to its console. I try
to run osgversion, and it says:
==========
kCGErrorRangeCheck : Window Server communications from outside of
session allowed for root and console user only
Init_Processes(), could not establish the default connection to the
WindowServer.Abort
==========
I'm sure this used to work, because I was running osgversion as the test
part of my build. I know I've seen work go on Version.cpp. I've not
got the very latest, but code from last week.
This still works for me if I VNC into the machine. I'm sure it would
work if I were logged in to the console.
Could someone with a Mac and another machine that'll let them telnet to
the Mac try this and tell me if it works?
thanks,
andy
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
More information about the osg-users
mailing list