Re: [gtk-list] Compile problems



Give the file a .c extension.  Unless it really is c++ source.  Than try using
g++.  I don't know the internals of why this happens...but I have seen it
before and I know if it's plain c even though it has a c++ extension, gcc tries
to do something different with it.

-Brian

On Wed, 21 Apr 1999, Atto McMicro wrote:
> I have compiled and installed glib-1.2.1 and gtk+-1.2.1.
> Yet, I get an error when I try the very first program in the GTK
> tutorial. I have named the source file "gtkt.cpp" and I compiled as
> following (as shown in the tutorial):
> 
>  gcc gtkt.cpp -o gtkt `gtk-config --cflags --libs`
> 
> 
> 
> I get the following error:
> 
> gcc: installation problem, cannot exec `cc1plus': No such file or
> directory
> 
> Am I missing any other libraries? Do I need a specific version of gcc?
> (I have gcc 2.7.2.3)
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]