<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so
<br>
-- FFMPEG_FOUND = TRUE<br>
-- FFMPEG_INCLUDE_DIRS = /usr/include<br>
-- FFMPEG_LIBRARIES =
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so<br>
</p>
<p>I'm currently compiling. Let's see.</p>
<p>Cheers<br>
Mario<br>
</p>
<p><br>
</p>
Am 09.04.2018 um 10:10 schrieb Gilles Caulier:<br>
<blockquote type="cite"
cite="mid:CAHFG6sHd8a7iGu6AM2KeOZhub0qRfoCwUU5FA7+HOp=q3J4W_g@mail.gmail.com">
<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" moz-do-not-send="true">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/<wbr>CMakeFiles/threadimageio_src.<wbr>dir/ffmpegthumbnailer/<wbr>moviedecoder_p.cpp.o:<br>
In Funktion »Digikam::MovieDecoder::<wbr>Private::deleteFilterGraph()«:<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:218:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_free«<br>
../libs/threadimageio/<wbr>CMakeFiles/threadimageio_src.<wbr>dir/ffmpegthumbnailer/<wbr>moviedecoder_p.cpp.o:<br>
In Funktion<br>
»Digikam::MovieDecoder::<wbr>Private::initFilterGraph(<wbr>AVPixelFormat,
int, int)«:<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:230:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_alloc«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:239:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_parse2«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:252:<br>
Warnung: undefinierter Verweis auf »avfilter_graph_config«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:260:<br>
Warnung: undefinierter Verweis auf
»avfilter_graph_get_filter«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:261:<br>
Warnung: undefinierter Verweis auf
»avfilter_graph_get_filter«<br>
../libs/threadimageio/<wbr>CMakeFiles/threadimageio_src.<wbr>dir/ffmpegthumbnailer/<wbr>moviedecoder_p.cpp.o:<br>
In Funktion<br>
»Digikam::MovieDecoder::<wbr>Private::processFilterGraph(<wbr>AVFrame*,
AVFrame<br>
const*, AVPixelFormat, int, int)«:<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:300:<br>
Warnung: undefinierter Verweis auf »av_buffersrc_add_frame«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:307:<br>
Warnung: undefinierter Verweis auf »av_buffersink_get_frame«<br>
../libs/threadimageio/<wbr>CMakeFiles/threadimageio_src.<wbr>dir/ffmpegthumbnailer/<wbr>moviedecoder_p.cpp.o:<br>
In Funktion<br>
»Digikam::MovieDecoder::<wbr>Private::convertAndScaleFrame(<wbr>AVPixelFormat,<br>
int, bool, int&, int&)«:<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:336:<br>
Warnung: undefinierter Verweis auf »sws_getContext«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>moviedecoder_p.cpp:353:<br>
Warnung: undefinierter Verweis auf »sws_scale«<br>
/home/eladrion/Daten/<wbr>SoftwareEntwicklung/Digikam/<wbr>core/core/libs/threadimageio/<wbr>ffmpegthumbnailer/<wbr>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/<wbr>digikamcore.dir/build.make:<wbr>1938:<br>
core/core/app/libdigikamcore.<wbr>so.6.0.0] Fehler 1<br>
<div class="HOEnZb">
<div class="h5"><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/<wbr>utilities/mediaserver/upnpsdk/<wbr>Neptune/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_<wbr>src.dir/models/imagemodel.cpp.<wbr>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/<wbr>CMakeFiles/digikamdatabase.<wbr>dir/build.make:251
: la<br>
>> recette pour la cible<br>
>> « core/core/libs/database/<wbr>libdigikamdatabase.so.6.0.0
» a échouée<br>
>> make[2]: *** [core/core/libs/database/<wbr>libdigikamdatabase.so.6.0.0]
Erreur 1<br>
>> CMakeFiles/Makefile2:3934 : la recette pour la
cible<br>
>> « core/core/libs/database/<wbr>CMakeFiles/digikamdatabase.<wbr>dir/all
» a échouée<br>
>> make[1]: *** [core/core/libs/database/<wbr>CMakeFiles/digikamdatabase.<wbr>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"
moz-do-not-send="true">http://digikam.1695700.n4.<wbr>nabble.com/digikam-devel-<wbr>f1695701.html</a><br>
><br>
><br>
><br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>