[Kdenlive-devel] [PATCH] Re: Compilation problem
Albert ARIBAUD
albert.aribaud at free.fr
Wed May 7 06:56:00 UTC 2008
Albert ARIBAUD a écrit :
> JM Herrera a écrit :
>> Hi all,
>>
>> after some weeks away from my computer, I came back last weekend to
>> install the new Ubuntu version 8.04.
>>
>> As I did a "clean" installation from scratch, I also needed to install
>> all programs again and, obviously, also Kdenlive.
>>
>> To do that I used the last version of the builder script - graphic
>> version and everything went well until I receive an error while
>> compiling krender.cpp
>>
>> Having a look at the file, I noticed an include that seems wrong for me:
>>
>> // ffmpeg Header files
>>
>> extern "C" {
>> #include <ffmpeg/avformat.h>
>> }
>>
>> In my computer I've found avformat.h in two
>> places: /usr/include/libavformat and /usr/src/ffmpeg/libavformat
>> (usr/src is where I installed ffmpeg sources). So I understand this
>> include should use the right directory (ffmpeg/avformat) or even better,
>> avoid directory information and let cmake find the headers in the
>> "standard" include dir.
>>
>> I removed in my source file the reference to the ffmpeg directory,
>> leaving as:
>>
>> // ffmpeg Header files
>>
>> extern "C" {
>> #include <avformat.h>
>> }
>>
>> And afterwards the program compiles with no errors.
> >
>> Can somebody confirm if my view is OK or I'm doing something wrong ?
>
> Yes, all this is correct--Actually, that means my second triel of a
> patch to this issue on the cmake system did not contain the krender.cpp
> fix. I'll repost it here for svn inclusion.
>
> Amicalement,
Here comes, against revision 2170 : patch to krender.cpp.
Amicalement,
--
Albert.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: krenderavformatpath.patch
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20080507/562d7161/attachment.ksh>
More information about the Kdenlive
mailing list