<div dir="ltr">Hi,<br><br>Sorry for the &quot;help-me to fix&quot; question, but I&#39;m having a &quot;No matching function error&quot; for the TagLib::FileRef described bellow:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make all <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Building file: ../main.cpp<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Invoking: GCC C++ Compiler<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF&quot;main.d&quot; -MT&quot;main.d&quot; -o&quot;main.o&quot; &quot;../main.cpp&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In file included from ../main.cpp:2:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:107: error: 'File' declared as a 'virtual' field<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:107: error: expected ';' before '*' token<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:127: error: expected `)&#39; before 'fileName'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:136: error: expected `)&#39; before '*' token<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:179: error: expected ';' before '*' token<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:216: error: 'StringList' does not name a type<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:250: error: expected ';' before '*' token<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ../main.cpp: In function 'int main()':<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ../main.cpp:6: error: no matching function for call to 'TagLib::FileRef::FileRef(const char [50])'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:141: note: candidates are: TagLib::FileRef::FileRef(const TagLib::FileRef&amp;)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/include/taglib/fileref.h:116: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TagLib::FileRef::FileRef()<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; make: *** [main.o] Error 1<br clear="all"><br>Is the &quot;TagLib::FileRef::FileRef(const char [50])&quot; normal?<br>The same error occurs when I try to pass a const char*, and a cast to (FileName) returns that FileName doesn&#39;t name a type.<br>
<br>I already tried the Debian 1.5.3 dev package and to compile the 1.5 source, both with same results.<br><br>What I&#39;m missing?<br><br>Thanks in advance.<br>-- <br>-<br>Douglas Schmidt<br>
</div>