Re: [QDVDAuthor-devel] two compiling errors under Debian lenny
Brought to you by:
qdvdauthor
From: Varol O. <va...@mo...> - 2010-08-18 23:57:18
|
Yuwen, thank you for the information. You might want to heck out the version currently in CVS, which fixed these plus a boatload of other issues. Varol :) On 08/18/2010 02:32 AM, Yuwen Dai wrote: > Dear all, > > I tried to compile qdvdauthor 2.1.0 under Debian Lenney, encountering > two errors: > > 1. cd qrender/ && make -f Makefile > make[1]: Entering directory `/home/yuwen/tmp/qdvdauthor-2.1.0/qrender' > g++ -c -pipe -g -O0 -ggdb3 -Wall -W -D_REENTRANT -DQDVD_RENDER > -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml > -I/usr/include/qt4/QtXml -I/usr/include/qt4 > -Iffmpeg-export-2010-08-17/include -Iffmpeg-export-2010-08-17 -I.moc > -I.ui -o .obj/render.o render.cpp > In file included from > ffmpeg-export-2010-08-17/include/libavutil/avutil.h:81, > from engine/ffmpeg_enc.h:35, > from slideshow.h:19, > from render.cpp:36: > ffmpeg-export-2010-08-17/include/libavutil/common.h: In function > ‘int32_t av_clipl_int32_c(int64_t)’: > ffmpeg-export-2010-08-17/include/libavutil/common.h:162: error: > ‘UINT64_C’ was not declared in this scope > > I find UINT64_C is defined in /usr/include/stdint.h: > # if __WORDSIZE == 64 > # define UINT64_C(c) c ## UL > # else > # define UINT64_C(c) c ## ULL > # endif > > I put a #include <stdint.h> in common.h, but no effect. So I just put > the definition of UINT64_C in common.h > > 2. linking qrender failed: many functions not found, those functions > are in libavcore.a > I checked the Makefile of qrender. It seems -l<....>/lib/libavcore.a > is missing in the definition of LIBS. After I add libavcore.a, > linking succeeds. > > I don't know the above errors are bugs or related to my host. Just > for your reference. > > Best regards, > Yuwen > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > > > _______________________________________________ > QDVDAuthor-devel mailing list > QDV...@li... > https://lists.sourceforge.net/lists/listinfo/qdvdauthor-devel > |