You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Henriette de Poulpiquet <he...@motiontree.net> on 2013/10/01 21:38:36 UTC

can't link

Hi!

I'm having issues while linking the Xalanc lib with my code.

here is the error I get :

 error LNK2019:  "public: static class xercesc_3_1::MemoryManager & __cdecl
xalanc_1_11::XalanMemMgrs::getDefaultXercesMemMgr(void)"
(?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_11@
@SAAAVMemoryManager@xercesc_3_1@@XZ)  "public: static class
xercesc_3_1::MemoryManager & __cdecl
xalanc_1_11::XalanMemMgrs::getDefault(void)" (?getDefault@XalanMemMgrs
@xalanc_1_11@@SAAAVMemoryManager@xercesc_3_1@@XZ)


I'm working on Visual2012,
xerces-c-3.1.1-x86_64-windows-vc-10.0
xalan_c-1.11-amd64-windows-VC100


May anybody help me on this?

regards,

Henriette

Re: can't link

Posted by sh...@e-z.net.
FYI

Historical... ICU was part of Xalan-C before it became integrated
into the Xerces-C XML parser.  There appears to be little support
to reintegrate the IBM-ICU library support back into Xalan-C.

The IBM-ICU integration into Xalan-C is deprecated due to lack
of developer support.  Your support at identifying and helping
to resolve the ICU integration issues would be appreciated.

It was basically the collating/sorting capability and number
formatting that used ICU in Xalan-C.  Much of that capability
may now be available in the Xerces-C XML parser libraries
for use by Xalan-C.

Is it still necessary to continue ICU support in Xalan-C XSLT
since the ICU library support has been relocated to Xerces XML?

Sincerely,
Steven J. Hathaway

> Hi,
>
> I re built xalan-c xerces and ICU libs with visual 2012, and I'm still
> facing the same issues.
>
> 2>main.obj : error LNK2019:  "public: static class
> xercesc_3_1::MemoryManager & __cdecl
> xalanc_1_11::XalanMemMgrs::getDefaultXercesMemMgr(void)"
> (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_11@
> @SAAAVMemoryManager@xercesc_3_1@@XZ) "public: __thiscall
> rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
> 2>main.obj : error LNK2019:  "__declspec(dllimport) public: static void
> __cdecl xercesc_3_1::XMLPlatformUtils::Initialize(char const * const,char
> const * const,class xercesc_3_1::PanicHandler * const,class
> xercesc_3_1::MemoryManager * const)" (__imp_?Initialize@XMLPlatformUtils
> @xercesc_3_1@@SAXQBD0QAVPanicHandler@2@QAVMemoryManager@2@@Z) "public:
> __thiscall rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
> 2>main.obj : error LNK2019:  "__declspec(dllimport) public: __thiscall
> xalanc_1_11::XalanTransformer::XalanTransformer(class
> xercesc_3_1::MemoryManager &)" (__imp_??0XalanTransformer@xalanc_1_11
> @@QAE@AAVMemoryManager@xercesc_3_1@@@Z) "public: __thiscall
> rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
> 2>main.obj : error LNK2019: "__declspec(dllimport) public: virtual
> __thiscall xalanc_1_11::XalanTransformer::~XalanTransformer(void)"
> (__imp_??1XalanTransformer@xalanc_1_11@@UAE@XZ)  "public: __thiscall
> rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
> 2>main.obj : error LNK2019: "__declspec(dllimport) public: static void
> __cdecl xalanc_1_11::XalanTransformer::initialize(class
> xercesc_3_1::MemoryManager &)" (__imp_?initialize@XalanTransformer
> @xalanc_1_11@@SAXAAVMemoryManager@xercesc_3_1@@@Z)  "public: __thiscall
> rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
> 2>main.obj : error LNK2001:  "__declspec(dllimport) public: static char
> const * const xercesc_3_1::XMLUni::fgXercescDefaultLocale"
> (__imp_?fgXercescDefaultLocale@XMLUni@xercesc_3_1@@2QBDB)
> 2>E:\svn\RVS\C++XSL\libTest\Win32\Debug\\runnerTest.exe : fatal error
> LNK1120: 6
>
> still no-one facing that kind of errors?
>
> regards,
>
> Henriette
>
>
> On 3 October 2013 12:24, Henriette de Poulpiquet <
> henriette.depoulpiquet@motiontree.net> wrote:
>
>> Hi, regarding the scripts, I'm not sure to have the right sources
>> files..
>> I did download those:
>> http://apache.mirrors.multidist.eu/xalan/xalan-c/sources/
>> in wich there is no VC11 project as required by the script.
>> idem for the xerces source (that I should compile before the xalanc)
>> http://apache.crihan.fr/dist//xerces/c/3/sources/
>>
>> where should I get the right ones?
>>
>> Thank you so much!
>>
>> Regards,
>>
>> Henriette
>>
>>
>>
>> On 3 October 2013 11:04, Henriette de Poulpiquet <
>> henriette.depoulpiquet@motiontree.net> wrote:
>>
>>> ok thks a lot I'll try this! :)
>>>
>>>
>>> On 3 October 2013 04:32, <sh...@e-z.net> wrote:
>>>
>>>> Henriette,
>>>>
>>>> There is a set of script files I use to package Xalan-C and Xerces-C
>>>> from sources.  There are scripts to launch the MS VS 2012 with the
>>>> Xalan-C and Xerces-C code base.
>>>>
>>>>
>>>> http://svn.apache.org/repos/asf/xalan/c/trunk/scripts/xalan-ms-scripts.zip
>>>>
>>>> The libraries must be built using the same compiler and the same
>>>> target
>>>> architecture in order to link without problem.
>>>>
>>>> Sincerely,
>>>> Steven J. Hathaway
>>>> Xalan PMC
>>>>
>>>> > Hi!
>>>> >
>>>> > I'm having issues while linking the Xalanc lib with my code.
>>>> >
>>>> > here is the error I get :
>>>> >
>>>> >  error LNK2019:  "public: static class xercesc_3_1::MemoryManager &
>>>> > __cdecl
>>>> > xalanc_1_11::XalanMemMgrs::getDefaultXercesMemMgr(void)"
>>>> > (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_11@
>>>> > @SAAAVMemoryManager@xercesc_3_1@@XZ)  "public: static class
>>>> > xercesc_3_1::MemoryManager & __cdecl
>>>> > xalanc_1_11::XalanMemMgrs::getDefault(void)"
>>>> (?getDefault@XalanMemMgrs
>>>> > @xalanc_1_11@@SAAAVMemoryManager@xercesc_3_1@@XZ)
>>>> >
>>>> >
>>>> > I'm working on Visual2012,
>>>> > xerces-c-3.1.1-x86_64-windows-vc-10.0
>>>> > xalan_c-1.11-amd64-windows-VC100
>>>> >
>>>> >
>>>> > May anybody help me on this?
>>>> >
>>>> > regards,
>>>> >
>>>> > Henriette
>>>> >
>>>>
>>>>
>>>>
>>>
>>
>



Re: can't link

Posted by Henriette de Poulpiquet <he...@motiontree.net>.
Hi,

I re built xalan-c xerces and ICU libs with visual 2012, and I'm still
facing the same issues.

2>main.obj : error LNK2019:  "public: static class
xercesc_3_1::MemoryManager & __cdecl
xalanc_1_11::XalanMemMgrs::getDefaultXercesMemMgr(void)"
(?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_11@
@SAAAVMemoryManager@xercesc_3_1@@XZ) "public: __thiscall
rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
2>main.obj : error LNK2019:  "__declspec(dllimport) public: static void
__cdecl xercesc_3_1::XMLPlatformUtils::Initialize(char const * const,char
const * const,class xercesc_3_1::PanicHandler * const,class
xercesc_3_1::MemoryManager * const)" (__imp_?Initialize@XMLPlatformUtils
@xercesc_3_1@@SAXQBD0QAVPanicHandler@2@QAVMemoryManager@2@@Z) "public:
__thiscall rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
2>main.obj : error LNK2019:  "__declspec(dllimport) public: __thiscall
xalanc_1_11::XalanTransformer::XalanTransformer(class
xercesc_3_1::MemoryManager &)" (__imp_??0XalanTransformer@xalanc_1_11
@@QAE@AAVMemoryManager@xercesc_3_1@@@Z) "public: __thiscall
rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
2>main.obj : error LNK2019: "__declspec(dllimport) public: virtual
__thiscall xalanc_1_11::XalanTransformer::~XalanTransformer(void)"
(__imp_??1XalanTransformer@xalanc_1_11@@UAE@XZ)  "public: __thiscall
rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
2>main.obj : error LNK2019: "__declspec(dllimport) public: static void
__cdecl xalanc_1_11::XalanTransformer::initialize(class
xercesc_3_1::MemoryManager &)" (__imp_?initialize@XalanTransformer
@xalanc_1_11@@SAXAAVMemoryManager@xercesc_3_1@@@Z)  "public: __thiscall
rvs2xmt::rvs2xmt(void)" (??0rvs2xmt@@QAE@XZ)
2>main.obj : error LNK2001:  "__declspec(dllimport) public: static char
const * const xercesc_3_1::XMLUni::fgXercescDefaultLocale"
(__imp_?fgXercescDefaultLocale@XMLUni@xercesc_3_1@@2QBDB)
2>E:\svn\RVS\C++XSL\libTest\Win32\Debug\\runnerTest.exe : fatal error
LNK1120: 6

still no-one facing that kind of errors?

regards,

Henriette


On 3 October 2013 12:24, Henriette de Poulpiquet <
henriette.depoulpiquet@motiontree.net> wrote:

> Hi, regarding the scripts, I'm not sure to have the right sources files..
> I did download those:
> http://apache.mirrors.multidist.eu/xalan/xalan-c/sources/
> in wich there is no VC11 project as required by the script.
> idem for the xerces source (that I should compile before the xalanc)
> http://apache.crihan.fr/dist//xerces/c/3/sources/
>
> where should I get the right ones?
>
> Thank you so much!
>
> Regards,
>
> Henriette
>
>
>
> On 3 October 2013 11:04, Henriette de Poulpiquet <
> henriette.depoulpiquet@motiontree.net> wrote:
>
>> ok thks a lot I'll try this! :)
>>
>>
>> On 3 October 2013 04:32, <sh...@e-z.net> wrote:
>>
>>> Henriette,
>>>
>>> There is a set of script files I use to package Xalan-C and Xerces-C
>>> from sources.  There are scripts to launch the MS VS 2012 with the
>>> Xalan-C and Xerces-C code base.
>>>
>>>
>>> http://svn.apache.org/repos/asf/xalan/c/trunk/scripts/xalan-ms-scripts.zip
>>>
>>> The libraries must be built using the same compiler and the same target
>>> architecture in order to link without problem.
>>>
>>> Sincerely,
>>> Steven J. Hathaway
>>> Xalan PMC
>>>
>>> > Hi!
>>> >
>>> > I'm having issues while linking the Xalanc lib with my code.
>>> >
>>> > here is the error I get :
>>> >
>>> >  error LNK2019:  "public: static class xercesc_3_1::MemoryManager &
>>> > __cdecl
>>> > xalanc_1_11::XalanMemMgrs::getDefaultXercesMemMgr(void)"
>>> > (?getDefaultXercesMemMgr@XalanMemMgrs@xalanc_1_11@
>>> > @SAAAVMemoryManager@xercesc_3_1@@XZ)  "public: static class
>>> > xercesc_3_1::MemoryManager & __cdecl
>>> > xalanc_1_11::XalanMemMgrs::getDefault(void)" (?getDefault@XalanMemMgrs
>>> > @xalanc_1_11@@SAAAVMemoryManager@xercesc_3_1@@XZ)
>>> >
>>> >
>>> > I'm working on Visual2012,
>>> > xerces-c-3.1.1-x86_64-windows-vc-10.0
>>> > xalan_c-1.11-amd64-windows-VC100
>>> >
>>> >
>>> > May anybody help me on this?
>>> >
>>> > regards,
>>> >
>>> > Henriette
>>> >
>>>
>>>
>>>
>>
>