[Kdenlive-devel] FFMPEG include path and some changes

Lúcio Corrêa lucio.correa at gmail.com
Mon Jul 7 19:33:13 UTC 2008


On Mon, Jul 7, 2008 at 4:11 PM, Lúcio Corrêa <lucio.correa at gmail.com> wrote:
> On Mon, Jul 7, 2008 at 4:10 PM, jb <jb at kdenlive.org> wrote:
>> On Monday 07 July 2008 20:57:31 Lúcio Corrêa wrote:
>>> >> >> On Tuesday 01 July 2008 23:02:57 Lúcio Corrêa wrote:
>>
>>> Here's the output:
>>>
>>> $ pkg-config --variable=includedir libavformat
>>> /usr/include/ffmpeg
>>>
>>> It doesn't look ok..  It should have returned
>>> /usr/include/ffmpeg/libavformat, no?
>>
>> No, it's correct. Can you now try to edit the file CMakeLists.txt in
>> kdenlive/src and at line 10 (inside the "include_directories" function),
>> insert the following line:
>>
>> ${FFMPEG_HEADER_PATH}
>>
>> Now remove the CMakeCache.txt in your build directory and tell me if it
>> compiles correctly. If it solves your problem I can commit the patch to svn.
>>
>> regards
>>
>> -------------------------------------------------------------------------
>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
>> Studies have shown that voting for your favorite open source project,
>> along with a healthy diet, reduces your potential for chronic lameness
>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
>> _______________________________________________
>> Kdenlive-devel mailing list
>> Kdenlive-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kdenlive-devel
>>
>
> Yes, worked! But now I have another problem that I forgot to mention
> before: There's something wrong the rpath, because it tries to do that
> with the library file, not with the library dir. I'm using gold
> linker.
>
>
> -lpthread -lkdecore -lsolid
> -Wl,-rpath,/home/kde-devel/kde/lib:/usr/lib/libmlt.so:/usr/lib/libmlt++.so:/usr/lib/libavformat.so:/home/kde-devel/kde/lib/libnepomuk.so:/home/kde-devel/kde/lib
> /usr/bin/ld: /usr/lib/libmlt.so: can not read directory: Not a directory
> /usr/bin/ld: /usr/lib/libmlt++.so: can not read directory: Not a directory
> /usr/bin/ld: /usr/lib/libavformat.so: can not read directory: Not a directory
> /usr/bin/ld: /home/kde-devel/kde/lib/libnepomuk.so: can not read
> directory: Not a directory
> collect2: ld returned 1 exit status
>
>
> Regards,
> --
> -----------------------------------------------------------------
> "Your mind is like a parachute: it works better when open."
> Lúcio Flávio Corrêa
> (+55) (87) 9118-8115
> lucio.correa #at# gmail.com
> luciocorrea.wordpress.com
> topeira -> irc.freenode.net
>

Got it: actually, I think it's a bug  in the variables. For example:

 15 LINK_DIRECTORIES(
 16 ${LIBMLT_LIBRARY}
 17 ${LIBMLTPLUS_LIBRARY}
 18 ${LIBFFMPEG_LIBRARY}
 19 ${NEPOMUK_LIBRARIES}
 20 )

These variables return the path to the libraries files, not the
libraries dirs. I will take a look how to fix that.

Regards,

-- 
-----------------------------------------------------------------
"Your mind is like a parachute: it works better when open."
Lúcio Flávio Corrêa
(+55) (87) 9118-8115
lucio.correa #at# gmail.com
luciocorrea.wordpress.com
topeira -> irc.freenode.net


More information about the Kdenlive mailing list