Taglib 1.9.1 upgrade not reading embedded artwork

wifanlith wifanlith at googlemail.com
Tue Oct 22 07:55:25 UTC 2013


I have decided to try and build it all with -DENABLE_STATIC=ON, but I am
getting lots of warnings about inconsistent DLL linkage

/[100%] Building CXX object bindings/c/CMakeFiles/tag_c.dir/tag_c.cpp.obj
tag_c.cpp
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(52) : warning C4273:
'taglib_set_strings_unicode' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(72) : see previous
definition of 'taglib_set_strings_unicode'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(53) : warning C4800: 'int' :
forcing value to bool 'true' or 'false' (performance warning)
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(57) : warning C4273:
'taglib_set_string_management_enabled' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(80) : see previous
definition of 'taglib_set_string_management_enabled'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(58) : warning C4800: 'int' :
forcing value to bool 'true' or 'false' (performance warning)
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(62) : warning C4273: 'taglib_free'
: inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(85) : see previous
definition of 'taglib_free'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(71) : warning C4273:
'taglib_file_new' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(111) : see previous
definition of 'taglib_file_new'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(76) : warning C4273:
'taglib_file_new_type' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(117) : see previous
definition of 'taglib_file_new_type'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(106) : warning C4273:
'taglib_file_free' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(122) : see previous
definition of 'taglib_file_free'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(111) : warning C4273:
'taglib_file_is_valid' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(129) : see previous
definition of 'taglib_file_is_valid'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(116) : warning C4273:
'taglib_file_tag' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(135) : see previous
definition of 'taglib_file_tag'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(122) : warning C4273:
'taglib_file_audioproperties' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(141) : see previous
definition of 'taglib_file_audioproperties'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(128) : warning C4273:
'taglib_file_save' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(146) : see previous
definition of 'taglib_file_save'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(137) : warning C4273:
'taglib_tag_title' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(158) : see previous
definition of 'taglib_tag_title'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(139) : warning C4996: 'strdup':
The POSIX name for this item is deprecated. Instead, use the ISO C++
conformant name:_strdup. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(207) : see declaration of 'strdup'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(146) : warning C4273:
'taglib_tag_artist' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(166) : see previous
definition of 'taglib_tag_artist'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(148) : warning C4996: 'strdup':
The POSIX name for this item is deprecated. Instead, use the ISO C++
conformant name:_strdup. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(207) : see declaration of 'strdup'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(155) : warning C4273:
'taglib_tag_album' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(174) : see previous
definition of 'taglib_tag_album'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(157) : warning C4996: 'strdup':
The POSIX name for this item is deprecated. Instead, use the ISO C++
conformant name:_strdup. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(207) : see declaration of 'strdup'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(164) : warning C4273:
'taglib_tag_comment' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(182) : see previous
definition of 'taglib_tag_comment'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(166) : warning C4996: 'strdup':
The POSIX name for this item is deprecated. Instead, use the ISO C++
conformant name:_strdup. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(207) : see declaration of 'strdup'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(173) : warning C4273:
'taglib_tag_genre' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(190) : see previous
definition of 'taglib_tag_genre'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(175) : warning C4996: 'strdup':
The POSIX name for this item is deprecated. Instead, use the ISO C++
conformant name:_strdup. See online help for details.
        C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE\string.h(207) : see declaration of 'strdup'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(182) : warning C4273:
'taglib_tag_year' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(195) : see previous
definition of 'taglib_tag_year'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(188) : warning C4273:
'taglib_tag_track' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(200) : see previous
definition of 'taglib_tag_track'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(194) : warning C4273:
'taglib_tag_set_title' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(207) : see previous
definition of 'taglib_tag_set_title'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(200) : warning C4273:
'taglib_tag_set_artist' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(214) : see previous
definition of 'taglib_tag_set_artist'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(206) : warning C4273:
'taglib_tag_set_album' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(221) : see previous
definition of 'taglib_tag_set_album'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(212) : warning C4273:
'taglib_tag_set_comment' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(228) : see previous
definition of 'taglib_tag_set_comment'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(218) : warning C4273:
'taglib_tag_set_genre' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(235) : see previous
definition of 'taglib_tag_set_genre'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(224) : warning C4273:
'taglib_tag_set_year' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(240) : see previous
definition of 'taglib_tag_set_year'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(230) : warning C4273:
'taglib_tag_set_track' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(245) : see previous
definition of 'taglib_tag_set_track'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(236) : warning C4273:
'taglib_tag_free_strings' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(250) : see previous
definition of 'taglib_tag_free_strings'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(250) : warning C4273:
'taglib_audioproperties_length' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(259) : see previous
definition of 'taglib_audioproperties_length'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(256) : warning C4273:
'taglib_audioproperties_bitrate' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(264) : see previous
definition of 'taglib_audioproperties_bitrate'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(262) : warning C4273:
'taglib_audioproperties_samplerate' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(269) : see previous
definition of 'taglib_audioproperties_samplerate'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(268) : warning C4273:
'taglib_audioproperties_channels' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(274) : see previous
definition of 'taglib_audioproperties_channels'
C:\taglib\taglib-1.8\bindings\c\tag_c.cpp(274) : warning C4273:
'taglib_id3v2_set_default_text_encoding' : inconsistent dll linkage
        c:\taglib\taglib-1.8\bindings\c\tag_c.h(291) : see previous
definition of 'taglib_id3v2_set_default_text_encoding'/

I am clearly doing something wrong in the build here, I'm just not sure
what.

I am using this command:-

C:\taglib\taglib-1.8>cmake" -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
-DENABLE_STATIC=ON -DZLIB_INCLUDE_DIR=C:\taglib\zlib-1.2.8\
-DZLIB_LIBRARY=C:\taglib\zlib-1.2.8\zlibstatic.lib .
 then nmake clean and nmake

I get the feeling this is something simple I am missing. Can you help?



--
View this message in context: http://kde.6490.n7.nabble.com/Taglib-1-9-1-upgrade-not-reading-embedded-artwork-tp1546223p1546706.html
Sent from the taglib-devel mailing list archive at Nabble.com.


More information about the taglib-devel mailing list