| 1 | 18:53:35: Running steps for project Camara...
|
|---|
| 2 | 18:53:35: Starting: "D:\projectes\qrcbuilder\qrcbuilder.exe" D:\projectes\Camara\src D:\projectes\Camara\src\qml.qrc
|
|---|
| 3 | 18:53:35: The process "D:\projectes\qrcbuilder\qrcbuilder.exe" exited normally.
|
|---|
| 4 | 18:53:35: Configuration unchanged, skipping qmake step.
|
|---|
| 5 | 18:53:35: Starting: "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe"
|
|---|
| 6 | C:\Qt\5.5\android_armv7\bin\qmake.exe -spec android-g++ "CONFIG+=debug" "CONFIG+=qml_debug" -o Makefile ..\src\Camara.pro
|
|---|
| 7 | C:\Android\android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -fno-builtin-memmove -std=c++11 -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_ANDROIDEXTRAS_LIB -DQT_CORE_LIB -I..\src -I. -I..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include -IC:\Qt\5.5\android_armv7\include -IC:\Qt\5.5\android_armv7\include\QtQuick -IC:\Qt\5.5\android_armv7\include\QtMultimedia -IC:\Qt\5.5\android_armv7\include\QtGui -IC:\Qt\5.5\android_armv7\include\QtQml -IC:\Qt\5.5\android_armv7\include\QtNetwork -IC:\Qt\5.5\android_armv7\include\QtAndroidExtras -IC:\Qt\5.5\android_armv7\include\QtCore -I. -isystem C:\Android\android-ndk-r10e\sources\cxx-stl\gnu-libstdc++\4.9\include -isystem C:\Android\android-ndk-r10e\sources\cxx-stl\gnu-libstdc++\4.9\libs\armeabi-v7a\include -isystem C:\Android\android-ndk-r10e\platforms\android-9\arch-arm\usr\include -IC:\Qt\5.5\android_armv7\mkspecs\android-g++ -o transcoding.obj ..\src\transcoding.cpp
|
|---|
| 8 | In file included from C:\Qt\5.5\android_armv7\include/libavfilter/avfilter.h:41:0,
|
|---|
| 9 | from C:\Qt\5.5\android_armv7\include/libavfilter/avfiltergraph.h:25,
|
|---|
| 10 | from ..\src\transcoding.cpp:38:
|
|---|
| 11 | C:\Qt\5.5\android_armv7\include/libavutil/frame.h:171:16: error: redefinition of 'struct AVFrame'
|
|---|
| 12 | typedef struct AVFrame {
|
|---|
| 13 | ^
|
|---|
| 14 | In file included from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavformat/avformat.h:197:0,
|
|---|
| 15 | from ..\src\transcoding.cpp:37:
|
|---|
| 16 | ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavcodec/avcodec.h:1030:16: error: previous definition of 'struct AVFrame'
|
|---|
| 17 | typedef struct AVFrame {
|
|---|
| 18 | ^
|
|---|
| 19 | makefile:1050: recipe for target 'transcoding.obj' failed
|
|---|
| 20 | In file included from C:\Qt\5.5\android_armv7\include/libavfilter/avfilter.h:41:0,
|
|---|
| 21 | from C:\Qt\5.5\android_armv7\include/libavfilter/avfiltergraph.h:25,
|
|---|
| 22 | from ..\src\transcoding.cpp:38:
|
|---|
| 23 | C:\Qt\5.5\android_armv7\include/libavutil/frame.h:581:10: error: invalid type in declaration before ';' token
|
|---|
| 24 | } AVFrame;
|
|---|
| 25 | ^
|
|---|
| 26 | C:\Qt\5.5\android_armv7\include/libavutil/frame.h:581:10: error: conflicting declaration 'typedef int AVFrame'
|
|---|
| 27 | In file included from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavformat/avformat.h:197:0,
|
|---|
| 28 | from ..\src\transcoding.cpp:37:
|
|---|
| 29 | ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavcodec/avcodec.h:1419:3: note: previous declaration as 'typedef struct AVFrame AVFrame'
|
|---|
| 30 | } AVFrame;
|
|---|
| 31 | ^
|
|---|
| 32 | In file included from C:\Qt\5.5\android_armv7\include/libavfilter/avfiltergraph.h:25:0,
|
|---|
| 33 | from ..\src\transcoding.cpp:38:
|
|---|
| 34 | C:\Qt\5.5\android_armv7\include/libavfilter/avfilter.h:919:62: error: use of enum 'AVPixelFormat' without previous declaration
|
|---|
| 35 | int w, int h, enum AVPixelFormat format);
|
|---|
| 36 | ^
|
|---|
| 37 | ..\src\transcoding.cpp: In function 'int init_filter(FilteringContext*, AVCodecContext*, AVCodecContext*, const char*)':
|
|---|
| 38 | ..\src\transcoding.cpp:217:17: error: 'AV_OPT_SEARCH_CHILDREN' was not declared in this scope
|
|---|
| 39 | AV_OPT_SEARCH_CHILDREN);
|
|---|
| 40 | ^
|
|---|
| 41 | ..\src\transcoding.cpp:217:39: error: 'av_opt_set_bin' was not declared in this scope
|
|---|
| 42 | AV_OPT_SEARCH_CHILDREN);
|
|---|
| 43 | ^
|
|---|
| 44 | ..\src\transcoding.cpp:234:17: error: unable to find string literal operator 'operator""PRIx64'
|
|---|
| 45 | "time_base=%d/%d:sample_rate=%d:sample_fmt=%s:channel_layout=0x%"PRIx64,
|
|---|
| 46 | ^
|
|---|
| 47 | ..\src\transcoding.cpp:252:17: error: 'AV_OPT_SEARCH_CHILDREN' was not declared in this scope
|
|---|
| 48 | AV_OPT_SEARCH_CHILDREN);
|
|---|
| 49 | ^
|
|---|
| 50 | ..\src\transcoding.cpp:252:39: error: 'av_opt_set_bin' was not declared in this scope
|
|---|
| 51 | AV_OPT_SEARCH_CHILDREN);
|
|---|
| 52 | ^
|
|---|
| 53 | ..\src\transcoding.cpp: In function 'int init_filters()':
|
|---|
| 54 | ..\src\transcoding.cpp:307:75: error: invalid conversion from 'void*' to 'FilteringContext*' [-fpermissive]
|
|---|
| 55 | filter_ctx = av_malloc_array(ifmt_ctx->nb_streams, sizeof(*filter_ctx));
|
|---|
| 56 | ^
|
|---|
| 57 | ..\src\transcoding.cpp: In function 'int encode_write_frame(AVFrame*, unsigned int, int*)':
|
|---|
| 58 | ..\src\transcoding.cpp:353:68: error: 'av_packet_rescale_ts' was not declared in this scope
|
|---|
| 59 | ofmt_ctx->streams[stream_index]->time_base);
|
|---|
| 60 | ^
|
|---|
| 61 | ..\src\transcoding.cpp: In function 'int filter_encode_write_frame(AVFrame*, unsigned int)':
|
|---|
| 62 | ..\src\transcoding.cpp:366:21: error: 'av_buffersrc_add_frame_flags' was not declared in this scope
|
|---|
| 63 | frame, 0);
|
|---|
| 64 | ^
|
|---|
| 65 | ..\src\transcoding.cpp:380:27: error: 'av_buffersink_get_frame' was not declared in this scope
|
|---|
| 66 | filt_frame);
|
|---|
| 67 | ^
|
|---|
| 68 | ..\src\transcoding.cpp: In function 'int main(int, char**)':
|
|---|
| 69 | ..\src\transcoding.cpp:418:49: sorry, unimplemented: non-trivial designated initializers not supported
|
|---|
| 70 | AVPacket packet = { .data = NULL, .size = 0 };
|
|---|
| 71 | ^
|
|---|
| 72 | ..\src\transcoding.cpp:418:49: sorry, unimplemented: non-trivial designated initializers not supported
|
|---|
| 73 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::data' [-Wmissing-field-initializers]
|
|---|
| 74 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::size' [-Wmissing-field-initializers]
|
|---|
| 75 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::stream_index' [-Wmissing-field-initializers]
|
|---|
| 76 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::flags' [-Wmissing-field-initializers]
|
|---|
| 77 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::side_data' [-Wmissing-field-initializers]
|
|---|
| 78 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::side_data_elems' [-Wmissing-field-initializers]
|
|---|
| 79 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::duration' [-Wmissing-field-initializers]
|
|---|
| 80 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::destruct' [-Wmissing-field-initializers]
|
|---|
| 81 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::priv' [-Wmissing-field-initializers]
|
|---|
| 82 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::pos' [-Wmissing-field-initializers]
|
|---|
| 83 | ..\src\transcoding.cpp:418:49: warning: missing initializer for member 'AVPacket::convergence_duration' [-Wmissing-field-initializers]
|
|---|
| 84 | ..\src\transcoding.cpp:454:83: error: 'av_packet_rescale_ts' was not declared in this scope
|
|---|
| 85 | ifmt_ctx->streams[stream_index]->codec->time_base);
|
|---|
| 86 | ^
|
|---|
| 87 | ..\src\transcoding.cpp:477:76: error: 'av_packet_rescale_ts' was not declared in this scope
|
|---|
| 88 | ofmt_ctx->streams[stream_index]->time_base);
|
|---|
| 89 | ^
|
|---|
| 90 | ..\src\transcoding.cpp:482:32: error: 'av_packet_unref' was not declared in this scope
|
|---|
| 91 | av_packet_unref(&packet);
|
|---|
| 92 | ^
|
|---|
| 93 | ..\src\transcoding.cpp:503:28: error: 'av_packet_unref' was not declared in this scope
|
|---|
| 94 | av_packet_unref(&packet);
|
|---|
| 95 | ^
|
|---|
| 96 | ..\src\transcoding.cpp:515:34: error: 'avio_closep' was not declared in this scope
|
|---|
| 97 | avio_closep(&ofmt_ctx->pb);
|
|---|
| 98 | ^
|
|---|
| 99 | In file included from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavutil/mem.h:32:0,
|
|---|
| 100 | from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavutil/common.h:376,
|
|---|
| 101 | from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavutil/avutil.h:274,
|
|---|
| 102 | from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavutil/samplefmt.h:24,
|
|---|
| 103 | from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavcodec/avcodec.h:30,
|
|---|
| 104 | from ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavformat/avformat.h:197,
|
|---|
| 105 | from ..\src\transcoding.cpp:37:
|
|---|
| 106 | ..\..\..\programacio\libs\FFmpeg\Android\ffmpeg-build\armeabi-v7a\include/libavutil/error.h:110:95: error: taking address of temporary array
|
|---|
| 107 | av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum)
|
|---|
| 108 | ^
|
|---|
| 109 | ..\src\transcoding.cpp:518:60: note: in expansion of macro 'av_err2str'
|
|---|
| 110 | av_log(NULL, AV_LOG_ERROR, "Error occurred: %s\n", av_err2str(ret));
|
|---|
| 111 | ^
|
|---|
| 112 | mingw32-make: *** [transcoding.obj] Error 1
|
|---|
| 113 | 18:53:37: The process "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe" exited with code 2.
|
|---|
| 114 | Error while building/deploying project Camara (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.5.0))
|
|---|
| 115 | When executing step "Make"
|
|---|
| 116 | 18:53:37: Elapsed time: 00:03.
|
|---|