Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6571863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:56:05+00:00 2026-05-25T14:56:05+00:00

I have been working on getting a C++ IDE going on my 64-bit Windows

  • 0

I have been working on getting a C++ IDE going on my 64-bit Windows 7 machine. It’s been frustrating, mostly because of the incompatibilities of 32 and 64 bit programs using Eclipse IDE for C/C++ Developers

Well, I finally got HelloWorld compiling, now I want to add Xalan to my project. I’ve downloaded both the source and binaries. Getting the source to compile in MinGW (my compiler of choice) has been impossible, but I’m working on using the .lib files in the binary directory like xerces-c_2.lib. Can I just link these to my C++ project and if so how do I do it?

Thanks!

EDIT UPDATE 2011-08-30

I just haven’t had any luck but I wanted to post an update. I tried building this outside of Eclipse without success. I am trying to create the StreamTransform.cpp example that comes bundles with Xalan-C. It is in a directory with its associated header file: XalanMemoryManagerImpl.hpp

I then created the following Makefile:

OBJS = StreamTransform.o
CC = g++
DEBU \G = -g
CFLAGS = -Wall -c $(DEBUG)
LFLAGS = -Wall $(DEBUG)
LIBDIR = -LC:\Development\xslTests\stream\lib
LIBS = -lxerces-c_2 -lxerces-depdom_2 -lXalan-C_1 
INCDIR = -IC:\Libs\xerces-c-windows_2000-msvc_60\include -IC:\Libs\Xalan-C_1_10_0-win32-msvc_60\include

all: transformer

transformer: $(OBJS)
  $(CC) $(LFLAGS) $(OBJS) -o transformer $(LIBDIR) $(LIBS) 

StreamTransform.o : StreamTransform.cpp XalanMemoryManagerImpl.hpp
  $(CC) $(INCDIR) $(CFLAGS) StreamTransform.cpp

The base target StreamTransform.o runs successfully and the output file is generated, but transformer dies.
The error I am getting here is the same I was getting with Eclipse. A bunch of “undefined reference errors:

C:\Users\x_walia\workspace\TCXMLTransformer\Debug/../StreamTransform.cpp:115:
undefined reference to `xalanc_1_10::XSLTInputSource::XSLTInputSource(std::istream*,
xercesc_2_7::MemoryManager&)’

StreamTransform.o: In function main': C:/Libs/Xalan-C_1_10_0-win32-msvc_60/include/xalanc/XSLT/XSLTResultTarget.hpp:103:
undefined reference to
xalanc_1_10::XalanMemMgrs::getDefaultXercesMemMgr()’

To me, this looks like there is some sort of library linking error, but what? I should not that there are six .lib files bundled with the Windows binary distribution which I am using. Half of them have the suffix: _d as in xerces-c_2*d* which represent the debug libraries. I have tried both including and omitting these but to no avail.

I have heard that this project is abandoned and wonder if I am just having problems because I am compiling on a Windows 7 64 bit machine…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:56:06+00:00Added an answer on May 25, 2026 at 2:56 pm

    You can’t link a C++ library built with Microsoft Visual C++ to objects or libs built with mingw. The ABI is not compatible.

    My prefered search engine doesn’t give any link to existing Xalan/Xerces mingw binaries, so you will probably have to build them yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working with Visual Studio (WinForm and ASP.NET applications using mostly C#)
I have been working on a website using MVC Preview 1 since it came
I've been working with the PHP api for google Calendar, and have been getting
I have been working on an app for a couple weeks now, using GoDaddy,
I have been working on a web services related project for about the last
I have been working with a string[] array in C# that gets returned from
We have been working with CVS for years, and frequently find it useful to
I have been working on some legacy C++ code that uses variable length structures
I have been working with relational databases for sometime, but it only recently occurred
I have been working as a native C++ programmer for last few years. Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.