由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - X Window programming
相关主题
[转载] How to keep unreference symboles during linking? (g++)Help about installing Cxterm5.0!!!!
Could somebody tell me how to link Motif program on IBM RISC 6000?请教CRON DEAMON
some wt关于X 窗口的问题 ( setenv DISPLAY ... )
how to use iostream.h under SUN ?[转载] 急急的问!!!
help: how to read Chinese in Sun unix?Programming question!
About install cxterm on HP-Unix system. Help[转载] X-Win32一问
How to list all color names?Cygwin一问
What's wrong with "CXTERM"CXTERM INSTALL : HELP !How to change the background color of emacs?
相关话题的讨论汇总
话题: window话题: null话题: pa话题: thedisplay
进入Unix版参与讨论
1 (共1页)
c*****n
发帖数: 43
1
I am learning how to program on X Window. Here are some simple scripts tha
could not run. Could you guys please help me?
theDisplay=XOpenDisplay(NULL);
if (theDisplay==NULL)
{.....}
When I compile this .c file by command cc, it is shown that
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (test.o) was d
etected. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
XOpenDisplay (code)
Does this infomation mean the compiler/linker is o
p*****m
发帖数: 31
2
maybe during linking, you havn't setting the libraries for X11.
the right format shoult be:
cc this.c -o this -lx11 -L/usr/X/lib/x11
use -l to specify the library name
-L to specify the path for library
在 coolman (snail) 的大作中提到: 】
1 (共1页)
进入Unix版参与讨论
相关主题
How to change the background color of emacs?help: how to read Chinese in Sun unix?
How much memory do I have?About install cxterm on HP-Unix system. Help
[转载] how to port UNIX C++ to VC++?How to list all color names?
Cygwin / XFree86 doesn't workWhat's wrong with "CXTERM"CXTERM INSTALL : HELP !
[转载] How to keep unreference symboles during linking? (g++)Help about installing Cxterm5.0!!!!
Could somebody tell me how to link Motif program on IBM RISC 6000?请教CRON DEAMON
some wt关于X 窗口的问题 ( setenv DISPLAY ... )
how to use iostream.h under SUN ?[转载] 急急的问!!!
相关话题的讨论汇总
话题: window话题: null话题: pa话题: thedisplay