XERCES mit Dev-C++ unter Vista



  • Hallo zusammen,

    ich bin jetzt schon Tage beschäftigt und finde keine Lösung. Habe viele Posts im Inet gelesen und probiert aber es hilft nicht.

    Ich programmiere mit Dev-C++ unter Vista ein Konsolenprogramm, dass auch ein XML Parsen können muss. Deshalb habe ich mir das XERCES Package runtergeladen und installieren lassen.

    Ich bekomme immer folgende Linker Meldungen:

    In function ZN9RcvThread4testEv': [Linker error] undefined reference to_imp___ZN11xercesc_2_86XMLUni22fgXercescDefaultLocaleE'
    [Linker error] undefined reference to \_imp\_\_\_ZN11xercesc\_2\_816XMLPlatformUtils10InitializeEPKcS2\_PNS\_12PanicHandlerEPNS_13MemoryManagerEb' [Linker error] undefined reference to_imp___ZN11xercesc_2_816XMLPlatformUtils9TerminateEv'
    ld returned 1 exit status
    [Build Error] [CPPServerMain.exe] Error 1

    Ich habe jetzt schon alle Wege versucht um die XERCES Bibliotheken zu linken, das hat aber alles nicht funktioniert.
    Wenn mal die Linker Meldungen nicht mehr kamen, wurde mir gesagt: "ddlcrt2.o no such file or directory". Alle Lösungsvorschläge aus dem Netz zu dieser Nachricht haben diese Meldung nicht behoben. Deshalb ist sind meine Kompilier- und Bibliothekeneinstellungen wieder auf Standard eingestellt.

    Kann mir jemand erklären, wie ich die XERCES Bibliotheken linken muss?

    Danke im voraus.

    Gruß Schmiddi





  • Danke erstmal für die Antwort.

    Das habe ich mir auch schon durch gelesen. Ich verstehe aber nicht genau was ich machen soll. Muss ich eine Datei aufrufen oder muss ich eine Kommandobox öffnen? Ich kenne mich mit solchen Build Aufrufen nicht aus und tappe total im Dunkeln.

    Ein Beispiel auf deustch (evtl. mit Screenshots) wäre bestimmt hilfreich.

    Gruß Schmiddi



  • verwendest du "binary distribution" oder hasst du den Quellcode
    heruntergeladen und kompiliert.



  • http://de.wikipedia.org/wiki/Binary_distribution

    Schau dir da den 2.1 Punkt an!!! das is das was du brauchst 😉



  • Ich habe von der XERCES Seite die Codes runtergeladen. Ich habe also die .hpp Dateien. Zusätzlich waren auch.def, *.lib und *.dll dabei.
    so wie ich das gelesen habe, sind die *.lib Dateien für Visual Studio, da bekomme ich aber andere Fehlermeldungen in Standardheader Dateien. Mit Code::Blocks genauso.

    Wenn ich wüsste was "Binary ditribution" ist.

    Der Link funktioniert leider nicht.

    Ich google mal nach "Binary distribution".

    Danke.

    Gruß Schmiddi



  • Ich habe jetzt rausgefunden was "binary distribution" bedeutet. welchen download muss ich den jetzt verwenden?

    http://xerces.apache.org/xerces-c/download.cgi

    Den MingW oder nicht?

    Wie lasse ich denn dann den runConfigure laufen?



  • Es giebt kein "binary distribution" für MinGW.

    das hier wird glabe ich nicht weiterhelfen
    http://www.mingw.org/mingwfaq.shtml#faq-msvcdll

    Du musst also den Quellcode kompilieren,
    nimm den hier der mit dem zip ist möglicherweise beschädigt. (irgendwo gelesen)
    xerces-c-src_2_8_0.tar.gz

    Wie Kompilieren:
    http://xerces.apache.org/xerces-c/build-winunix.html#MinGW

    $ cd
    $ gzip -dc xerces-c-src_2_8_0.tar.gz | tar x
    $ export XERCESCROOT=~/xerces-c-src_2_8_0
    $ cd xerces-c-src_2_8_0/src/xercesc
    $ ./runConfigure -p mingw-msys -c gcc -x g++ -n fileonly \
    -r none -s -z -mno-cygwin -C --host=i686-mingw32
    $ make

    mögliche andere einstellungen
    ---------------------------
    ./runConfigure -p mingw-msys -n fileonly -r native

    -----------------------

    Quellcode herunterladen, entpacken, Umgebungsvariable XERCESCROOT
    auf Quelltextverzeichniss setzen
    In verzeichniss des Quelltextes "src_2_8_0/src/xercesc" gehen
    mingw32-make.exe ./runConfigure -p mingw-msys -c gcc -x g++ -n fileonly -r none -s -z -mno-cygwin -C --host=i686-mingw32

    MinGW und MSYS mussen insalliert sein und in Path umgebungsvariable gesetzt sein
    http://www.mingw.org/download.shtml#Contents

    ungetestet
    --------------
    viel glück
    ---
    Ramsis



  • So ok, die Tipps waren schon ziemlich gut. Hab auch das meiste verstanden. Also ich habe jetzt MinGW und MSYS runtergeladen.

    Die liegen jetzt bei mir unter C:\. In dem C:\MSYS\1.0 Ordner habe ich einen HOME Ordner gesehen, da habe ich die xerces-c-src_2_8_0.tar.gz hinkopiert. Das Entpacken mit gzip hat funktioniert. Der Export (ich denke das ist die Umgebungsvariable!?) auch.

    Mit dem runConfigure bin ich mir jetzt nicht sicher, denke das war auch ok, denn die Makefiles sind erzeugt worden:

    $ ./runConfigure -p mingw-msys -c gcc -x g++ -n fileonly \ -r none -s -z -mno-cgywin -C --host=i686-mingw32
    Generating makefiles with the following options ...
    Platform: mingw-msys
    C Compiler: gcc
    C++ Compiler: g++
    Message Loader: inmem
    Net Accessor: fileonly
    Transcoder: native
    Thread option: pthread
    Library type: shared
    bitsToBuild option: 32
    Extra compile options:
    Extra link options:
    Extra configure options:
    Debug is OFF

    checking for gcc... gcc
    checking for C compiler default output file name... a.exe
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... .exe
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for a BSD-compatible install... /bin/install -c
    checking for autoconf... true
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for XMLByte... no
    checking build system type... i686-pc-mingw32
    checking host system type... i686-pc-mingw32
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating util/Makefile
    config.status: creating util/Transcoders/Cygwin/Makefile
    config.status: creating util/Transcoders/Win32/Makefile
    config.status: creating util/Transcoders/ICU/Makefile
    config.status: creating util/Transcoders/Iconv/Makefile
    config.status: creating util/Transcoders/Iconv390/Makefile
    config.status: creating util/Transcoders/Uniconv390/Makefile
    config.status: creating util/Transcoders/Iconv400/Makefile
    config.status: creating util/Transcoders/IconvFBSD/Makefile
    config.status: creating util/Transcoders/IconvGNU/Makefile
    config.status: creating util/Transcoders/MacOSUnicodeConverter/Makefile
    config.status: creating util/Platforms/Makefile
    config.status: creating util/Platforms/Solaris/Makefile
    config.status: creating util/Platforms/AIX/Makefile
    config.status: creating util/Platforms/BeOS/Makefile
    config.status: creating util/Platforms/QNX/Makefile
    config.status: creating util/Platforms/Linux/Makefile
    config.status: creating util/Platforms/FreeBSD/Makefile
    config.status: creating util/Platforms/NetBSD/Makefile
    config.status: creating util/Platforms/HPUX/Makefile
    config.status: creating util/Platforms/OS390/Makefile
    config.status: creating util/Platforms/OS400/Makefile
    config.status: creating util/Platforms/IRIX/Makefile
    config.status: creating util/Platforms/PTX/Makefile
    config.status: creating util/Platforms/OpenServer/Makefile
    config.status: creating util/Platforms/UnixWare/Makefile
    config.status: creating util/Platforms/Tru64/Makefile
    config.status: creating util/Platforms/MacOS/Makefile
    config.status: creating util/Platforms/Win32/Makefile
    config.status: creating util/Platforms/Cygwin/Makefile
    config.status: creating util/Compilers/Makefile
    config.status: creating util/MsgLoaders/InMemory/Makefile
    config.status: creating util/MsgLoaders/ICU/Makefile
    config.status: creating util/MsgLoaders/ICU/resources/Makefile
    config.status: creating util/MsgLoaders/MsgCatalog/Makefile
    config.status: creating util/MsgLoaders/MsgFile/Makefile
    config.status: creating util/NetAccessors/Socket/Makefile
    config.status: creating util/NetAccessors/WinSock/Makefile
    config.status: creating util/NetAccessors/libWWW/Makefile
    config.status: creating util/NetAccessors/MacOSURLAccessCF/Makefile
    config.status: creating util/regx/Makefile
    config.status: creating validators/Makefile
    config.status: creating validators/common/Makefile
    config.status: creating validators/datatype/Makefile
    config.status: creating validators/DTD/Makefile
    config.status: creating validators/schema/Makefile
    config.status: creating validators/schema/identity/Makefile
    config.status: creating framework/Makefile
    config.status: creating framework/psvi/Makefile
    config.status: creating dom/Makefile
    config.status: creating dom/impl/Makefile
    config.status: creating dom/deprecated/Makefile
    config.status: creating parsers/Makefile
    config.status: creating internal/Makefile
    config.status: creating sax/Makefile
    config.status: creating sax2/Makefile
    config.status: creating ../../obj/Makefile
    config.status: executing default commands

    Having build problems?
    Read instructions at http://xerces.apache.org/xerces-c/build.html
    Still cannot resolve it?
    Find out if someone else had the same problem before.
    Go to http://marc.theaimsgroup.com/?l=xerces-c-dev

    In future, you may also directly type the following commands to create
    the Makefiles.

    export TRANSCODER="Cygwin"
    export MESSAGELOADER="INMEM"
    export NETACCESSOR="FileOnly"
    export THREADS="pthread"
    export LIBTYPE="shared"
    export BITSTOBUILD="32"
    export CC="gcc"
    export CXX="g++"
    export CXXFLAGS=" -w -O -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -D XML_USE_CYGWIN_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -mthreads "
    export CFLAGS=" -w -O -DNDEBUG -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS - DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXM L_USE_CYGWIN_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -mthreads "
    export LDFLAGS=" "
    export LIBS=" -mthreads "
    configure

    If the result of the above commands look OK to you, go to the directory
    ~/xerces-c-src_2_8_0/src/xercesc and type "make" (or "gmake")
    to make the XERCES-C system.

    Das Make macht mir aber noch Probleme, da er die include Dateien nicht findet:

    $ make
    Preparing the directory structure for a build ...
    mkdir -p ~/xerces-c-src_2_8_0/obj/MINGW
    mkdir -p ~/xerces-c-src_2_8_0/obj/MINGW/depdom
    mkdir -p ~/xerces-c-src_2_8_0/lib
    make -s -C util includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/Platforms/Win32
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/Transcoders/Cygwin
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/MsgLoaders/InMemory
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/Compilers
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/regx
    make -s -C sax includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/sax
    make -s -C sax2 includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/sax2
    make -s -C internal includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/internal
    make -s -C framework includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/framework
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/framework/psvi
    make -s -C parsers includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/parsers
    make -s -C validators includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/validators/common
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/validators/datatype
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/validators/DTD
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/validators/schema
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/validators/schema/identity
    make -s -C dom includes
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/dom
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/dom/impl
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/dom/deprecated
    Building util
    make -s -C util
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/Platforms/Win32
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/Transcoders/Cygwin
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/MsgLoaders/InMemory
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/Compilers
    (CP) ~/xerces-c-src_2_8_0/include/xercesc/util/regx
    (C++) Base64.o
    In file included from ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:25,
    from Base64.cpp:25:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XercesDefs.hpp:46:57: xercesc/util/Platforms/Win32/Win32Defs.hpp: No such file or directory
    ~/xerces-c-src_2_8_0/include/xercesc/util/XercesDefs.hpp:167:49: xercesc/util/Compilers/GCCDefs.hpp: No such file or directory
    In file included from ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:25,
    from Base64.cpp:25:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XercesDefs.hpp:213: error: XMLUInt16' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XercesDefs.hpp:214: error:XMLUInt32' does not name a type
    In file included from ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:26,
    from Base64.cpp:25:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:36: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:37: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:38: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:39: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:40: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:41: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:42: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:43: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:44: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:45: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:46: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:47: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:48: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:49: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:50: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:51: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:52: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:53: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:54: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:55: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:56: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:57: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:58: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:59: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:60: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:61: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:62: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:63: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:64: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:65: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:66: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:67: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:68: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:69: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:70: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:71: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:72: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:73: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:74: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:75: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:77: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:78: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:80: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:81: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:82: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:83: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:84: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:85: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:86: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:87: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:88: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:89: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:91: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:92: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:93: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:94: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:95: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:96: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:97: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:98: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:99: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:100: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:101: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:102: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:103: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:104: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:105: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:106: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:107: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:108: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:109: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:110: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:111: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:112: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:113: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:114: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:115: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:116: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:118: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:119: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:120: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:121: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:122: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:123: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:124: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:125: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:126: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:127: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:128: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:129: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:130: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:131: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:132: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:133: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:134: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:135: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:136: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:137: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:138: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:139: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:140: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:141: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:142: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:143: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:145: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:146: error:XMLCh' does not name a type
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLUniDefs.hpp:148: error: XMLCh' does not name a type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUniDefs.hpp:149: error:XMLCh' does not name a type
    In file included from Base64.cpp:25:
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:27:47: xercesc/framework/MemoryManager.hpp: No such file or directory
    In file included from Base64.cpp:25:
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:41: error: invalid function declaration
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:272: error: Base64' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/Base64.hpp: In functionbool isPad(const XMLByte&)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:274: error: base64Padding' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/Base64.hpp:274: error: (Each undeclared identifier is reported only once for each function it appears in.) ~/xerces-c-src\_2\_8_0/include/xercesc/util/Base64.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/Base64.hpp:277: error:Base64' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:282: error: Base64' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/Base64.hpp:287: error:Base64' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:292: error: Base64' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/Base64.hpp:297: error:Base64' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/Base64.hpp:302: error: Base64' has not been declared In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:25, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:20, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMemory.hpp:42: error: invalid function declaration In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:26, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:20, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLExceptMsgs.hpp:7:36: xercesc/dom/DOMError.hpp: No such file or directory In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:27, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:20, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLUni.hpp:39: error: invalid function declaration In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:20, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:28:50: xercesc/framework/XMLErrorReporter.hpp: No such file or directory In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:25, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:20, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:41: error: invalid function declaration ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:146: error:XMLException' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp:147: error: non-member function `XMLExcepts::Codes getCode()' cannot have `const' method qualifier
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp: In function XMLExcepts::Codes getCode()': ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:148: error:fCode' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp: At global scope:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp:151: error: expected init-declarator before '' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp:151: error: expected ,' or;' before '
    ' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp:156: error: XMLException' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:157: error: non-member function \const char* getSrcFile()' cannot have `const' method qualifier
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp: In function const char* getSrcFile()': ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:158: error:fSrcFile' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp: At global scope:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp:163: error: XMLException' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:164: error: non-member function \unsigned int getSrcLine()' cannot have `const' method qualifier
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp: In function unsigned int getSrcLine()': ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:165: error:fSrcLine' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp: At global scope:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLException.hpp:168: error: XMLErrorReporter' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:168: error: expected init-declarator before "XMLException" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLException.hpp:168: error: expected,' or ;' before "XMLException" In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:20, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/ArrayIndexOutOfBoundsException.hpp:29: error: invalid function declaration In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/PlatformUtils.hpp:27, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:22, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/PanicHandler.hpp:45: error: invalid function declaration In file included from ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:22, from ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:25, from Base64.cpp:26: ~/xerces-c-src\_2\_8_0/include/xercesc/util/PlatformUtils.hpp:44: error: invalid function declaration ~/xerces-c-src\_2\_8_0/include/xercesc/util/PlatformUtils.hpp:66: error: invalid function declaration ~/xerces-c-src\_2\_8_0/include/xercesc/util/PlatformUtils.hpp:797: error: invalid function declaration ~/xerces-c-src\_2\_8_0/include/xercesc/util/PlatformUtils.hpp:823: error:XMLPlatformUtils' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/PlatformUtils.hpp:849: error: expected init-declarator before '::' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/PlatformUtils.hpp:849: error: expected ,' or;' before '::' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/PlatformUtils.hpp:856: error: XMLDeleter' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/PlatformUtils.hpp:857: error: ISO C++ forbids declaration ofXMLDeleter' with no type
    In file included from ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:25,
    from Base64.cpp:26:
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.hpp:35: error: expected class-name before '{' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.hpp:44: error: XMLPlatformUtils' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.hpp:44: error:fgMemoryManager' was not declared in this scope
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.hpp:103: error: expected class-name before '{' token
    In file included from ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.hpp:150,
    from ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:25,
    from Base64.cpp:26:
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In constructor BaseRefVectorOf<TElem>::BaseRefVectorOf(unsigned int, bool, MemoryManager*)': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:41: error: invalid use of undefined typestruct MemoryManager'
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration of struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c: In member functionvirtual void BaseRefVectorOf<TElem>::setElementAt(TElem*, unsigned int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c:68: error: there are no arguments to `ArrayIndexOutOfBoundsException' that depend on a template parameter, so a declaration of `ArrayIndexOutOfBoundsException' must be available
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c:68: error: (if you use -fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c: In member functionvoid BaseRefVectorOf<TElem>::insertElementAt(TElem*, unsigned int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c:85: error: there are no arguments to `ArrayIndexOutOfBoundsException' that depend on a template parameter, so a declaration of `ArrayIndexOutOfBoundsException' must be available
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In member function TElem* BaseRefVectorOf<TElem>::orphanElementAt(unsigned int)': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:102: error: there are no arguments to \ArrayIndexOutOfBoundsException' that depend on a template parameter, so a declaration of `ArrayIndexOutOfBoundsException' must be available
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In member function virtual void BaseRefVectorOf<TElem>::removeElementAt(unsigned int)': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:145: error: there are no arguments to \ArrayIndexOutOfBoundsException' that depend on a template parameter, so a declaration of `ArrayIndexOutOfBoundsException' must be available
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In member function virtual void BaseRefVectorOf<TElem>::cleanup()': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:203: error: invalid use of undefined typestruct MemoryManager'
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration of struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c: In member functionvoid BaseRefVectorOf<TElem>::reinitialize()':
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c:217: error: invalid use of undefined type struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration ofstruct MemoryManager'
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In member function const TElem* BaseRefVectorOf<TElem>::elementAt(unsigned int) const': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:242: error: there are no arguments to \ArrayIndexOutOfBoundsException' that depend on a template parameter, so a declaration of `ArrayIndexOutOfBoundsException' must be available
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In member function TElem* BaseRefVectorOf<TElem>::elementAt(unsigned int)': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:250: error: there are no arguments to \ArrayIndexOutOfBoundsException' that depend on a template parameter, so a declaration of `ArrayIndexOutOfBoundsException' must be available
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c: In member function void BaseRefVectorOf<TElem>::ensureExtraCapacity(unsigned int)': ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:277: error: invalid use of undefined typestruct MemoryManager'
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration of struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c:290: error: invalid use of undefined typestruct MemoryManager'
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration of struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/BaseRefVectorOf.c: In copy constructorBaseRefVectorEnumerator<TElem>::BaseRefVectorEnumerator(const BaseRefVectorEnumerator<TElem>&)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/BaseRefVectorOf.c:318: error: class `BaseRefVectorEnumerator<TElem>' does not have any field named `XMemory'
    In file included from Base64.cpp:26:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:26:43: xercesc/framework/XMLBuffer.hpp: No such file or directory
    In file included from Base64.cpp:26:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp: At global scope:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:46: error: invalid function declaration
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1449: error: XMLString' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1449: error: variable or fieldmoveChars' declared void
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1449: error: `moveChars' declared as an `inline' variable
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1449: error: XMLCh' was not declared in this scope ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1449: error: expected primary-expression before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1450: error: expected primary-expression before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1451: error: expected primary-expression before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1452: error: initializer expression list treated as compound expression ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1452: error: expected,' or ;' before '{' token ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1456: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1456: error: expected ,' or...' before '' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1457: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionunsigned int stringLen(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1458: error: src' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1464: error: expected primary-expression before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1464: error: expected;' before "const"
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1466: error: pszTmp' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1473: error: expected init-declarator before '*' token ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1473: error: expected,' or ;' before '*' token ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1487: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1487: error: expected ,' or...' before '
    ' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1489: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionbool startsWith(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1490: error: toTest' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1490: error:prefix' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1490: error: compareNString' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1493: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1493: error: expected ,' or...' before '' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1495: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionbool startsWithI(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1496: error: toTest' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1496: error:prefix' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1496: error: compareNIString' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1499: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1499: error: expected ,' or...' before '
    ' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1501: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionbool endsWith(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1503: error: XMLString' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1503: error:suffix' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1505: error: toTest' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1505: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1506: error: regionMatches' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1509: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1509: error: expected ,' or...' before '' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1514: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionbool validateRegion(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1516: error: offset1' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1516: error:offset2' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1517: error: charCount' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1517: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1517: error: str1' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1518: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1518: error: str2' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1524: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1524: error: expected ,' or...' before '
    ' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1526: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionbool equals(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1527: error: expected primary-expression before "const"
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1527: error: expected ;' before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1528: error: expected primary-expression before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1528: error: expected;' before "const"
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1530: error: psz1' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1530: error:psz2' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp: At global scope:
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1550: error: XMLString' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1576: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1576: error: expected ,' or...' before '' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1577: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionint lastIndexOf(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1578: error: XMLString' has not been declared ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1578: error:ch' undeclared (first use this function)
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1578: error: toSearch' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: At global scope: ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1581: error:XMLString' has not been declared
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1581: error: expected ,' or...' before '
    ' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1584: error: ISO C++ forbids declaration of XMLCh' with no type ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp: In functionunsigned int hash(int)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1587: error: tohash' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1590: error: expected primary-expression before "const" ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1590: error: expected;' before "const"
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMLString.hpp:1591: error: curCh' undeclared (first use this function) ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMLString.hpp:1597: error:hashModulus' undeclared (first use this function)
    In file included from Base64.cpp:27:
    ~/xerces-c-src_2_8_0/include/xercesc/util/Janitor.hpp: At global scope:
    ~/xerces-c-src_2_8_0/include/xercesc/util/Janitor.hpp:32: error: expected class-name before '{' token
    ~/xerces-c-src_2_8_0/include/xercesc/util/Janitor.hpp:74: error: expected class-name before '{' token
    In file included from ~/xerces-c-src_2_8_0/include/xercesc/util/Janitor.hpp:162,
    from Base64.cpp:27:
    ~/xerces-c-src_2_8_0/include/xercesc/util/Janitor.c: In member function void ArrayJanitor<T>::reset(T*)': ~/xerces-c-src\_2\_8_0/include/xercesc/util/Janitor.c:166: error: invalid use of undefined typestruct MemoryManager'
    ~/xerces-c-src_2_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration of struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/Janitor.c: In member functionvoid ArrayJanitor<T>::reset(T*, MemoryManager*)':
    ~/xerces-c-src_2_8_0/include/xercesc/util/Janitor.c:181: error: invalid use of undefined type struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration ofstruct MemoryManager'
    Base64.cpp:28:42: xercesc/internal/XMLReader.hpp: No such file or directory
    Base64.cpp: At global scope:
    Base64.cpp:44: error: Base64' has not been declared Base64.cpp:45: error:chLatin_A' was not declared in this scope
    Base64.cpp:45: error: chLatin_B' was not declared in this scope Base64.cpp:45: error:chLatin_C' was not declared in this scope
    Base64.cpp:45: error: chLatin_D' was not declared in this scope Base64.cpp:45: error:chLatin_E' was not declared in this scope
    Base64.cpp:46: error: chLatin_F' was not declared in this scope Base64.cpp:46: error:chLatin_G' was not declared in this scope
    Base64.cpp:46: error: chLatin_H' was not declared in this scope Base64.cpp:46: error:chLatin_I' was not declared in this scope
    Base64.cpp:46: error: chLatin_J' was not declared in this scope Base64.cpp:47: error:chLatin_K' was not declared in this scope
    Base64.cpp:47: error: chLatin_L' was not declared in this scope Base64.cpp:47: error:chLatin_M' was not declared in this scope
    Base64.cpp:47: error: chLatin_N' was not declared in this scope Base64.cpp:47: error:chLatin_O' was not declared in this scope
    Base64.cpp:48: error: chLatin_P' was not declared in this scope Base64.cpp:48: error:chLatin_Q' was not declared in this scope
    Base64.cpp:48: error: chLatin_R' was not declared in this scope Base64.cpp:48: error:chLatin_S' was not declared in this scope
    Base64.cpp:48: error: chLatin_T' was not declared in this scope Base64.cpp:49: error:chLatin_U' was not declared in this scope
    Base64.cpp:49: error: chLatin_V' was not declared in this scope Base64.cpp:49: error:chLatin_W' was not declared in this scope
    Base64.cpp:49: error: chLatin_X' was not declared in this scope Base64.cpp:49: error:chLatin_Y' was not declared in this scope
    Base64.cpp:49: error: chLatin_Z' was not declared in this scope Base64.cpp:50: error:chLatin_a' was not declared in this scope
    Base64.cpp:50: error: chLatin_b' was not declared in this scope Base64.cpp:50: error:chLatin_c' was not declared in this scope
    Base64.cpp:50: error: chLatin_d' was not declared in this scope Base64.cpp:50: error:chLatin_e' was not declared in this scope
    Base64.cpp:51: error: chLatin_f' was not declared in this scope Base64.cpp:51: error:chLatin_g' was not declared in this scope
    Base64.cpp:51: error: chLatin_h' was not declared in this scope Base64.cpp:51: error:chLatin_i' was not declared in this scope
    Base64.cpp:51: error: chLatin_j' was not declared in this scope Base64.cpp:52: error:chLatin_k' was not declared in this scope
    Base64.cpp:52: error: chLatin_l' was not declared in this scope Base64.cpp:52: error:chLatin_m' was not declared in this scope
    Base64.cpp:52: error: chLatin_n' was not declared in this scope Base64.cpp:52: error:chLatin_o' was not declared in this scope
    Base64.cpp:53: error: chLatin_p' was not declared in this scope Base64.cpp:53: error:chLatin_q' was not declared in this scope
    Base64.cpp:53: error: chLatin_r' was not declared in this scope Base64.cpp:53: error:chLatin_s' was not declared in this scope
    Base64.cpp:53: error: chLatin_t' was not declared in this scope Base64.cpp:54: error:chLatin_u' was not declared in this scope
    Base64.cpp:54: error: chLatin_v' was not declared in this scope Base64.cpp:54: error:chLatin_w' was not declared in this scope
    Base64.cpp:54: error: chLatin_x' was not declared in this scope Base64.cpp:54: error:chLatin_y' was not declared in this scope
    Base64.cpp:54: error: chLatin_z' was not declared in this scope Base64.cpp:55: error:chDigit_0' was not declared in this scope
    Base64.cpp:55: error: chDigit_1' was not declared in this scope Base64.cpp:55: error:chDigit_2' was not declared in this scope
    Base64.cpp:55: error: chDigit_3' was not declared in this scope Base64.cpp:55: error:chDigit_4' was not declared in this scope
    Base64.cpp:56: error: chDigit_5' was not declared in this scope Base64.cpp:56: error:chDigit_6' was not declared in this scope
    Base64.cpp:56: error: chDigit_7' was not declared in this scope Base64.cpp:56: error:chDigit_8' was not declared in this scope
    Base64.cpp:56: error: chDigit_9' was not declared in this scope Base64.cpp:57: error:chPlus' was not declared in this scope
    Base64.cpp:57: error: chForwardSlash' was not declared in this scope Base64.cpp:58: error:chNull' was not declared in this scope
    Base64.cpp:65: error: Base64' has not been declared Base64.cpp:86: error:Base64' has not been declared
    Base64.cpp:86: error: const XMLByte base64Padding' used prior to declaration Base64.cpp:86: error:chEqual' was not declared in this scope
    Base64.cpp:88: error: Base64' has not been declared Base64.cpp: In functionvoid* getExternalMemory(MemoryManager*, unsigned int)':
    Base64.cpp:106: error: invalid use of undefined type struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration ofstruct MemoryManager'
    Base64.cpp: In function void* getInternalMemory(unsigned int)': Base64.cpp:112: error:XMLPlatformUtils' has not been declared
    Base64.cpp:112: error: fgMemoryManager' undeclared (first use this function) Base64.cpp: In functionvoid returnExternalMemory(MemoryManager*, void*)':
    Base64.cpp:121: error: invalid use of undefined type struct MemoryManager' ~/xerces-c-src\_2\_8_0/include/xercesc/util/XMemory.hpp:31: error: forward declaration ofstruct MemoryManager'
    Base64.cpp: At global scope:
    Base64.cpp:151: error: Base64' has not been declared Base64.cpp:153: error:Base64' has not been declared
    Base64.cpp: In function XMLByte* encode(const XMLByte*, unsigned int, unsigned int*, MemoryManager*)': Base64.cpp:195: error:chLF' undeclared (first use this function)
    Base64.cpp: At global scope:
    Base64.cpp:259: error: Base64' has not been declared Base64.cpp:259: error: expected,' or ...' before '*' token Base64.cpp:263: error: ISO C++ forbids declaration ofXMLCh' with no type
    Base64.cpp: In function int getDataLength(int)': Base64.cpp:265: error:inputData' undeclared (first use this function)
    Base64.cpp:265: error: manager' undeclared (first use this function) Base64.cpp:265: error:conform' undeclared (first use this function)
    Base64.cpp:265: error: decodeToXMLByte' undeclared (first use this function) Base64.cpp: At global scope: Base64.cpp:276: error:Base64' has not been declared
    Base64.cpp:279: error: Conformance' has not been declared Base64.cpp:280: error: ISO C++ forbids declaration ofconform' with no type
    Base64.cpp: In function XMLByte* decode(const XMLByte*, unsigned int*, MemoryManager*, int)': Base64.cpp:287: error: cannot convert \XMLByte*' to `MemoryManager*' for argument `3' to `XMLByte* decode(const XMLByte*, unsigned int*, MemoryManager*, int)'
    Base64.cpp: At global scope:
    Base64.cpp:298: error: expected constructor, destructor, or type conversion before '' token
    Base64.cpp:298: error: expected ,' or;' before '
    ' token
    Base64.cpp:345: error: Base64' has not been declared Base64.cpp:345: error: expected,' or ...' before '*' token Base64.cpp:349: error: ISO C++ forbids declaration ofXMLCh' with no type
    Base64.cpp: In function XMLByte* decodeToXMLByte(int)': Base64.cpp:349: error:XMLByte* decodeToXMLByte(int)' used prior to declaration
    Base64.cpp:350: error: inputData' undeclared (first use this function) Base64.cpp:356: error:XMLString' has not been declared
    Base64.cpp:357: error: memMgr' undeclared (first use this function) Base64.cpp:358: error:XMLPlatformUtils' has not been declared
    Base64.cpp:358: error: fgMemoryManager' undeclared (first use this function) Base64.cpp:368: error:decodedLen' undeclared (first use this function)
    Base64.cpp:369: error: conform' undeclared (first use this function) Base64.cpp: At global scope: Base64.cpp:381: error: expected constructor, destructor, or type conversion before '*' token Base64.cpp:381: error: expected,' or ;' before '*' token Base64.cpp:492: error:Base64' has not been declared
    Base64.cpp:496: error: Conformance' has not been declared Base64.cpp:498: error: ISO C++ forbids declaration ofconform' with no type
    Base64.cpp: In function XMLByte* decode(const XMLByte*, unsigned int*, XMLByte*&, MemoryManager*, int)': Base64.cpp:505: error:XMLString' has not been declared
    Base64.cpp:505: error: invalid conversion from `const char*' to `int'
    Base64.cpp:505: error: initializing argument 1 of unsigned int stringLen(int)' Base64.cpp:507: error:XMLPlatformUtils' has not been declared
    Base64.cpp:507: error: fgMemoryManager' undeclared (first use this function) Base64.cpp:515: error:Conf_RFC2045' undeclared (first use this function)
    Base64.cpp:518: error: XMLChar1_0' has not been declared Base64.cpp:518: error:isWhitespace' undeclared (first use this function)
    Base64.cpp:532: error: Conf_Schema' undeclared (first use this function) Base64.cpp:534: error:chSpace' undeclared (first use this function)
    Base64.cpp:594: error: isData' undeclared (first use this function) Base64.cpp: At global scope: Base64.cpp:691: error:Base64' has not been declared
    Base64.cpp:695: error: Base64' has not been declared Base64.cpp: In functionbool isData(const XMLByte&)':
    Base64.cpp:696: error: `bool isData(const XMLByte&)' used prior to declaration
    make[1]: *** [Base64.o] Error 1
    make: *** [Util] Error 2

    Es gibt ja auch keinen include Ordner, das ist doch ein Fehler in der tar.gz oder? Hatte auch schon einen include Ordner erstellt aber er kann trotzdem nix finden.

    Was mache ich den jetzt noch falsch??? 😕

    Gruß Schmiddi



  • Schmiddi.85 schrieb:

    Der Export (ich denke das ist die Umgebungsvariable!?) auch.

    Umgebungsvariable (eng. Environment variable )
    Die Umgebungsvariable muss gesetzt sein, unter windows xp geht vollgendermasse.

    ---
    Systemsteuerung -> System -> Erweitert -> Umgebungsvariablen -> Neu:

    Name der Variable: XERCESCROOT

    Wert der Variable: C:\meinPfadZumXercesSrc\xerces-c-src_2_8_0
    ---

    Kannst nachschauen ob sie gesetzt ist, wenn nicht dann setzen.

    Du verwendest windows vista?



  • Ja richtig, ich benutzt Vista.

    Ich habe die Umgebungsvariable gesetzt, sowas habe ich schon mal gelesen. Geht unter Vista so:
    Start -> Systemsteuerung -> System und Wartung -> System -> Erweiterte Systemeinstellungen -> Umgebungsvariablen -> Neu

    Ich habe eine userspezifische Umgebungsvariable und Systemumgebungsvariable gesetzt. Die zeigen jetzt in den msys Ordner wo das runConfigure ausgeführt wird (auf den xercecs-c-src_2_8_0 Ordner hatte ich vorher). Hat aber leider nix gebracht.Ich habe immer noch die Linker Fehler vom letzten mal.

    Gruß Schmiddi



  • ich hab jetzt selbst ausprobiert.

    Folgende Umgebungsvariable hab ich gesetzt.

    XERCESCROOT = C:/xerces-c-src_2_8_0

    Folgende fehlerquellen::
    in pfad angaben darf es keine leerstellen geben,
    also falsch were
    c:/ordner src/bin

    und linux-style '/' anstatt '\'

    das bringt den durcheinander.

    Folgendes dazuschreiben, in die vordiefinierte PATH Umgebungsvariable

    PATH += C:\........\MinGW\bin;C:\...........\msys\1.0\bin

    msys - console
    -------
    cd /c
    cd xerces-c-src_2_8_0

    ./runConfigure -p mingw-msys -c gcc -x g++

    make
    ------

    EDIT:
    Hast du den neuesten MinGW-5.1.3 compiler?

    EDIT2:
    verändert.

    Kompiliert, erzeugt Linkfehler.
    Versuche die richtige einstellung zu finden.



  • Diese einstellung sollte funktionieren

    ./runConfigure -pmingw-msys -cgcc -xg++ -z-mno-cygwin -l-mno-cygwin -nwinsock -tWin32
    

    Problem mit Min 3.x ist das einige Declarationen in der winsock2.h
    ( z.B. LPFN_GETHOSTBYNAME ) nicht definiert sind,
    schaut man sich die winsock2.h in der Plattform SDK an, so sind sie dort definiert.

    Vieleicht sind diese deklarationen in MinGW-5.1.3 defienirt, oder ein update für winsoch2.h auf der Seite von mingw zu finden.

    Wenn nicht, dann muss man sie selbst definiren. 👎



  • Ramsis schrieb:

    linux-style '/' anstatt '\'

    Das habe ich auch schon vermutet. MSYS simuliert ja irgendwie Linux, aber die Einstellungen sind halt unter Windows.

    Naja, ich werde die Tipps heute Mittag mal probieren. Das kann doch alles nicht so schwer sein. Wenn's gar nicht geht, muss ich wohl meinen Sourcecode in Code::Blocks oder Visual Studio in ein Projekt packen und dann mein Glück versuchen. Manchmal soll programmieren auch Spaß machen. 🙂

    Ramsis schrieb:

    Folgendes dazuschreiben, in die vordiefinierte PATH Umgebungsvariable

    PATH += C:\........\MinGW\bin;C:\...........\msys\1.0\bin

    Sowas habe ich schonmal versucht, mach's aber nochmal, vielleicht hilft's ja.

    Ich melde mich auf jeden Fall wieder und gebe ein Feedback. Bei Erfolg werde ich alles hier nochmal zusammenfassen.

    Danke schon mal. Bis dann.
    Schönes Wochenende.

    Gruß Schmiddi



  • Hat funktioniert!!! Ich musste ein bißchen mit den Pfaden rumspielen und hatte noch ein Paar include Probleme aber dann hat er alle Bibliotheken sauber erstellt. 🙂 🙂 🙂

    Beim Wandeln meines Programms, gibt es aber folgende Meldungen:

    Als normaler User:

    Dumping stack trace to sh.exe.stackdump
    Dumping stack trace to sh.exe.stackdump
    [Build Error] [CPPServerMain.exe] Error 101120

    Als Admin:

    STATUS_ACCESS_VIOLATION
    Dumping stack trace to sh.exe.stackdump
    [Build Error] [CPPServerMain.exe] Error 101120

    Ich habe nur folgendes include im Programmcode stehen:

    #include <xercesc/util/PlatformUtils.hpp>

    Habe im Compiler alle Bibliotheken eingebunden, sonst gibt's andere Fehler!

    Ich vestehe nicht warum er beim Compilieren schon Zugriffsfehler bemerkt!?
    Da noch eine Idee???

    Gruß Schmiddi



  • Ok, mir haben noch ein Paar Bibliotheken gefehlt. Wenn ich alle einbinde erhalte ich folgende Meldung:

    CreateProcess(C:\msys\1.0\bin\sh.exe, C:/msys/1.0/bin/sh.exe -c "g++.exe -D__DEBUG__ CppServerMain.o -o \"CPPServerMain.exe\" -lwsock32
    ../../../../../../../Dev-Cpp/include/xerces-c-src_2_8_0/obj/MINGW/AbstractDOMParser.o

    ...

    ../../../../../../../Dev-Cpp/include/xerces-c-src_2_8_0/obj/MINGW/depdom/XMLDeclImpl.o -g3 ", ...) failed.

    (... alle weiteren Bibliotheken)

    Ich glaube der Befehl ist mit allen Bibliotheken zu lang für Windows, denn wenn ich in der Kommandobox folgendes machen:

    C:/msys/1.0/bin/sh.exe -c "g++.exe -D__DEBUG__ CppServerMain.o -o \"CPPServerMain.exe\" -lwsock32
    ../../../../../../../Dev-Cpp/include/xerces-c-src_2_8_0/obj/MINGW/AbstractDOMParser.o
    ../../../../../../../Dev-Cpp/include/xerces-c-src_2_8_0/obj/MINGW/depdom/XMLDeclImpl.o -g3"

    führt er das aus sagt aber, dass er ein Paar Dinge nicht kennt. Klar die stehen ja auch in den anderen XERCES Bibliotheken.

    Muss ich die jetzt einzeln einbinden? (Hab ich eigentlich auch schon versucht)



  • Du hasst ja DLL's erstellt?

    Und in der xerces-c-src_2_8_0\lib verzeichniss stehen
    Import Bibliotheken ( .a oder .lib ) und die muss du den linker bekannt mache.

    Und in der xerces-c-src_2_8_0\include verzeichniss stehen
    Header Dateien die muss du den compiler bekannt mache.

    In xerces-c-src_2_8_0/obj/MINGW verzeichniss stehen object Dateien
    mit dennen die DLL's erstellt wurden, sind jetzt unwichtig.



  • Hi,

    hatte gestern Abend keine Lust mehr noch einen Eintrag zu schreiben. Ich dachte ich muss die Bibliotheken zum Linken erstelle. Bin dann zufällig über die DLL's gestolpert. Die habe ich in den Linker eingebunden und es hat funktioniert!!! 🙂

    Vielen Dank für die super Hilfe! Das hätte ich alleine nie geschafft.

    Für alle die auch solche Probleme haben, jetzt die zusammenfassende Anleitung:

    - Umgebungsvariable XERCESCROOT setzen unter:
    Start -> Systemsteuerung -> System und Wartung -> System -> Erweiterte Systemeinstellungen -> Fortfahren -> Systemvariablen
    Wert ist "C:/xerse-c-src_2_8_0/src/xercesc". Unbedingt mit Linuxstyle "/" sonst geht's nicht!!!

    - MinGW und msys installieren

    - Umgebungsvariable "Path" um MinGW und msys erweitern:
    C:\msys\1.0\bin;C:\MinGW\bin

    - xercesc-c-src_2_8_0.tar.gz downloaden

    - msys starten

    - Xerces Sourcen entpacken
    $ cd
    $ gzip -dc xerces-c-src_2_8_0.tar.gz | tar x

    - RunConfigure ausführen
    $ export XERCESCROOT=~/xerces-c-src_2_8_0
    $ cd xerces-c-src_2_8_0/src/xercesc
    $ ./runConfigure -pmingw-msys -cgcc -xg++ -z-mno-cygwin -l-mno-cygwin -nwinsock -tWin32

    - Das erstellte make ausführen
    $ make

    - die DLL aus dem lib Ordner im Linker angeben. Bei Dev-Cpp geht das unter:
    Projekt -> Projekt Optionen -> Parameter -> Linker
    (glaub es ging auch unter Werkzeuge -> Compiler Optionen -> Verzeichnisse -> Bibliotheken wenn man kein Projekt hat)

    Und dann sollten die XERCESC Funtionen verwendet werden können.

    Mein Programm verursachte einen Absturz, die compilierte Exe als Admin ausgeführt und es ging.


Anmelden zum Antworten