Re: [Fwd: Re: How to clear/replace filter list in File Chooser?] Compiling first GTKMM program
- From: Robert Pearce <rob bdt-home demon co uk>
- To: gtkmm-list gnome org
- Subject: Re: [Fwd: Re: How to clear/replace filter list in File Chooser?] Compiling first GTKMM program
- Date: Mon, 26 Feb 2007 18:23:02 +0000
On Wed, 21 Feb 2007 18:03:48 -0800 (PST) Tricia wrote:
>
> I tried the order you suggested:
>
> $ g++ main.cpp helloworld.cpp `pkg-config gtkmm-2.4 --cflags --libs` -o main
> : No such file or directory
>
That's a little odd - error messages with a : in the very first column
usually indicate some bizarreness
>
> I don't think a typo on the filenames is the issue either. the files in
> this directory:
> $ ls
> Makefile helloworld.cpp helloworld.h main.cpp simple.cc
>
> Thanks for the advice. Anything else I could try?
I would try issuing the pkg-config command by itself :
$ pkg-config gtkmm-2.4 --cflags --libs
This will show you what is being passed to the compiler as options. If
there's something wrong with this command you may get garbage that the
compiler sees as an invalid path. You should get a long list of options
of the form "-I/usr/include/..." and "-lname"
(For what it's worth, I believe the original advice about order of
compiler arguments to be erroneous)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]