<div dir="ltr">Hi Jingbo,<div><br></div><div>It's a limitation by design. TagLib handles the length and offset of files with the type <b>long</b>. So it can handle large files (larger than 2GB) only in which <b>long</b> is 64-bit like GCC on 64-bit Linux. For most 32-bit compilers, <b>long</b> is 32-bit and TagLib can't handle large files.</div><div><br></div><div>In taglib2 branch, we have made some changes to remove the limitation. It handles the length and offset of files with <b>long long</b> which is 64-bit in most systems.</div><div><br></div><div>Regards,</div><div>Kageyu</div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-23 12:24 GMT+09:00 Zhang, Jingbo <span dir="ltr"><<a href="mailto:jingbo.zhang@auralic.com" target="_blank">jingbo.zhang@auralic.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">sorry to bother you, but this problem has bother me a couple of days.<div><br><div>When I compile taglib in 64 bit operation system, it can read wav file more than 2GB.</div><div><br></div><div>But when I compile taglib in 32 bit operation system, it can't. </div><div>And then I add "SET ( CMAKE_CXX_FLAGS "-D_FILE_OFFSET_BITS=64" CACHE STRING "compile flags" FORCE)" in top of CMakeLists.txt, And the file "taglib\CMakeFiles\tag.dir\flags.make" has "-D_FILE_OFFSET_BITS=64" in "CXX_FLAGS", but it can't work. </div></div><div>So I am helpless in it. </div><div><br></div><div>Thanks a lot!</div><div><br></div></div>
<br>_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
<br></blockquote></div><br></div></div>