Ahhh, I just found it. It's in /usr/local/include. I just did the pkg-config
commands again and they work now. Is there anything else I need to do to get
Eclipse working? It still can't find clutter/clutter.h.

On Tue, Dec 30, 2008 at 9:20 PM, Vlad Seryakov <[email protected]>wrote:

> Strange, where did make install send the files then?
>
> Z. S. O. wrote:
>
>> And to be clear, I don't see clutter-0.8.4 in /opt/local/lib either.
>>
>> On Tue, Dec 30, 2008 at 9:16 PM, Z. S. O. <[email protected] <mailto:
>> [email protected]>> wrote:
>>
>>    Should I see a directory called "clutter-0.8.4" int /opt/local?
>>    Because I don't. I only see bin,
>>    etc, include, lib, libexec, man, sbin, share, and var. I hope the
>>    installation didn't fail without me knowing it...
>>
>>    Anyway, I did "export
>>    PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:$PKG_CONFIG_PATH" but the
>>    two pkg-config commands appear to have the same result as before.
>>
>>    On Tue, Dec 30, 2008 at 9:06 PM, Vlad Seryakov
>>    <[email protected] <mailto:[email protected]>> wrote:
>>
>>        When you compiled clutter and then installed, i suppose it went
>>        into /opt/local with pkgconfig files in /opt/local/lib/pkgconfig
>>
>>        You need to set environment variable
>>        PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:$PKG_CONFIG_PATH
>>
>>        before running pkg-config command
>>
>>
>>
>>        Z. S. O. wrote:
>>
>>            So you mean that running those two commands should fix the
>>            Eclipse issues, or is that something else? Both of them lead
>>            to this error: "Package clutter-0.9 was not found in the
>>            pkg-config search path."
>>
>>            Here's the Eclipse console output for the empty project:
>>
>>            make all Building file: ../src/TestClutter.cpp
>>            Invoking: GCC C++ Compiler
>>            g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP
>>            -MF"src/TestClutter.d" -MT"src/TestClutter.d"
>>            -o"src/TestClutter.o" "../src/TestClutter.cpp"
>>            ../src/TestClutter.cpp:1:29: error: clutter/clutter.h: No
>>            such file or directory
>>            make: *** [src/TestClutter.o] Error 1
>>
>>            On Tue, Dec 30, 2008 at 8:51 PM, Vlad Seryakov
>>            <[email protected] <mailto:[email protected]>
>>            <mailto:[email protected]
>>            <mailto:[email protected]>>> wrote:
>>
>>               You have to use `pkg-config --cflags clutter-0.9`
>>            `pkg-config --libs
>>               clutter-0.9`
>>
>>               If Ecclipse cannnot execute, just run it and add the
>>            output into
>>               project properties
>>
>>
>>               Z. S. O. wrote:
>>
>>                   I have successfully built and installed clutter after
>>            running
>>                   Vlad's script (thanks again!). I am now attempting to
>>            create a
>>                   C++ project in Eclipse, but I don't know how to link
>>            it the
>>                   clutter library. I added "clutter" to the linker in
>>            the project
>>                   properties, but it still can't find clutter/clutter.h
>>            when I
>>                   #include it. Is there something else I need to do to
>>            get it working?
>>
>>
>>               --    Vlad Seryakov
>>               [email protected] <mailto:[email protected]>
>>            <mailto:[email protected]
>>            <mailto:[email protected]>>
>>
>>               http://www.crystalballinc.com/vlad/
>>
>>
>>
>>        --        Vlad Seryakov
>>        [email protected] <mailto:[email protected]>
>>        http://www.crystalballinc.com/vlad/
>>
>>
>>
>>
> --
> Vlad Seryakov
> [email protected]
> http://www.crystalballinc.com/vlad/
>

Reply via email to