T
Okay, bittesehr:
C:\Users\Chef\Documents\Visual Studio 2010\taglib-1.6.3\taglib-1.6.3\taglib>g++
tag.cpp
In file included from tag.h:29,
from tag.cpp:26:
taglib_export.h:42:27: error: taglib_config.h: No such file or directory
In file included from tag.cpp:26:
tag.h:30:21: error: tstring.h: No such file or directory
In file included from tag.cpp:26:
tag.h:57: error: 'String' does not name a type
tag.h:63: error: 'String' does not name a type
tag.h:69: error: 'String' does not name a type
tag.h:75: error: 'String' does not name a type
tag.h:81: error: 'String' does not name a type
tag.h:86: error: 'uint' does not name a type
tag.h:92: error: 'uint' does not name a type
tag.h:98: error: ISO C++ forbids declaration of 'String' with no type
tag.h:98: error: expected ',' or '...' before '&' token
tag.h:104: error: ISO C++ forbids declaration of 'String' with no type
tag.h:104: error: expected ',' or '...' before '&' token
tag.h:110: error: ISO C++ forbids declaration of 'String' with no type
tag.h:110: error: expected ',' or '...' before '&' token
tag.h:116: error: ISO C++ forbids declaration of 'String' with no type
tag.h:116: error: expected ',' or '...' before '&' token
tag.h:125: error: ISO C++ forbids declaration of 'String' with no type
tag.h:125: error: expected ',' or '...' before '&' token
tag.h:130: error: 'uint' has not been declared
tag.h:135: error: 'uint' has not been declared
tag.cpp:35: warning: 'TagLib::Tag::Tag()' redeclared without dllimport attribute
: previous dllimport ignored
tag.cpp:40: warning: 'virtual TagLib::Tag::~Tag()' redeclared without dllimport
attribute: previous dllimport ignored
tag.cpp:45: warning: 'virtual bool TagLib::Tag::isEmpty() const' redeclared with
out dllimport attribute: previous dllimport ignored
tag.cpp: In member function 'virtual bool TagLib::Tag::isEmpty() const':
tag.cpp:47: error: 'title' was not declared in this scope
tag.cpp:48: error: 'artist' was not declared in this scope
tag.cpp:49: error: 'album' was not declared in this scope
tag.cpp:50: error: 'comment' was not declared in this scope
tag.cpp:51: error: 'genre' was not declared in this scope
tag.cpp:52: error: 'year' was not declared in this scope
tag.cpp:53: error: 'track' was not declared in this scope
tag.cpp: At global scope:
tag.cpp:56: warning: 'static void TagLib::Tag::duplicate(const TagLib::Tag*, Tag
Lib::Tag*, bool)' redeclared without dllimport attribute: previous dllimport ign
ored
tag.cpp: In static member function 'static void TagLib::Tag::duplicate(const Tag
Lib::Tag*, TagLib::Tag*, bool)':
tag.cpp:59: error: 'const class TagLib::Tag' has no member named 'title'
tag.cpp:60: error: 'const class TagLib::Tag' has no member named 'artist'
tag.cpp:61: error: 'const class TagLib::Tag' has no member named 'album'
tag.cpp:62: error: 'const class TagLib::Tag' has no member named 'comment'
tag.cpp:63: error: 'const class TagLib::Tag' has no member named 'genre'
tag.cpp:64: error: 'const class TagLib::Tag' has no member named 'year'
tag.cpp:65: error: 'const class TagLib::Tag' has no member named 'track'
tag.cpp:68: error: 'class TagLib::Tag' has no member named 'title'
tag.cpp:69: error: 'const class TagLib::Tag' has no member named 'title'
tag.cpp:70: error: 'class TagLib::Tag' has no member named 'artist'
tag.cpp:71: error: 'const class TagLib::Tag' has no member named 'artist'
tag.cpp:72: error: 'class TagLib::Tag' has no member named 'album'
tag.cpp:73: error: 'const class TagLib::Tag' has no member named 'album'
tag.cpp:74: error: 'class TagLib::Tag' has no member named 'comment'
tag.cpp:75: error: 'const class TagLib::Tag' has no member named 'comment'
tag.cpp:76: error: 'class TagLib::Tag' has no member named 'genre'
tag.cpp:77: error: 'const class TagLib::Tag' has no member named 'genre'
tag.cpp:78: error: 'class TagLib::Tag' has no member named 'year'
tag.cpp:79: error: 'const class TagLib::Tag' has no member named 'year'
tag.cpp:80: error: 'class TagLib::Tag' has no member named 'track'
tag.cpp:81: error: 'const class TagLib::Tag' has no member named 'track'
C:\Users\Chef\Documents\Visual Studio 2010\taglib-1.6.3\taglib-1.6.3\taglib>
Das ist bei GCC und allen anderen MingW compilern so.
Wichtig ist halt, dass ich es als .lib bekomme damit ich es in VS nutzen kann.
/Edit:
Ich steige einfach auf eine andere Library um. Komischerweise geht TagLib wenn man mein Projekt direkt über g++ Compiled.
Also, Danke für deine Mühe Zum glück passiert sowas am anfang und nicht am ende des Projektes