Anomaly running an X11 application using "Run" in Xcode 3...
Anomaly running an X11 application using "Run" in Xcode 3...
- Subject: Anomaly running an X11 application using "Run" in Xcode 3...
- From: "Robert A. Weller" <email@hidden>
- Date: Tue, 20 Nov 2007 00:14:21 -0600
This weekend we migrated an application that we develop using Xcode
from Tiger to Leopard using Xcode 3. When recompiled, the application
properly opens an X11 window if it is run directly from the terminal.
However, when run from within Xcode, the X11 window no longer opens.
The application is actually a massive python module created from c++
using swig. Does anyone have an existence proof that the new launching
scheme for X11 works properly for such a case? Specifically, in Xcode
the "Run" command triggers "python -i myapp.py" where myapp.py is a
pure python routine that imports the module which does X11 graphics.
Somehow running from Xcode with this level of indirection seems to
confuse the new X11 system, although why it should do so is unclear.
All other X11 applications both locally and on our remote Linux
cluster seem to work normally. As per the new paradigm, DISPLAY is no
longer being set manually. Actually, if not for this glitch, the new
launchd scheme together with the automatic ssh-add using the keychain
would be a really nice pair of improvements.
The nature of the application isn't important, of course, but it is a
Monte Carlo simulation program developed under Darwin, for the Linux
cluster.
Any suggestions would be appreciated.
Thanks,
BW
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden