5.9.0 is on the way. 6.0.0 will be the next one.

Mario Frank mafrank at uni-potsdam.de
Mon Apr 9 09:22:42 BST 2018


Hey Gilles,

I did apply a make clean, but this did not help. avformat.so was not
found last time.

Now I deleted the build folder alltogether and ran bootstrap.local
again. Now, CMake

seems to find all shared objects. This time, the scripts (I added some
debug output) tell me:

Checking for module 'libavcodec'
--   Found libavcodec, version 57.107.100
-- Checking for module 'libavfilter'
--   Found libavfilter, version 6.107.100
-- Checking for module 'libavformat'
--   Found libavformat, version 57.83.100
-- Checking for module 'libavdevice'
--   Found libavdevice, version 57.10.100
-- Checking for module 'libavutil'
--   Found libavutil, version 55.78.100
-- Checking for module 'libswscale'
--   Found libswscale, version 4.8.100
-- Checking for module 'libpostproc'
--   Found libpostproc, version 54.7.100
-- Found FFmpeg:
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so 

-- FFMPEG_FOUND        = TRUE
-- FFMPEG_INCLUDE_DIRS = /usr/include
-- FFMPEG_LIBRARIES    =
/usr/lib/libavcodec.so;/usr/lib/libavfilter.so;/usr/lib/libavformat.so;/usr/lib/libavutil.so;/usr/lib/libswscale.so

I'm currently compiling. Let's see.

Cheers
Mario


Am 09.04.2018 um 10:10 schrieb Gilles Caulier:
> Hi Mario,
>
> hum, did you clean up all build sub dir and reconfigure and recompile
> all from scratch.
>
> Best
>
> gilles
>
> 2018-04-09 10:08 GMT+02:00 Mario Frank <mafrank at uni-potsdam.de
> <mailto:mafrank at uni-potsdam.de>>:
>
>     Hey Folks,
>
>     I wanted to get something done for digikam but I am currently not able
>     to compile digiKam.
>
>     the compilation process fails on linking libdigikamcode, precisely in
>     the ffmpegthumbnailer context.
>
>     Some functions are not found. I checked if all relevant ffmpeg
>     parts are
>     installed on my system (antergos, aka arch 64)
>
>     and they are.
>
>     Do you have any ideas, how I could resolve the issue?
>
>     Here's the log output ("undefinierter Verweis" equals undefined
>     reference).
>
>     Regards,
>
>     Mario
>
>
>     [ 79%] Built target digikamgui_src
>     ../libs/threadimageio/CMakeFiles/threadimageio_src.dir/ffmpegthumbnailer/moviedecoder_p.cpp.o:
>     In Funktion »Digikam::MovieDecoder::Private::deleteFilterGraph()«:
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:218:
>     Warnung: undefinierter Verweis auf »avfilter_graph_free«
>     ../libs/threadimageio/CMakeFiles/threadimageio_src.dir/ffmpegthumbnailer/moviedecoder_p.cpp.o:
>     In Funktion
>     »Digikam::MovieDecoder::Private::initFilterGraph(AVPixelFormat,
>     int, int)«:
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:230:
>     Warnung: undefinierter Verweis auf »avfilter_graph_alloc«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:239:
>     Warnung: undefinierter Verweis auf »avfilter_graph_parse2«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:252:
>     Warnung: undefinierter Verweis auf »avfilter_graph_config«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:260:
>     Warnung: undefinierter Verweis auf »avfilter_graph_get_filter«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:261:
>     Warnung: undefinierter Verweis auf »avfilter_graph_get_filter«
>     ../libs/threadimageio/CMakeFiles/threadimageio_src.dir/ffmpegthumbnailer/moviedecoder_p.cpp.o:
>     In Funktion
>     »Digikam::MovieDecoder::Private::processFilterGraph(AVFrame*, AVFrame
>     const*, AVPixelFormat, int, int)«:
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:300:
>     Warnung: undefinierter Verweis auf »av_buffersrc_add_frame«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:307:
>     Warnung: undefinierter Verweis auf »av_buffersink_get_frame«
>     ../libs/threadimageio/CMakeFiles/threadimageio_src.dir/ffmpegthumbnailer/moviedecoder_p.cpp.o:
>     In Funktion
>     »Digikam::MovieDecoder::Private::convertAndScaleFrame(AVPixelFormat,
>     int, bool, int&, int&)«:
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:336:
>     Warnung: undefinierter Verweis auf »sws_getContext«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:353:
>     Warnung: undefinierter Verweis auf »sws_scale«
>     /home/eladrion/Daten/SoftwareEntwicklung/Digikam/core/core/libs/threadimageio/ffmpegthumbnailer/moviedecoder_p.cpp:361:
>     Warnung: undefinierter Verweis auf »sws_freeContext«
>     collect2: Fehler: ld gab 1 als Ende-Status zurück
>     make[2]: ***
>     [core/core/app/CMakeFiles/digikamcore.dir/build.make:1938:
>     core/core/app/libdigikamcore.so.6.0.0] Fehler 1
>
>
>     Am 20.03.2018 um 22:39 schrieb Maik Qualmann:
>     > The message with the Neptune.cpp has been around for some time.
>     I have now
>     > removed the file from the CMakeList.txt file. Here compiled as
>     well. Even the
>     > Jenkins Build Server reports no more errors.
>     >
>     > Maik
>     >
>     > Am Dienstag, 20. März 2018, 22:18:00 CET schrieb Thanh Trung Dinh:
>     >> Hi Gilles,
>     >>
>     >> I have compile error. It seems that it didn't find
>     models/imagemodel.cpp
>     >> when linking I guess. The error is below :
>     >>
>     >> AUTOGEN: warning:
>     >>
>     /opt/devel/digikam/core/core/utilities/mediaserver/upnpsdk/Neptune/Source/Co
>     >> re/Neptune.cpp: file is empty
>     >>
>     >> [ 46%] Built target mediaserver_src_automoc
>     >> [ 49%] Built target mediaserver_src
>     >> [ 49%] Automatic moc for target geoiface_src
>     >> [ 49%] Built target geoiface_src_automoc
>     >> [ 50%] Built target geoiface_src
>     >> [ 50%] Automatic moc for target geolocationedit_src
>     >> [ 50%] Built target geolocationedit_src_automoc
>     >> [ 52%] Built target geolocationedit_src
>     >> [ 52%] Automatic moc for target geomapwrapper_src
>     >> [ 52%] Built target geomapwrapper_src_automoc
>     >> [ 52%] Built target geomapwrapper_src
>     >> [ 53%] Built target digikamcore
>     >> [ 53%] Linking CXX shared library libdigikamdatabase.so
>     >> CMakeFiles/digikamdatabase_src.dir/models/imagemodel.cpp.o:
>     fichier non
>     >> reconnu: Fichier tronqué
>     >> collect2: erreur : ld a retourné 1 code d'état d'exécution
>     >>
>     core/core/libs/database/CMakeFiles/digikamdatabase.dir/build.make:251
>     : la
>     >> recette pour la cible
>     >> « core/core/libs/database/libdigikamdatabase.so.6.0.0 » a échouée
>     >> make[2]: ***
>     [core/core/libs/database/libdigikamdatabase.so.6.0.0] Erreur 1
>     >> CMakeFiles/Makefile2:3934 : la recette pour la cible
>     >> « core/core/libs/database/CMakeFiles/digikamdatabase.dir/all »
>     a échouée
>     >> make[1]: ***
>     [core/core/libs/database/CMakeFiles/digikamdatabase.dir/all]
>     >> Erreur 2
>     >> Makefile:138 : la recette pour la cible « all » a échouée
>     >> make: *** [all] Erreur 2
>     >>
>     >>
>     >>
>     >>
>     >>
>     >>
>     >>
>     >> --
>     >> Sent from:
>     http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html
>     <http://digikam.1695700.n4.nabble.com/digikam-devel-f1695701.html>
>     >
>     >
>     >
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20180409/02e2467b/attachment.html>


More information about the Digikam-devel mailing list