<div dir="ltr">yes, the trace sound fine for me. All ffmpeg shared libs are found.<div><br></div><div>Gilles</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-09 10:22 GMT+02:00 Mario Frank <span dir="ltr"><<a href="mailto:mafrank@uni-potsdam.de" target="_blank">mafrank@uni-potsdam.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hey Gilles,</p>
<p>I did apply a make clean, but this did not help. avformat.so was
not found last time.</p>
<p>Now I deleted the build folder alltogether and ran
bootstrap.local again. Now, CMake</p>
<p>seems to find all shared objects. This time, the scripts (I added
some debug output) tell me:</p>
<p>Checking for module 'libavcodec'<br>
-- Found libavcodec, version 57.107.100<br>
-- Checking for module 'libavfilter'<br>
-- Found libavfilter, version 6.107.100<br>
-- Checking for module 'libavformat'<br>
-- Found libavformat, version 57.83.100<br>
-- Checking for module 'libavdevice'<br>
-- Found libavdevice, version 57.10.100<br>
-- Checking for module 'libavutil'<br>
-- Found libavutil, version 55.78.100<br>
-- Checking for module 'libswscale'<br>
-- Found libswscale, version 4.8.100<br>
-- Checking for module 'libpostproc'<br>
-- Found libpostproc, version 54.7.100<br>
-- Found FFmpeg:
/usr/lib/libavcodec.so;/usr/<wbr>lib/libavfilter.so;/usr/lib/<wbr>libavformat.so;/usr/lib/<wbr>libavutil.so;/usr/lib/<wbr>libswscale.so
<br>
-- FFMPEG_FOUND = TRUE<br>
-- FFMPEG_INCLUDE_DIRS = /usr/include<br>
-- FFMPEG_LIBRARIES =
/usr/lib/libavcodec.so;/usr/<wbr>lib/libavfilter.so;/usr/lib/<wbr>libavformat.so;/usr/lib/<wbr>libavutil.so;/usr/lib/<wbr>libswscale.so<br>
</p>
<p>I'm currently compiling. Let's see.</p>
<p>Cheers<span class="HOEnZb"><font color="#888888"><br>
Mario<br>
</font></span></p><div><div class="h5">
<p><br>
</p>
Am 09.04.2018 um 10:10 schrieb Gilles Caulier:<br>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Mario,</div>
<div><br>
</div>
hum, did you clean up all build sub dir and reconfigure and
recompile all from scratch.
<div><br>
</div>
<div>Best</div>
<div><br>
</div>
<div>gilles</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2018-04-09 10:08 GMT+02:00 Mario Frank
<span dir="ltr"><<a href="mailto:mafrank@uni-potsdam.de" target="_blank">mafrank@uni-potsdam.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Folks,<br>
<br>
I wanted to get something done for digikam but I am
currently not able<br>
to compile digiKam.<br>
<br>
the compilation process fails on linking libdigikamcode,
precisely in<br>
the ffmpegthumbnailer context.<br>
<br>
Some functions are not found. I checked if all relevant
ffmpeg parts are<br>
installed on my system (antergos, aka arch 64)<br>
<br>
and they are.<br>
<br>
Do you have any ideas, how I could resolve the issue?<br>
<br>
Here's the log output ("undefinierter Verweis" equals
undefined reference).<br>
<br>
Regards,<br>
<br>
Mario<br>
<br>
<br>
[ 79%] Built target digikamgui_src<br>
../libs/threadimageio/CMakeFil<wbr>es/threadimageio_src.dir/<wbr>ffmpegthumbnailer/moviedecoder<wbr>_p.cpp.o:<br>
In Funktion »Digikam::MovieDecoder::Privat<wbr>e::deleteFilterGraph()«:<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:218:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_free«<br>
../libs/threadimageio/CMakeFil<wbr>es/threadimageio_src.dir/<wbr>ffmpegthumbnailer/moviedecoder<wbr>_p.cpp.o:<br>
In Funktion<br>
»Digikam::MovieDecoder::Privat<wbr>e::initFilterGraph(AVPixelForm<wbr>at,
int, int)«:<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:230:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_alloc«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:239:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_parse2«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:252:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_config«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:260:<br>
Warnung: undefinierter Verweis auf
»avfilter_graph_get_filter«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:261:<br>
Warnung: undefinierter Verweis auf
»avfilter_graph_get_filter«<br>
../libs/threadimageio/CMakeFil<wbr>es/threadimageio_src.dir/<wbr>ffmpegthumbnailer/moviedecoder<wbr>_p.cpp.o:<br>
In Funktion<br>
»Digikam::MovieDecoder::Privat<wbr>e::processFilterGraph(AVFrame*<wbr>,
AVFrame<br>
const*, AVPixelFormat, int, int)«:<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:300:<br>
Warnung: undefinierter Verweis auf »av_buffersrc_add_frame«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:307:<br>
Warnung: undefinierter Verweis auf »av_buffersink_get_frame«<br>
../libs/threadimageio/CMakeFil<wbr>es/threadimageio_src.dir/<wbr>ffmpegthumbnailer/moviedecoder<wbr>_p.cpp.o:<br>
In Funktion<br>
»Digikam::MovieDecoder::Privat<wbr>e::convertAndScaleFrame(AVPixe<wbr>lFormat,<br>
int, bool, int&, int&)«:<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:336:<br>
Warnung: undefinierter Verweis auf »sws_getContext«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:353:<br>
Warnung: undefinierter Verweis auf »sws_scale«<br>
/home/eladrion/Daten/SoftwareE<wbr>ntwicklung/Digikam/core/core/<wbr>libs/threadimageio/ffmpegthumb<wbr>nailer/moviedecoder_p.cpp:361:<br>
Warnung: undefinierter Verweis auf »sws_freeContext«<br>
collect2: Fehler: ld gab 1 als Ende-Status zurück<br>
make[2]: *** [core/core/app/CMakeFiles/digi<wbr>kamcore.dir/build.make:1938:<br>
core/core/app/libdigikamcore.s<wbr>o.6.0.0] Fehler 1<br>
<div class="m_6565710343190785642HOEnZb">
<div class="m_6565710343190785642h5"><br>
<br>
Am 20.03.2018 um 22:39 schrieb Maik Qualmann:<br>
> The message with the Neptune.cpp has been around
for some time. I have now<br>
> removed the file from the CMakeList.txt file. Here
compiled as well. Even the<br>
> Jenkins Build Server reports no more errors.<br>
><br>
> Maik<br>
><br>
> Am Dienstag, 20. März 2018, 22:18:00 CET schrieb
Thanh Trung Dinh:<br>
>> Hi Gilles,<br>
>><br>
>> I have compile error. It seems that it didn't
find models/imagemodel.cpp<br>
>> when linking I guess. The error is below :<br>
>><br>
>> AUTOGEN: warning:<br>
>> /opt/devel/digikam/core/core/u<wbr>tilities/mediaserver/upnpsdk/N<wbr>eptune/Source/Co<br>
>> re/Neptune.cpp: file is empty<br>
>><br>
>> [ 46%] Built target mediaserver_src_automoc<br>
>> [ 49%] Built target mediaserver_src<br>
>> [ 49%] Automatic moc for target geoiface_src<br>
>> [ 49%] Built target geoiface_src_automoc<br>
>> [ 50%] Built target geoiface_src<br>
>> [ 50%] Automatic moc for target
geolocationedit_src<br>
>> [ 50%] Built target geolocationedit_src_automoc<br>
>> [ 52%] Built target geolocationedit_src<br>
>> [ 52%] Automatic moc for target
geomapwrapper_src<br>
>> [ 52%] Built target geomapwrapper_src_automoc<br>
>> [ 52%] Built target geomapwrapper_src<br>
>> [ 53%] Built target digikamcore<br>
>> [ 53%] Linking CXX shared library
libdigikamdatabase.so<br>
>> CMakeFiles/digikamdatabase_src<wbr>.dir/models/imagemodel.cpp.o:
fichier non<br>
>> reconnu: Fichier tronqué<br>
>> collect2: erreur : ld a retourné 1 code d'état
d'exécution<br>
>> core/core/libs/database/CMakeF<wbr>iles/digikamdatabase.dir/<wbr>build.make:251
: la<br>
>> recette pour la cible<br>
>> « core/core/libs/database/libdig<wbr>ikamdatabase.so.6.0.0
» a échouée<br>
>> make[2]: *** [core/core/libs/database/libdi<wbr>gikamdatabase.so.6.0.0]
Erreur 1<br>
>> CMakeFiles/Makefile2:3934 : la recette pour la
cible<br>
>> « core/core/libs/database/CMakeF<wbr>iles/digikamdatabase.dir/all
» a échouée<br>
>> make[1]: *** [core/core/libs/database/CMake<wbr>Files/digikamdatabase.dir/all]<br>
>> Erreur 2<br>
>> Makefile:138 : la recette pour la cible « all »
a échouée<br>
>> make: *** [all] Erreur 2<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Sent from: <a href="http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html" rel="noreferrer" target="_blank">http://digikam.1695700.n4.nabb<wbr>le.com/digikam-devel-f1695701.<wbr>html</a><br>
><br>
><br>
><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>