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