Xerces Ubuntu Probleme



  • Hallo
    ich habe Xerces per synaptic installiert... Bei meinem Programm (1zu1 von hier raus kopiert) hagelt es jetzt diese Compilefehler:

    obj/Debug/main.o||In function ~XMLAttDefList':| /usr/local/include/xercesc/framework/XMLAttDefList.hpp|158|undefined reference toxercesc_3_0::XMemory::operator delete(void*)'|
    /usr/local/include/xercesc/framework/XMLAttDefList.hpp|158|undefined reference to xercesc\_3\_0::XMemory::operator delete(void*)'| obj/Debug/main.o||In function~DTDEntityDecl':|
    /usr/local/include/xercesc/validators/DTD/DTDEntityDecl.hpp|162|undefined reference to xercesc\_3\_0::XMLEntityDecl::~XMLEntityDecl()'| /usr/local/include/xercesc/validators/DTD/DTDEntityDecl.hpp|162|undefined reference toxercesc_3_0::XMemory::operator delete(void*)'|
    /usr/local/include/xercesc/validators/DTD/DTDEntityDecl.hpp|162|undefined reference to xercesc\_3\_0::XMLEntityDecl::~XMLEntityDecl()'| /usr/local/include/xercesc/validators/DTD/DTDEntityDecl.hpp|162|undefined reference toxercesc_3_0::XMemory::operator delete(void*)'|
    obj/Debug/main.o:(.rodata._ZTVN11xercesc_3_013DTDEntityDeclE[vtable for xercesc_3_0::DTDEntityDecl]+0x10)||undefined reference to xercesc\_3_0::DTDEntityDecl::isSerializable() const'| obj/Debug/main.o:(.rodata.\_ZTVN11xercesc\_3\_013DTDEntityDeclE[vtable for xercesc\_3\_0::DTDEntityDecl]+0x14)||undefined reference toxercesc_3_0::DTDEntityDecl::serialize(xercesc_3_0::XSerializeEngine&)'|
    obj/Debug/main.o:(.rodata._ZTVN11xercesc_3_013DTDEntityDeclE[vtable for xercesc_3_0::DTDEntityDecl]+0x18)||undefined reference to xercesc\_3_0::DTDEntityDecl::getProtoType() const'| obj/Debug/main.o:(.rodata.\_ZTVN11xercesc\_3\_013XMLAttDefListE[vtable for xercesc\_3\_0::XMLAttDefList]+0x10)||undefined reference toxercesc_3_0::XMLAttDefList::isSerializable() const'|
    obj/Debug/main.o:(.rodata._ZTVN11xercesc_3_013XMLAttDefListE[vtable for xercesc_3_0::XMLAttDefList]+0x14)||undefined reference to xercesc\_3\_0::XMLAttDefList::serialize(xercesc\_3_0::XSerializeEngine&)'| obj/Debug/main.o:(.rodata.\_ZTVN11xercesc\_3\_013XMLAttDefListE[vtable for xercesc\_3\_0::XMLAttDefList]+0x18)||undefined reference toxercesc_3_0::XMLAttDefList::getProtoType() const'|
    obj/Debug/main.o:(.rodata._ZTIN11xercesc_3_013DTDEntityDeclE[typeinfo for xercesc_3_0::DTDEntityDecl]+0x8)||undefined reference to typeinfo for xercesc\_3_0::XMLEntityDecl'| obj/Debug/parser.o||In functionGetConfig':|
    /home/name/xml4c/xml/parser.cpp|27|undefined reference to `xercesc_3_0::XMLUni::fgXercescDefaultLocale'|
    UND VIELE MEHR^^

    ||Edit the max errors limit in compiler options...|
    ||=== Build finished: 50 errors, 0 warnings ===|

    Als IDE nutze ich code::blocks, wahrscheinlich muss ich noch unter BuildOptions einstellen oder? Aber was 😕



  • Du musst noch zur entsprechenden Library linken, die auf der von Dir angegebenen Seite vmtl. mit -l angegeben ist. (Und der Pfad dorthin mit -L.)



  • Dieser Thread wurde von Moderator/in nman aus dem Forum Linux/Unix in das Forum Compiler- und IDE-Forum verschoben.

    Im Zweifelsfall bitte auch folgende Hinweise beachten:
    C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?

    Dieses Posting wurde automatisch erzeugt.


Anmelden zum Antworten