You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed the steps to build the tifig tool without success...
This is the make output
root@11308599ef5e:/home/lib/tifig/build# cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libavcodec'
-- Found libavcodec, version 56.60.100
-- Checking for module 'libavutil'
-- Found libavutil, version 54.31.100
-- Checking for module 'libswscale'
-- Found libswscale, version 3.1.101
-- Checking for module 'vips-cpp'
-- Found vips-cpp, version 8.6.1
-- System name : Linux
-- Project Name : HEIF
-- Project directory : /home/lib/tifig/lib/heif
-- Executables in : /home/lib/tifig/lib/heif/Bins
-- File-list :
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lib/tifig/build
root@11308599ef5e:/home/lib/tifig/build# make
Scanning dependencies of target h265parser
[ 1%] Building CXX object lib/heif/Srcs/parser/h265parser/CMakeFiles/h265parser.dir/h265parser.cpp.o
[ 2%] Linking CXX static library libh265parser.a
/usr/bin/ar qc libh265parser.a CMakeFiles/h265parser.dir/h265parser.cpp.o
/usr/bin/ranlib libh265parser.a
[ 2%] Built target h265parser
Scanning dependencies of target avcparser
[ 3%] Building CXX object lib/heif/Srcs/parser/avcparser/CMakeFiles/avcparser.dir/avcparser.cpp.o
[ 4%] Linking CXX static library libavcparser.a
/usr/bin/ar qc libavcparser.a CMakeFiles/avcparser.dir/avcparser.cpp.o
/usr/bin/ranlib libavcparser.a
[ 4%] Built target avcparser
Scanning dependencies of target common
[ 5%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/auxiliarytypeproperty.cpp.o
[ 7%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/avcconfigurationbox.cpp.o
[ 8%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/avcdecoderconfigrecord.cpp.o
[ 9%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/avcsampleentry.cpp.o
[ 10%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/bbox.cpp.o
[ 11%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/bitstream.cpp.o
[ 13%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/chunkoffsetbox.cpp.o
[ 14%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/cleanaperture.cpp.o
[ 15%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/codingconstraintsbox.cpp.o
[ 16%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/compositionoffsetbox.cpp.o
[ 17%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/compositiontodecodebox.cpp.o
[ 19%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/datainformationbox.cpp.o
[ 20%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/datareferencebox.cpp.o
[ 21%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/decodepts.cpp.o
[ 22%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/editbox.cpp.o
[ 23%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/entitytogroupbox.cpp.o
[ 25%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/filetypebox.cpp.o
[ 26%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/fourccint.cpp.o
[ 27%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/fullbox.cpp.o
[ 28%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/groupslistbox.cpp.o
[ 29%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/handlerbox.cpp.o
[ 30%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/hevcconfigurationbox.cpp.o
[ 32%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/hevcdecoderconfigrecord.cpp.o
[ 33%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/hevcsampleentry.cpp.o
[ 34%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/idspace.cpp.o
[ 35%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/imagemirror.cpp.o
[ 36%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/imagespatialextentsproperty.cpp.o
[ 38%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/imagerotation.cpp.o
[ 39%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/imagerelativelocationproperty.cpp.o
[ 40%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/imagegrid.cpp.o
[ 41%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/imageoverlay.cpp.o
[ 42%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itemdatabox.cpp.o
[ 44%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/iteminfobox.cpp.o
[ 45%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itemlocationbox.cpp.o
[ 46%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itempropertiesbox.cpp.o
[ 47%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itempropertyassociation.cpp.o
[ 48%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itempropertycontainer.cpp.o
[ 50%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itemprotectionbox.cpp.o
[ 51%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/itemreferencebox.cpp.o
[ 52%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/layeredhevcconfigurationitemproperty.cpp.o
[ 53%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/layerselectorproperty.cpp.o
[ 54%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/lhevcdecoderconfigrecord.cpp.o
[ 55%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/log.cpp.o
[ 57%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/mediabox.cpp.o
[ 58%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/mediadatabox.cpp.o
[ 59%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/mediaheaderbox.cpp.o
[ 60%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/mediainformationbox.cpp.o
[ 61%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/metabox.cpp.o
[ 63%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/moviebox.cpp.o
[ 64%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/movieheaderbox.cpp.o
[ 65%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/operatingpointsinformation.cpp.o
[ 66%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/primaryitembox.cpp.o
[ 67%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/protectionschemeinfobox.cpp.o
[ 69%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/sampledescriptionbox.cpp.o
[ 70%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/sampleentrybox.cpp.o
[ 71%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/samplesizebox.cpp.o
[ 72%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/sampletablebox.cpp.o
[ 73%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/sampletochunkbox.cpp.o
[ 75%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/sampletogroupbox.cpp.o
[ 76%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/samplegroupdescriptionbox.cpp.o
[ 77%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/samplegroupentry.cpp.o
[ 78%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/syncsamplebox.cpp.o
[ 79%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/targetolsproperty.cpp.o
[ 80%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/timetosamplebox.cpp.o
[ 82%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/trackbox.cpp.o
[ 83%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/trackheaderbox.cpp.o
[ 84%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/trackreferencebox.cpp.o
[ 85%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/trackreferencetypebox.cpp.o
[ 86%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/videomediaheaderbox.cpp.o
[ 88%] Building CXX object lib/heif/Srcs/common/CMakeFiles/common.dir/visualsampleentrybox.cpp.o
[ 89%] Linking CXX static library libcommon.a
/usr/bin/ar qc libcommon.a CMakeFiles/common.dir/auxiliarytypeproperty.cpp.o CMakeFiles/common.dir/avcconfigurationbox.cpp.o CMakeFiles/common.dir/avcdecoderconfigrecord.cpp.o CMakeFiles/common.dir/avcsampleentry.cpp.o CMakeFiles/common.dir/bbox.cpp.o CMakeFiles/common.dir/bitstream.cpp.o CMakeFiles/common.dir/chunkoffsetbox.cpp.o CMakeFiles/common.dir/cleanaperture.cpp.o CMakeFiles/common.dir/codingconstraintsbox.cpp.o CMakeFiles/common.dir/compositionoffsetbox.cpp.o CMakeFiles/common.dir/compositiontodecodebox.cpp.o CMakeFiles/common.dir/datainformationbox.cpp.o CMakeFiles/common.dir/datareferencebox.cpp.o CMakeFiles/common.dir/decodepts.cpp.o CMakeFiles/common.dir/editbox.cpp.o CMakeFiles/common.dir/entitytogroupbox.cpp.o CMakeFiles/common.dir/filetypebox.cpp.o CMakeFiles/common.dir/fourccint.cpp.o CMakeFiles/common.dir/fullbox.cpp.o CMakeFiles/common.dir/groupslistbox.cpp.o CMakeFiles/common.dir/handlerbox.cpp.o CMakeFiles/common.dir/hevcconfigurationbox.cpp.o CMakeFiles/common.dir/hevcdecoderconfigrecord.cpp.o CMakeFiles/common.dir/hevcsampleentry.cpp.o CMakeFiles/common.dir/idspace.cpp.o CMakeFiles/common.dir/imagemirror.cpp.o CMakeFiles/common.dir/imagespatialextentsproperty.cpp.o CMakeFiles/common.dir/imagerotation.cpp.o CMakeFiles/common.dir/imagerelativelocationproperty.cpp.o CMakeFiles/common.dir/imagegrid.cpp.o CMakeFiles/common.dir/imageoverlay.cpp.o CMakeFiles/common.dir/itemdatabox.cpp.o CMakeFiles/common.dir/iteminfobox.cpp.o CMakeFiles/common.dir/itemlocationbox.cpp.o CMakeFiles/common.dir/itempropertiesbox.cpp.o CMakeFiles/common.dir/itempropertyassociation.cpp.o CMakeFiles/common.dir/itempropertycontainer.cpp.o CMakeFiles/common.dir/itemprotectionbox.cpp.o CMakeFiles/common.dir/itemreferencebox.cpp.o CMakeFiles/common.dir/layeredhevcconfigurationitemproperty.cpp.o CMakeFiles/common.dir/layerselectorproperty.cpp.o CMakeFiles/common.dir/lhevcdecoderconfigrecord.cpp.o CMakeFiles/common.dir/log.cpp.o CMakeFiles/common.dir/mediabox.cpp.o CMakeFiles/common.dir/mediadatabox.cpp.o CMakeFiles/common.dir/mediaheaderbox.cpp.o CMakeFiles/common.dir/mediainformationbox.cpp.o CMakeFiles/common.dir/metabox.cpp.o CMakeFiles/common.dir/moviebox.cpp.o CMakeFiles/common.dir/movieheaderbox.cpp.o CMakeFiles/common.dir/operatingpointsinformation.cpp.o CMakeFiles/common.dir/primaryitembox.cpp.o CMakeFiles/common.dir/protectionschemeinfobox.cpp.o CMakeFiles/common.dir/sampledescriptionbox.cpp.o CMakeFiles/common.dir/sampleentrybox.cpp.o CMakeFiles/common.dir/samplesizebox.cpp.o CMakeFiles/common.dir/sampletablebox.cpp.o CMakeFiles/common.dir/sampletochunkbox.cpp.o CMakeFiles/common.dir/sampletogroupbox.cpp.o CMakeFiles/common.dir/samplegroupdescriptionbox.cpp.o CMakeFiles/common.dir/samplegroupentry.cpp.o CMakeFiles/common.dir/syncsamplebox.cpp.o CMakeFiles/common.dir/targetolsproperty.cpp.o CMakeFiles/common.dir/timetosamplebox.cpp.o CMakeFiles/common.dir/trackbox.cpp.o CMakeFiles/common.dir/trackheaderbox.cpp.o CMakeFiles/common.dir/trackreferencebox.cpp.o CMakeFiles/common.dir/trackreferencetypebox.cpp.o CMakeFiles/common.dir/videomediaheaderbox.cpp.o CMakeFiles/common.dir/visualsampleentrybox.cpp.o
/usr/bin/ranlib libcommon.a
[ 89%] Built target common
Scanning dependencies of target heifreader
[ 90%] Building CXX object lib/heif/Srcs/reader/CMakeFiles/heifreader.dir/hevcimagefilereader.cpp.o
[ 91%] Building CXX object lib/heif/Srcs/reader/CMakeFiles/heifreader.dir/imagefilereaderfactory.cpp.o
[ 92%] Linking CXX static library libheifreader.a
/usr/bin/ar qc libheifreader.a CMakeFiles/heifreader.dir/hevcimagefilereader.cpp.o CMakeFiles/heifreader.dir/imagefilereaderfactory.cpp.o
/usr/bin/ranlib libheifreader.a
[ 92%] Built target heifreader
Scanning dependencies of target tifig
[ 94%] Building CXX object CMakeFiles/tifig.dir/src/main.cpp.o
In file included from /home/lib/tifig/src/loader.hpp:7:0,
from /home/lib/tifig/src/main.cpp:5:
/home/lib/tifig/src/hevc_decode.hpp: In function 'RgbData decodeFrame(DataVector)':
/home/lib/tifig/src/hevc_decode.hpp:83:40: error: 'av_packet_alloc' was not declared in this scope
AVPacket* packet = av_packet_alloc();
^
/home/lib/tifig/src/hevc_decode.hpp:89:45: error: 'avcodec_send_packet' was not declared in this scope
int sent = avcodec_send_packet(c, packet);
^
/home/lib/tifig/src/hevc_decode.hpp:97:49: error: 'avcodec_receive_frame' was not declared in this scope
int success = avcodec_receive_frame(c, frame);
^
CMakeFiles/tifig.dir/build.make:62: recipe for target 'CMakeFiles/tifig.dir/src/main.cpp.o' failed
make[2]: *** [CMakeFiles/tifig.dir/src/main.cpp.o] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/tifig.dir/all' failed
make[1]: *** [CMakeFiles/tifig.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
My env (docker container)
make
root@11308599ef5e:/home# make -v
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Alright, finally I found the issue.
My docker instance was not fully ok... I have to install the locate command and update the related db, in that way the script was able to find out those libs.
I have followed the steps to build the tifig tool without success...
This is the make output
My env (docker container)
make
SO: Ubuntu 16.04 (LTS)
ffmpeg
Also, I have tried to use the binary directly, but the tool output show me this:
This is the image that I'm using:
https://drive.google.com/open?id=1N193Zf4NO7EsMzW28O3JD7OUwUoMq_0P
Any idea how to get running tifig ?
Regards
The text was updated successfully, but these errors were encountered: