[Digikam-devel] Compile problems with png library

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Digikam-devel] Compile problems with png library

Gerhard Kulzer
Hi Gilles,
I'm back in France and try to compile the latest version of svn. compilation
stops here:
/bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -O2 -march=pentium4
-ffast-math -mmmx -msse2    -o libdigikam.la -rpath /usr/lib -L/usr/lib
-L/usr/share/qt3/lib -L/usr/X11R6/lib    -R /usr/lib -R /usr/lib
-R /usr/share/qt3/lib -R /usr/X11R6/lib -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined albummanager.lo album.lo albumitemhandler.lo
albumdb.lo albumdb_sqlite2.lo albumlister.lo dragobjects.lo iconview.lo
icongroupitem.lo iconitem.lo digikamapp.lo digikamview.lo albumfolderview.lo
albumiconview.lo albumicongroupitem.lo albumiconitem.lo albumpropsedit.lo
albumsettings.lo cameralist.lo cameratype.lo cameradragobject.lo
kipiinterface.lo tagcreatedlg.lo albumfiletip.lo tagspopupmenu.lo syncjob.lo
albumhistory.lo scanlib.lo imageinfo.lo datefolderview.lo pixmapmanager.lo
tagfolderview.lo tagfilterview.lo monthwidget.lo searchfolderview.lo dio.lo
searchresultsview.lo searchresultsitem.lo searchquickdialog.lo
searchadvanceddialog.lo searchwidgets.lo kdateedit.lo kdatetimeedit.lo
kdatepickerpopup.lo folderview.lo folderitem.lo upgradedb_sqlite2tosqlite3.lo
squeezedcombobox.lo ratingwidget.lo digikamfirstrun.lo dcopiface.lo
dcopiface_skel.lo firstrunUI.lo -lkio -lsqlite3   -lkabc -lkexif   -lkipi  
-lkutils
-lexiv2 ../../digikam/sqlite/libsqlite.la ../../digikam/libs/filters/libfilters.la ../../digikam/libs/thumbbar/libthumbbar.la ../../digikam/libs/themeengine/libthemeengine.la ../../digikam/libs/widgets/libwidgets.la ../../digikam/libs/dialogs/libdialog.la ../../digikam/libs/jpegutils/libjpegutils.la ../../digikam/libs/imageproperties/libimagepropertiesdigikam.la ../../digikam/libs/threadimageio/libthreadimageio.la ../../digikam/utilities/cameragui/libcameragui.la ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la ../../digikam/utilities/imageeditor/editor/libdimgeditor.la ../../digikam/utilities/splashscreen/libsplashscreen.la ../../digikam/utilities/setup/libsetup.la
../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(pngmetaloader.o):
In function `Digikam::PNGMetaLoader::png_skip_till_end(png_struct_def*,
png_info_struct*)':pngmetaloader.cpp:(.text+0x51): undefined reference to
`png_crc_finish'
:pngmetaloader.cpp:(.text+0x68): undefined reference to `png_read_data'
:pngmetaloader.cpp:(.text+0x73): undefined reference to `png_get_uint_32'
:pngmetaloader.cpp:(.text+0x7e): undefined reference to `png_reset_crc'
:pngmetaloader.cpp:(.text+0x98): undefined reference to `png_crc_read'
:pngmetaloader.cpp:(.text+0xec): undefined reference to `png_handle_IHDR'
:pngmetaloader.cpp:(.text+0x162): undefined reference to `png_read_data'
:pngmetaloader.cpp:(.text+0x16d): undefined reference to `png_get_uint_32'
:pngmetaloader.cpp:(.text+0x17b): undefined reference to `png_reset_crc'
:pngmetaloader.cpp:(.text+0x195): undefined reference to `png_crc_read'
:pngmetaloader.cpp:(.text+0x1ef): undefined reference to `png_handle_tEXt'
:pngmetaloader.cpp:(.text+0x20d): undefined reference to `png_handle_tIME'
:pngmetaloader.cpp:(.text+0x225): undefined reference to `png_crc_finish'
:pngmetaloader.cpp:(.text+0x26d): undefined reference to `png_handle_IEND'
:pngmetaloader.cpp:(.text+0x28b): undefined reference to `png_handle_zTXt'
:pngmetaloader.cpp:(.text+0x2a9): undefined reference to `png_handle_unknown'
collect2: ld returned 1 exit status
make[2]: *** [libdigikam.la] Fehler 1
make[2]: Leaving directory `/usr/local/graphics/digikam/digikam'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/local/graphics/digikam/digikam'
make: *** [all-recursive] Fehler 1

The png12-dev libs are installed.
Any idea whats going wrong?

Gerhard
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] Compile problems with png library

Gilles Caulier-2
Ah, I'm happy to see you Gerhard (:=)))...

You have right. LIB_PNG isn't in the rules to link digikam part from the
makefile.am. I will fix it.

I suspect that all is right in my computer because libpng is added by default
in ldd configuration.

Nota; Gerhard, i need you to polish the new advanced Noise Reduction tool to
remplace current despeckle tool in DigikamImagePlugins. The results are
similar than Noise Nija program for Photoshop. Please help me to finalize the
GUI, especially the settings.

Look in your mail from yesterday, i have sent a message about in this ML.

Gilles

> Hi Gilles,
> I'm back in France and try to compile the latest version of svn.
> compilation stops here:
> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -O2
> -march=pentium4 -ffast-math -mmmx -msse2    -o libdigikam.la -rpath
> /usr/lib -L/usr/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib    -R /usr/lib -R
> /usr/lib
> -R /usr/share/qt3/lib -R /usr/X11R6/lib -no-undefined -Wl,--no-undefined
> -Wl,--allow-shlib-undefined albummanager.lo album.lo albumitemhandler.lo
> albumdb.lo albumdb_sqlite2.lo albumlister.lo dragobjects.lo iconview.lo
> icongroupitem.lo iconitem.lo digikamapp.lo digikamview.lo
> albumfolderview.lo albumiconview.lo albumicongroupitem.lo albumiconitem.lo
> albumpropsedit.lo albumsettings.lo cameralist.lo cameratype.lo
> cameradragobject.lo
> kipiinterface.lo tagcreatedlg.lo albumfiletip.lo tagspopupmenu.lo
> syncjob.lo albumhistory.lo scanlib.lo imageinfo.lo datefolderview.lo
> pixmapmanager.lo tagfolderview.lo tagfilterview.lo monthwidget.lo
> searchfolderview.lo dio.lo searchresultsview.lo searchresultsitem.lo
> searchquickdialog.lo
> searchadvanceddialog.lo searchwidgets.lo kdateedit.lo kdatetimeedit.lo
> kdatepickerpopup.lo folderview.lo folderitem.lo
> upgradedb_sqlite2tosqlite3.lo squeezedcombobox.lo ratingwidget.lo
> digikamfirstrun.lo dcopiface.lo dcopiface_skel.lo firstrunUI.lo -lkio
> -lsqlite3   -lkabc -lkexif   -lkipi -lkutils
> -lexiv2 ../../digikam/sqlite/libsqlite.la
> ../../digikam/libs/filters/libfilters.la
> ../../digikam/libs/thumbbar/libthumbbar.la
> ../../digikam/libs/themeengine/libthemeengine.la
> ../../digikam/libs/widgets/libwidgets.la
> ../../digikam/libs/dialogs/libdialog.la
> ../../digikam/libs/jpegutils/libjpegutils.la
> ../../digikam/libs/imageproperties/libimagepropertiesdigikam.la
> ../../digikam/libs/threadimageio/libthreadimageio.la
> ../../digikam/utilities/cameragui/libcameragui.la
> ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la
> ../../digikam/utilities/imageeditor/editor/libdimgeditor.la
> ../../digikam/utilities/splashscreen/libsplashscreen.la
> ../../digikam/utilities/setup/libsetup.la
> ../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(pngmetaloa
>der.o): In function
> `Digikam::PNGMetaLoader::png_skip_till_end(png_struct_def*,
> png_info_struct*)':pngmetaloader.cpp:(.text+0x51): undefined reference to
> `png_crc_finish'
>
> :pngmetaloader.cpp:(.text+0x68): undefined reference to `png_read_data'
> :pngmetaloader.cpp:(.text+0x73): undefined reference to `png_get_uint_32'
> :pngmetaloader.cpp:(.text+0x7e): undefined reference to `png_reset_crc'
> :pngmetaloader.cpp:(.text+0x98): undefined reference to `png_crc_read'
> :pngmetaloader.cpp:(.text+0xec): undefined reference to `png_handle_IHDR'
> :pngmetaloader.cpp:(.text+0x162): undefined reference to `png_read_data'
> :pngmetaloader.cpp:(.text+0x16d): undefined reference to `png_get_uint_32'
> :pngmetaloader.cpp:(.text+0x17b): undefined reference to `png_reset_crc'
> :pngmetaloader.cpp:(.text+0x195): undefined reference to `png_crc_read'
> :pngmetaloader.cpp:(.text+0x1ef): undefined reference to `png_handle_tEXt'
> :pngmetaloader.cpp:(.text+0x20d): undefined reference to `png_handle_tIME'
> :pngmetaloader.cpp:(.text+0x225): undefined reference to `png_crc_finish'
> :pngmetaloader.cpp:(.text+0x26d): undefined reference to `png_handle_IEND'
> :pngmetaloader.cpp:(.text+0x28b): undefined reference to `png_handle_zTXt'
> :pngmetaloader.cpp:(.text+0x2a9): undefined reference to
> : `png_handle_unknown'
>
> collect2: ld returned 1 exit status
> make[2]: *** [libdigikam.la] Fehler 1
> make[2]: Leaving directory `/usr/local/graphics/digikam/digikam'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/usr/local/graphics/digikam/digikam'
> make: *** [all-recursive] Fehler 1
>
> The png12-dev libs are installed.
> Any idea whats going wrong?
>
> Gerhard
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] Compile problems with png library

Gerhard Kulzer
On Tuesday 14 March 2006 08:08, Gilles Caulier wrote:

> Ah, I'm happy to see you Gerhard (:=)))...
>
> You have right. LIB_PNG isn't in the rules to link digikam part from the
> makefile.am. I will fix it.
>
> I suspect that all is right in my computer because libpng is added by
> default in ldd configuration.
>
> Nota; Gerhard, i need you to polish the new advanced Noise Reduction tool
> to remplace current despeckle tool in DigikamImagePlugins. The results are
> similar than Noise Nija program for Photoshop. Please help me to finalize
> the GUI, especially the settings.
>
> Look in your mail from yesterday, i have sent a message about in this ML.
>
as soon as I get digikam to work I'll get on to it...

Gerhard

P.S. I can't wait so see my b/w photos from Angkor Wat..
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Digikam-devel] Compile problems with png library

Gilles Caulier-2
In reply to this post by Gerhard Kulzer
Fixed in svn. Please checkout and try again.

Gilles

On Tuesday 14 March 2006 07:58 am, Gerhard Kulzer wrote:

> Hi Gilles,
> I'm back in France and try to compile the latest version of svn.
> compilation stops here:
> /bin/sh ../../libtool --silent --tag=CXX --mode=link g++  -O2
> -march=pentium4 -ffast-math -mmmx -msse2    -o libdigikam.la -rpath
> /usr/lib -L/usr/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib    -R /usr/lib -R
> /usr/lib
> -R /usr/share/qt3/lib -R /usr/X11R6/lib -no-undefined -Wl,--no-undefined
> -Wl,--allow-shlib-undefined albummanager.lo album.lo albumitemhandler.lo
> albumdb.lo albumdb_sqlite2.lo albumlister.lo dragobjects.lo iconview.lo
> icongroupitem.lo iconitem.lo digikamapp.lo digikamview.lo
> albumfolderview.lo albumiconview.lo albumicongroupitem.lo albumiconitem.lo
> albumpropsedit.lo albumsettings.lo cameralist.lo cameratype.lo
> cameradragobject.lo
> kipiinterface.lo tagcreatedlg.lo albumfiletip.lo tagspopupmenu.lo
> syncjob.lo albumhistory.lo scanlib.lo imageinfo.lo datefolderview.lo
> pixmapmanager.lo tagfolderview.lo tagfilterview.lo monthwidget.lo
> searchfolderview.lo dio.lo searchresultsview.lo searchresultsitem.lo
> searchquickdialog.lo
> searchadvanceddialog.lo searchwidgets.lo kdateedit.lo kdatetimeedit.lo
> kdatepickerpopup.lo folderview.lo folderitem.lo
> upgradedb_sqlite2tosqlite3.lo squeezedcombobox.lo ratingwidget.lo
> digikamfirstrun.lo dcopiface.lo dcopiface_skel.lo firstrunUI.lo -lkio
> -lsqlite3   -lkabc -lkexif   -lkipi -lkutils
> -lexiv2 ../../digikam/sqlite/libsqlite.la
> ../../digikam/libs/filters/libfilters.la
> ../../digikam/libs/thumbbar/libthumbbar.la
> ../../digikam/libs/themeengine/libthemeengine.la
> ../../digikam/libs/widgets/libwidgets.la
> ../../digikam/libs/dialogs/libdialog.la
> ../../digikam/libs/jpegutils/libjpegutils.la
> ../../digikam/libs/imageproperties/libimagepropertiesdigikam.la
> ../../digikam/libs/threadimageio/libthreadimageio.la
> ../../digikam/utilities/cameragui/libcameragui.la
> ../../digikam/utilities/imageeditor/canvas/libdimgcanvas.la
> ../../digikam/utilities/imageeditor/editor/libdimgeditor.la
> ../../digikam/utilities/splashscreen/libsplashscreen.la
> ../../digikam/utilities/setup/libsetup.la
> ../../digikam/utilities/imageeditor/canvas/.libs/libdimgcanvas.a(pngmetaloa
>der.o): In function
> `Digikam::PNGMetaLoader::png_skip_till_end(png_struct_def*,
> png_info_struct*)':pngmetaloader.cpp:(.text+0x51): undefined reference to
> `png_crc_finish'
>
> :pngmetaloader.cpp:(.text+0x68): undefined reference to `png_read_data'
> :pngmetaloader.cpp:(.text+0x73): undefined reference to `png_get_uint_32'
> :pngmetaloader.cpp:(.text+0x7e): undefined reference to `png_reset_crc'
> :pngmetaloader.cpp:(.text+0x98): undefined reference to `png_crc_read'
> :pngmetaloader.cpp:(.text+0xec): undefined reference to `png_handle_IHDR'
> :pngmetaloader.cpp:(.text+0x162): undefined reference to `png_read_data'
> :pngmetaloader.cpp:(.text+0x16d): undefined reference to `png_get_uint_32'
> :pngmetaloader.cpp:(.text+0x17b): undefined reference to `png_reset_crc'
> :pngmetaloader.cpp:(.text+0x195): undefined reference to `png_crc_read'
> :pngmetaloader.cpp:(.text+0x1ef): undefined reference to `png_handle_tEXt'
> :pngmetaloader.cpp:(.text+0x20d): undefined reference to `png_handle_tIME'
> :pngmetaloader.cpp:(.text+0x225): undefined reference to `png_crc_finish'
> :pngmetaloader.cpp:(.text+0x26d): undefined reference to `png_handle_IEND'
> :pngmetaloader.cpp:(.text+0x28b): undefined reference to `png_handle_zTXt'
> :pngmetaloader.cpp:(.text+0x2a9): undefined reference to
> : `png_handle_unknown'
>
> collect2: ld returned 1 exit status
> make[2]: *** [libdigikam.la] Fehler 1
> make[2]: Leaving directory `/usr/local/graphics/digikam/digikam'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/usr/local/graphics/digikam/digikam'
> make: *** [all-recursive] Fehler 1
>
> The png12-dev libs are installed.
> Any idea whats going wrong?
>
> Gerhard
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel