FW: Blank Window in X11 Application Port-update
FW: Blank Window in X11 Application Port-update
- Subject: FW: Blank Window in X11 Application Port-update
- From: Joe Koski <email@hidden>
- Date: Mon, 25 Aug 2003 18:39:21 -0600
This is an update of my previous posting. After some discussion with the
code's primary author (also a Fortran programmer) we changed some constants
in the code's C and Fortran color mapping and found that the program was
printing white text on a white screen. We still don't have the colors right,
but the porting problem is related to the Linux color structure wired into
in the code. My question: can someone suggest a good primer on the Mac X11
color maps?
Joe Koski
------ Forwarded Message
From: Joe Koski <email@hidden>
Date: Sun, 24 Aug 2003 17:05:42 -0600
To: <email@hidden>
Subject: FW: Blank Window in X11 Application Port
I'm porting a locally written X11 graphics program which is a combination of
Fortran and C to my Mac running OS X 10.2.6. I'm using gcc 3.3 (not the
Apple version) and g77 3.3 to compile it. Linking is done with g77 with the
-lc option included. I recently built OSF Geomview (all C code) successfully
with the same compiler configuration as well as many Fortran codes of
varying complexity, so I do have some confidence in this compiler
configuration. Other X11 applications work properly, including xterm,
Geomview, GMV, xcalc, etc.
The program I'm porting was originally a Linux program that has worked for
many years. My problem: the compiled program successfully initializes (it
seems so, anyway) an X-window, but the window remains totally blank
throughout the session. During the compilation, there are no complaints from
the compiler, and it apparently found the needed C header files in
/usr/X11R6/include/X11 and the required library libX11.a in /usr/X11R6/lib.
There were no missing object files reported. The program's menu works (if
somebody tells me what keys to hit while looking at the Linux version) and
the code even successfully writes postscript output files of the unseen "on
screen" graphics.
Has anyone seen this blank X11 window behavior? I'm mostly a Fortran
programmer and mostly a user (not a programmer) of X11, but it would be nice
to get this application working. Any ideas about where to start?
Joe Koski
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback:
http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
------ End of Forwarded Message
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.