build xalanc using msvs2005

Discussion in 'XML' started by Olaf, Jul 10, 2007.

  1. Olaf

    Olaf Guest

    Hi,

    I try to build the xalan-c 1.1.0 on windows using visual studio 2005
    (express) (aka VS8.0). xerces-c 2.7.0 was build successfully before.

    Anyay, I get a lot of compile errors, e.g. to build the
    LocalMsgIndex.hpp header, which requires the MsgCreator:

    D:\Temp\build\xml-xalan\c\Projects\Win32\VC7.1\Utils\MsgCreator>nmake -f
    MsgCreator.mak
    Microsoft (R) Program Maintenance Utility Version 7.00.8882
    Copyright (C) Microsoft Corp 1988-2000. All rights reserved.
    No configuration specified. Defaulting to MsgCreator - Win32 Debug.
    cl.exe /nologo /MLd /W4 /Gm /GX /ZI /Od /I ".\\" /I
    ..\..\..\..\..\..\src /I "C:\Cpp\src" /I "C:\Cpp\include" /D
    "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS"
    /Fr".\..\..\..\..\..\Build\Win32\VC7.1\Debug\Util\MsgCreator\\"
    /Fp".\..\..\..\..\..\Build\Win32\VC7.1\Debug\Util\MsgCreator\MsgCreator.pch"
    /YX /Fo".\..\..\..\..\..\Build\Win32\VC7.1\Debug\Util\MsgCreator\\"
    /Fd".\..\..\..\..\..\Build\Win32\VC7.1\Debug\Util\MsgCreator\\" /FD /GZ
    /c ..\..\..\..\..\src\xalanc\Utils\MsgCreator\ICUResHandler.cpp
    cl : Befehlszeile warning D9035 : Die Option "GX" ist veraltet und wird
    in einer der nächsten Versionen entfernt.
    cl : Befehlszeile warning D9036 : "EHsc" anstelle von "GX" verwenden
    cl : Befehlszeile warning D9035 : Die Option "Fr" ist veraltet und wird
    in einer der nächsten Versionen entfernt.
    cl : Befehlszeile warning D9036 : "FR" anstelle von "Fr" verwenden
    cl : Befehlszeile warning D9035 : Die Option "GZ" ist veraltet und wird
    in einer der nächsten Versionen entfernt.
    cl : Befehlszeile warning D9036 : "RTC1" anstelle von "GZ" verwenden
    cl : Befehlszeile warning D9002 : Unbekannte Option "/MLd" wird ignoriert.
    cl : Befehlszeile warning D9002 : Unbekannte Option "/YX" wird ignoriert.
    ICUResHandler.cpp
    d:\temp\build\xml-xalan\c\src\xalanc\utils\msgcreator\icureshandler.cpp(89)
    : error C2664: 'void XalanFileOutputStream::write(const UTF16Ch
    *,unsigned int)': Konvertierung des Parameters 1 von 'XMLCh [512]' in
    'const UTF16Ch *' nicht möglich
    Die Typen, auf die verwiesen wird, sind nicht verknüpft; die
    Konvertierung erfordert einen reinterpret_cast-Operator oder eine
    Typumwandlung im C- oder Funktionsformat.
    d:\temp\build\xml-xalan\c\src\xalanc\utils\msgcreator\icureshandler.cpp(150)
    : error C2664: 'void XalanFileOutputStream::write(const UTF16Ch
    *,unsigned int)': Konvertierung des Parameters 1 von 'XMLCh *' in 'const
    UTF16Ch *' nicht möglich
    Die Typen, auf die verwiesen wird, sind nicht verknüpft; die
    Konvertierung erfordert einen reinterpret_cast-Operator oder eine
    Typumwandlung im C- oder Funktionsformat.
    NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
    Stop.

    The compiler grumps about old compile options, don't care about. The
    error is of interest:
    error C2664: 'void XalanFileOutputStream::write(const UTF16Ch *,unsigned
    int)': Couldn't convert parameter 1 from 'XMLCh [512]' to 'const UTF16Ch
    *' not possible.

    This compile error concerns the hole xalan-c source tree! Is this
    problem well known and does exist solutions?

    Thanks
    Olaf
    Olaf, Jul 10, 2007
    #1
    1. Advertising

  2. Olaf wrote:

    > I try to build the xalan-c 1.1.0 on windows using visual studio 2005
    > (express) (aka VS8.0). xerces-c 2.7.0 was build successfully before.
    >
    > Anyay, I get a lot of compile errors, e.g. to build the
    > LocalMsgIndex.hpp header, which requires the MsgCreator:


    I think there are mailing lists for Xalan C and for Xalan Java users, I
    think your chances to find help and expertise building Xalan C are
    greater on the appropriate mailing list than here in comp.text.xml.

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, Jul 10, 2007
    #2
    1. Advertising

  3. Martin Honnen wrote:
    > I think there are mailing lists for Xalan C and for Xalan Java users


    There are. For information about how to reach the Xalan-C list (and
    others), see
    http://xml.apache.org/mail.html#xalan-c-users

    It's been years since I've looked at the C++ version of the code, so I
    can't offer any useful advice other than "ask on those lists and/or
    check the website."

    --
    Joe Kesselman / Beware the fury of a patient man. -- John Dryden
    Joseph Kesselman, Jul 10, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vagif Abilov
    Replies:
    2
    Views:
    542
    Vagif Abilov
    Jul 7, 2004
  2. Pedro Mir
    Replies:
    2
    Views:
    429
    Winista
    Jun 20, 2006
  3. Nicolas Lehuen
    Replies:
    3
    Views:
    699
    Nicolas Lehuen
    Jan 28, 2004
  4. Toon Knapen
    Replies:
    2
    Views:
    350
    Toon Knapen
    May 17, 2006
  5. Replies:
    3
    Views:
    526
    Joseph Kesselman
    Sep 21, 2007
Loading...

Share This Page