473,703 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

building xalanc using msvc++ 2005 express edition

I spent way too much time on this and I must say, I was a little
disgruntled with what has been posted on all the various Xalan C
mailing lists. Everyone says there's a solution, but give next to no
detail on how to achieve this "allusive" solution. Well I spent the
better part of a day finally figuring it out the hard way, trial and
error.

Here's a list of steps to compile the Xalan C version 1.10.0 on
Microsofts Visual C++ 2005 Express Edition (MSVC++ 2005 Express Ed.)

NOTE: these are only the steps to compile the Release version, I never
got around to figuring out how to compile it in Debug mode (I ran into
some more problems)

NOTE: Xerces and Xalan were compiled in the c:\dev directory, you can
of course compile it any where you like.
XERCES
======
1) Download xerces-c-src_2_7_0.zip and unzip it in c:\dev
2) Copy the contents of C:\dev\xerces-c-src_2_7_0\Proje cts\Win32\VC7.1
into a newly created VC8 directory
3) Open Projects\Win32\ VC8\xerces-all.sln. It will automatically get
converted to MSVC++ express edition Solutions
4) Set the solution configuration to Release
5) Right mouse click on the XercesLib project and select Properties
6) in the C++ and Linker sections change all VC7.1 directories to VC8
7) C++ -Advanced -Disable Specific Warnings = 4996
8) C++ -Language -Treat w_char as Built in type = NO
9) Remove XercesLib\util\ WIN32\version.r c file from the project.
10) Compile only the XercesLib project

11) Change the Tools -Options -Projects and Solutions -VC++
Directories:
Include Files: C:\dev\xerces-c-src_2_7_0\src
Library files: C:\dev\xerces-c-src_2_7_0\Build \Win32\VC8\Rele ase

12) My Computer->Properties->Advanced->Environement Variables
XERCESCROOT:C:\ dev\xerces-c-src_2_7_0
XALAN
=====

1) Downloaded source distro. Xalan-C_1_10_0-src.zip 2,894,892 bytes
2) unziped to c:\dev directory
3) Copy the contents of C:\dev\xml-xalan\c\Project s\Win32\VC7.1 into a
newly created VC8 directory
4) Open Projects\Win32\ VC8\Xalan.sln. It will automatically get
converted to MSVC++ express edition Solutions
4) Set the solution configuration to Release
5) Right mouse click on the AllInOne project and select Properties
6) in the C++ and Linker sections change all VC7.1 directories to VC8
7) C++ -Advanced -Disable Specific Warnings = 4996
8) C++ -Language -Treat w_char as Built in type = NO
9) Remove AllInOne\Resour ce Files\allinone. rc file from the project.

compiling localisation
----------------------
1) Update the following files (from the C:\dev\xml-xalan\c\ root):
Projects\Win32\ VC8\Utils\Local ization\tools.i ni
Projects\Win32\ VC8\Utils\Local ization\BuildMe ssages.mak
Projects\Win32\ VC8\Utils\MsgCr eator\MsgCreato r.mak
Projects\Win32\ VC8\Utils\Xalan MsgLib\XalanMsg Lib.mak

2) All places that have a VC7.1, change to VC8
3) tools.ini : comment [NMAKE] -#[NMAKE]
4) BuildMessages.m ak : insert the following line at the top : include
tools.ini

5) MsgCreator.mak: change the following line,
CPP_PROJ=/nologo /W4 /EHsc /wd4996 /Zc:wchar_t- /O2 /I ".\\" /I $
(XALANINCLUDE) $(XERCESINCLUDE ) /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /
D "_MBCS" /Fp"$(INTDIR)\Ms gCreator.pch" /Fo"$(INTDIR)\ \" /Fd"$(INTDIR)\
\" /FD /c
to,
CPP_PROJ=/nologo /ML /W4 /GX /O2 /I ".\\" /I $(XALANINCLUDE) $
(XERCESINCLUDE) /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$
(INTDIR)\MsgCre ator.pch" /YX /Fo"$(INTDIR)\ \" /Fd"$(INTDIR)\ \" /FD /c

6) XalanMsgLib.mak : change the following line,
CPP_PROJ=/nologo /MD /W4 /GX /O2 $(XERCESINCLUDE ) /I "..\..\..\. .\..
\src" /I ".\$(BUILDRESDI R)\Nls\Include" /D "WIN32" /D "NDEBUG" /D
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XALANMSGLIB_EX PORTS" /D
"XALAN_XALANMSG LIB_BUILD_DLL" /Fo"$(INTDIR)\ \" /Fd"$(INTDIR)\ \" /FD /
c
to,
CPP_PROJ=/nologo /MD /W4 /EHsc /O2 $(XERCESINCLUDE ) /I "..\..\..\. .\..
\src" /I ".\$(BUILDRESDI R)\Nls\Include" /D "WIN32" /D "NDEBUG" /D
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "XALANMSGLIB_EX PORTS" /D
"XALAN_XALANMSG LIB_BUILD_DLL" /Fo"$(INTDIR)\ \" /Fd"$(INTDIR)\ \" /FD /
c

7) Ensure that the Release build is active

8) Right-mouse click on the Localization project -Project Only - >
Build only Localization

11) Change the Tools -Options -Projects and Solutions -VC++
Directories:
Include Files: C:\dev\xml-xalan\c\src
xxx Library files: C:\dev\xerces-c-src_2_7_0\Build \Win32\VC8\Rele ase

12) Build AllInOne Project

That's it! Don't let the number of steps and the compiler switches
intimidate you. It's not so bad. I've been discovering the wonderful
world of server side / C++/ XSLT processing, ever since - and it's a
beautiful thing.

I hope this helps.

Sep 20 '07 #1
3 3397
hs********@gmai l.com wrote:
detail on how to achieve this "allusive" solution.
I think you meant "elusive", but thanks for posting the step-by-step. I
hope you've posted it to Xalan's own mailing lists as well as comp.text.xml.

(I haven't tried building Xalan C since shortly after we first started
to port it over from Java, and I don't have/use MS VC++, so I really
couldn't have offered much advice.)

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Sep 21 '07 #2
I should spell check more often, spelling mistakes are a bit silly in
this day and age (built in browser spell checkers).

I'm a little new to the news group thing, I'm more of a reader rather
than a poster. I would like to change that.

Here's a silly question. How does one post a message on the xalanc
news group? I assume it's just a matter of sending an email to that
specific news group and providing the identical subject heading to
ensure a response to the posted subject? I'm also assuming the XalanC
news group email address is:
xa***********@x ml.apache.org

Thanks.

Sep 21 '07 #3
hs********@gmai l.com wrote:
Here's a silly question. How does one post a message on the xalanc
news group?
It's a mailing list, not a newsgroup. See
http://xml.apache.org/mail.html#xalan-c-users

To subscribe, send a note to
xa************* ********@xml.ap ache.org

Posting to it is just a matter of sending mail to
xa***********@x ml.apache.org
--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Sep 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1883
by: Lubomir | last post by:
Hi, I would like to ask, how different are C# 2005 Express Edition and C# within MS Visual Studio 2005. Than as well Visual Web Developer 2005 Express Edition and ASP within MS VS 2005. Thanks, Lubomir
10
1974
by: Bonj | last post by:
Hi I installed .NET 2005 express edition, and am about to unnistall it again because it can't seem to be able to even insert a resource file into a project. Can anyone tell me is this right? Should it be able to? I know it's express edition, and therefore limited functionality, but surely resources are quite fundamental? Also, once it's downloaded, is there any way of getting access to the fully downloaded file incase you want to...
4
6122
by: james | last post by:
Thought I would let everyone know that Visual Basic 2005 Express Edition is now available for download: FREE............ Until I can get Visual Studio 2005 PRO ( or maybe even Standard Edition) this will at least keep me going! Here's the link for those interested: http://msdn.microsoft.com/vstudio/express/vb/
2
1231
by: werdna.sivad | last post by:
I just uninstalled VS 2005 Professional Beta 2 and replaced it with VS Web Developer 2005 Express Edition and VS C++ 2005 Express Edition. I am having problems publishing my ASP sites now. Namely, how do I do it? According to this article on MSDN, http://msdn2.microsoft.com/library/377y0s6t.aspx, the Express Edition does not let you use the Precompilation Publisher. So the question then is, how do I?
3
1079
by: den 2005 | last post by:
Hi everybody, Can VS 2005 Express Edition run side-by-side without affecting each others projects and applications, new and existing ones? Can you provide info link where it is stated? Can I install any or all express edition without an affect on existing applications and new application created using VS 2002. Thanks. den2005
45
2989
by: mistral | last post by:
Does Visual C++ 2005 Express Edition produce small, compact C executables? Or there is another C compilers that do this better? m.
2
2094
by: kress1963nov22 | last post by:
I recently purchased a good MS book ("Build a Web Site Now") by Jim Buyens. It has the Express Edition of MS-Visual Web Developer 2005 on CD and also MS SQL Server 2005 Express Edition on the CD. A couple of questions for this newbie: Can MS SQL Server 2005 Express Edition be used in place of the older MSDE product for backend database work? I also have Visual Studio .NET (VB) 2003 (Standard Edition). How compatible are all these products...
2
3078
by: Manikandan | last post by:
Hi, I have a program written in .Net Framework 1.1 using Visual studio enterprise edition 2003. I tried compiling the same program in visual c# express edition 2005. I'm getting following errors 1.Error 6 Cannot implicitly convert type 'mscomctl.Toolbar ' to 'mscomctl.Toolbar . An explicit conversion exists (are you missing a
6
2543
by: hsmit.home | last post by:
Hello, I came across a strange error and it's really been bugging me. Maybe someone else has come across this and any insight would be appreciated. What I'm trying to accomplish is using boost::lexical_cast to cast a vector of strings to a string. The compiler I'm using is MSVC++ 2005 Express Edition. The gc++
0
8756
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8667
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7861
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6585
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2063
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.