build xalanc using msvs2005

O

Olaf

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
 
M

Martin Honnen

Olaf said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top