kdenlive-devel  

Re: [Kdenlive-devel] Compilation problem

Albert ARIBAUD
Tue, 06 May 2008 22:28:19 -0700

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,
-- 
Albert.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel