Re: [gtkmm] Problem compiling libgnomemm-1.3.5



On 2002.07.10 17:25 Marcelo E. Magallon wrote:
>> Pierre <pierre epinetworx com> writes:

 > -DG_LOG_DOMAIN=\"libgnomemm\" -I../../libgnome -I../../libgnome
                                 ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
 > -I/usr/local/include/atk-1.0 -I/usr/local/include/libgnome-2.0
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 > cc1plus: warning: changing search order for system directory
 > "/usr/local/include"

 Like Murray said, this is the problem.

 Your include path looks like this:

    ...
    /usr/local/include
    ...
    ../../libgnome
    ...
    /usr/local/include/libgnome-2.0
    ...

 > In file included from /usr/local/include/libgnome/libgnome.h:39,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 and you end up picking up lignome.h from GNOME, not GNOME 2.  That
is,
 you pick it from /usr/local/include/libgnome and not from
 /usr/local/include/libgnome-2.0/libgnome

 I'm sure this is the same thing as in your other problem with glide.

Yes it seems to be the same thing.
I habe 3 'libgnome.h' file on my computer :

/usr/local/include/gnome-1.0/libgnome/libgnome.h
/usr/local/include/libgnome-2.0/libgnome/libgnome.h
/usr/local/include/libgnome/libgnome.h

Which one is the right for libgnomemm ?


Pierre.



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