On Fri, Apr 05, 2013 at 06:20:06AM -0400, QDVDAuthor wrote:
SNIP
> I compiled 0.6.3 successfully now on my box. Will check into CVS.
> 
I downloaded the latest version of qdvdauthor 5th April. 
I decided to try ffmpeg-0.8.14 to see how far that progressed

There was a problem finding avformat.h and avio.h - symlinking 
these into the qrender directory allowed the configure to proceed. 

With that done, this is the error message: 
ffmpeg-0.8.14/include/libavutil/common.h: In function ‘int32_t 
av_clipl_int32_c(int64_t)’:
ffmpeg-0.8.14/include/libavutil/common.h:170:47: error: ‘UINT64_C’ was not 
declared in this scope
g++ -c -m64 -pipe -g -O0 -ggdb3 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQDVD_RENDER 
-DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml 
-I/usr/include/qt4 -Iffmpeg-0.8.14/include -Iffmpeg-0.8.14 -I.moc -o 
.obj/parser.o parser.cpp
make: *** [.obj/render.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ffmpeg-0.8.14/include/libavutil/avutil.h:126:0,
                 from ffmpeg-0.8.14/include/libavutil/samplefmt.h:22,
                 from ffmpeg-0.8.14/include/libavcodec/avcodec.h:30,
                 from ./avformat.h:42,
                 from engine/ffmpeg_enc.h:34,
                 from slideshow.h:19,
                 from parser.cpp:24:
ffmpeg-0.8.14/include/libavutil/common.h: In function ‘int32_t 
av_clipl_int32_c(int64_t)’:
ffmpeg-0.8.14/include/libavutil/common.h:170:47: error: ‘UINT64_C’ was not 
declared in this scope
make: *** [.obj/parser.o] Error 1

I tried this, without success: 
quote: 
Sorry to pollute the list but as I've been annoyed by a recent change, I 
wanted at least to notify it.
libavutil/common.h is no more autosufficient for C++ program because 
stdint.h defines UINT64_C only for C program and not C++ program. xbmc 
and mplayer fails to compile because of this.

This define is defined in <stdint.h> The simple include <stdint.h> 
should either be replaced by:

#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
# include <stdint.h>
#endif

or the macro definition should be duplicated in this file.
unquote. 

I will retry ffmpeg with the latest version, and see if that 
solves this problem. 

richard


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
QDVDAuthor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qdvdauthor-users

Reply via email to