xalan-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henriette de Poulpiquet <henriette.depoulpiq...@motiontree.net>
Subject Re: can't link
Date Tue, 08 Oct 2013 12:59:29 GMT
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, <shathawa@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
>>> >
>>>
>>>
>>>
>>
>

Mime
View raw message