Solaris,Xdesigner,C ...... [英] Solaris, Xdesigner, C......
问题描述
好的我尝试在solaris组中发布此内容而没有回复。所以我
决定我会
问C大师。
首先,我是初学者使用的xdesigner和solaris。
我在Solaris 10上使用Sun cc编译器5.7版。
我使用xdesigner创建了一个简单的GUI版本7.7。在我生成了C代码后,我试图编译main。我收到很多警告和
错误,类似于下面的错误(我剪切并粘贴了最后4
错误,因为大多数编译问题都相似。):
mach1 #cc test_gui.c
mach1#...
" /usr/include/X11/Xresource.h" ;,第352行:语法错误之前或之后:
_Xconst
" /usr/include/X11/Xresource.h" ;,第352行:警告未定义或缺失
类型为_Xconst
" /usr/include/X11/Xresource.h" ;,第353行:警告未定义或缺失
类型为_Xconst
" /usr/include/X11/Xresource.h" ;,第354行:警告未定义或缺失
类型_Xconst
我错过了这些标题库或定义的内容
文件?如果是的话,我在哪里可以找到它们?
谢谢,
Jay
Hi,
Ok I tried posting this in the solaris group with no replies. So I
decided I''ll
ask the C gurus.
First off, I''m a total beginner using xdesigner and solaris.
I''m using the Sun cc compiler Version 5.7 on Solaris 10.
I created a simple GUI using xdesigner version 7.7. After I generated
the C code, I tried to compile the main. I get many warnings and
errors that are similar to the ones below (I cut and pasted the last 4
errors because most of the compiling issues are similar.):
mach1# cc test_gui.c
mach1# ...
"/usr/include/X11/Xresource.h", line 352: syntax error before or at:
_Xconst
"/usr/include/X11/Xresource.h", line 352: Warning undefined or missing
type for _Xconst
"/usr/include/X11/Xresource.h", line 353: Warning undefined or missing
type for _Xconst
"/usr/include/X11/Xresource.h", line 354: Warning undefined or missing
type for _Xconst
Am I missing something like a library or definition for these header
files? If so, where do I find them?
Thanks,
Jay
推荐答案
在文章< 11 ********************** @ f14g2000cwb.googlegroups .com> ;,
< ja * ***@aol.com>写道:
In article <11**********************@f14g2000cwb.googlegroups .com>,
<ja****@aol.com> wrote:
好的我试过在solaris组中发布这个没有回复。所以我决定我会问C大师。
首先,我是初学者,使用xdesigner和solaris。
Hi,
Ok I tried posting this in the solaris group with no replies. So I
decided I''ll
ask the C gurus.
First off, I''m a total beginner using xdesigner and solaris.
请允许我成为第一个说出这一点的人 - 我从我的心灵的深处说出来,带着所有的善意和爱心与之相关联
您在此新闻组中获得的有用帖子:
不可携带。不能在这里讨论。 Blah,等等,等等。
Allow me to be the first to say this - and I say it from the deepness of my
heart, with all the kindness and love one has come to associate with the
helpful posts you get in this newsgroup:
Not portable. Can''t discuss it here. Blah, blah, blah.
ja **** @ aol .com 写道:
好的我尝试在solaris组中发布此内容而没有回复。所以我决定我会问C大师。
Ok I tried posting this in the solaris group with no replies. So I
decided I''ll ask the C gurus.
对不起,你的问题与系统特定的东西有关,而不是与
C语言。
如果你在comp.unix.solaris中没有得到任何回复,你可以试试
之一comp.windows.x小组。
-
Keith Thompson(The_Other_Keith) ks *** @ mib.org < http://www.ghoti.net/~kst>
圣地亚哥超级计算机中心< *> < http://users.sdsc.edu/~kst>
我们必须做点什么。这是事情。因此,我们必须这样做。
Sorry, your problem has to do with something system-specific, not with
the C language.
If you didn''t get any responses in comp.unix.solaris, you might try
one of the comp.windows.x groups.
--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
感谢您的回复,
如果可以的话,请问一个跟进问题.. 。
这是否意味着当我使用xdesigner时,我需要用C ++生成我的代码?
再次感谢,
-J
Kenny McCormack写道:
Thanks for the reply,
If I can, ask one follow up question...
Does this mean when I use xdesigner, I need to generate my code in C++?
Thanks again,
-J
Kenny McCormack wrote:
文章< 11 **************** ******@f14g2000cwb.googlegroups .com>,
< ja **** @ aol.com>写道:
In article <11**********************@f14g2000cwb.googlegroups .com>,
<ja****@aol.com> wrote:
好的我试过在solaris组中发布这个没有回复。所以我决定我会问C大师。
首先,我是初学者,使用xdesigner和solaris。
Hi,
Ok I tried posting this in the solaris group with no replies. So I
decided I''ll
ask the C gurus.
First off, I''m a total beginner using xdesigner and solaris.
请允许我成为第一个这样说的人 - 我从内心的深处说出来,带着所有的善意和爱心与你得到的有用的帖子联系起来在这个新闻组中:
不便携。不能在这里讨论。 Blah,等等,等等。
Allow me to be the first to say this - and I say it from the deepness of my
heart, with all the kindness and love one has come to associate with the
helpful posts you get in this newsgroup:
Not portable. Can''t discuss it here. Blah, blah, blah.
这篇关于Solaris,Xdesigner,C ......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!