<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/<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">http://digikam.1695700.n4.<wbr>nabble.com/digikam-devel-<wbr>f1695701.html</a><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>