• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

MSVC Express Edition with Xalan/Xerces - linking .lib input files

Hello,
Im trying to build a project using the new MSVC Expreess Edition (http://lab.msdn.microsoft.com/express/visualc/) and I'm trying to integrate the Xalan-C and Xerces-C libraries from Apache (http://xml.apache.org/xalan-c/ , http://xml.apache.org/xerces-c/).
Im having trouble linking the .lib files to my project, but I'm getting 40 unresolved externals which tells me the .lib files arent linking correctly.
I've tried adding the path to the .lib files  under Project > Properties > Configuration Properties > Linker > Input Additional Dependencies.
Doing this has not resolved the external dependency issues.
Can someone tell me whether this is the correct procedure for linking .libs?
Also, is it possible that the xerces and xalan libraries (built under MSVC 6 i presume) won't be compatible with MSVC .Net Express?
Thanks for any help.
0
blackfrancis75
Asked:
blackfrancis75
  • 2
1 Solution
 
drichardsCommented:
Could you provide some details like some of the specific unresolved symbol names and maybe some of your code?  Did you get xerces 2.5.0 rather than the 2.6.0?  Xalan uses the 2.5 version of xerces.  I was able to successfully build and run a bunch of the sample Xalan code that comes in the binary distribution.  I had no trouble using VC++ .NET Express 2005.  I put the path to the cerces and xalan library files in Project > Properties > Configuration Properties > Linker > General : Additional Library Directories and then put the lib file names in Project > Properties > Configuration Properties > Linker > Input : Additional Dependencies.
0
 
drichardsCommented:
I should also ask what type of project you are using - is it a Win32 project (unmanaged code) or a .NET project (managed code)?  I started with empty Win32 projects and used the sample source files.
0
 
blackfrancis75Author Commented:
Yes, I started with an empty Win32 project - I've been off this project for a bit so Ill dig it up and have a look.
Cheers
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now