Hi,
Even though the "extraneous test code" is in the source tree, the xalan library should still be build-able. From the snippet of error msgs you've provided, we can't tell what you are trying to do .. can you give us a bit more detail and perhaps provide some sample code/test case?
June K. Ng
| ryan <[EMAIL PROTECTED]>
04/21/2005 03:38 PM
|
|
Hi,
I tried downloading the sources to build under VC7.1 but projects
started failing. I searched the archive of this list and the dev one
and it appears there is extraneous test code that needs to be removed
but it won't be until 1.10.
So I tried downloading the pre-built win32 distribution instead, tied it
to my project and attempted a simple initialize and transform. I got a
bunch of linker errors :
console.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
xalanc_1_9::XSLTResultTarget::XSLTResultTarget(char const *,class
MemoryManager &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z)
console.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
xalanc_1_9::XalanTransformer::XalanTransformer(class MemoryManager &)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z)
console.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
xalanc_1_9::XalanTransformer::initialize(class MemoryManager &)"
([EMAIL PROTECTED]@xalanc_1_9@@SAXAAVMemoryManager@@@Z)
console.obj : error LNK2019: unresolved external symbol "public: static
class MemoryManager & __cdecl
xalanc_1_9::XalanMemMgrs::getDefaultXercesMemMgr(void)"
([EMAIL PROTECTED]@xalanc_1_9@@SAAAVMemoryManager@@XZ)
Then I noticed something. The prebuilt distribution only has 1 lib file
Xalan-C_1. My failed source build project attempted to build an
additional lib XalanMessages_1. So isn't the prebuilt package missing a
lib?
Could someone please confirm that this is the case and suggest a course
of action for this lowly Windows developer who just wants to do some xsl
transformations with my xerces parser?
TIA.
