Hello Bhavani,

After some more investigation, it seems that the problem is not with
compatibility issues between Boost and ICU.

It is rather a problem that the Win32 binaries provided in the R6 candidate
link against msvc71, msvc80 and msvc90 DLL families, and they lead to some
memory problems when using STL iterators, traits, etc...

Perhaps the best solution for me would be to rebuild all the UIMACpp
framework with my configuration, but... I've spent hours so far trying to
rebuild the framework's dependencies, without success.

For instance APR and APR-util.
If I get the 1.4 version from Apache's website and try to build them with
Visual Studio 2010, by converting the .dsw and .dsp, I get lots of linker
errors. If I try the NMAKE approach, it complains about missing .mak files
(xml.mak for instance).
If I chechout the latest SVN version, Visual Studio tells me it cannot
convert the dsw/dsp projects into vcxproj/sln.
And concerning the NMAKE approach, almost no .mak file is available.

What was your magical recipe to get all dependencies ready for Win32
compilation?

Thanks,
Sylvain

On Sat, Aug 25, 2012 at 12:20 PM, Sylvain Surcin <[email protected]> wrote:

> Hi Bhavani,
>
> No I did not rebuild the UIMA C++ framework, I just reused what was
> already there is the binary version available in your directory.
>
> Perhaps it is important to know that I'm using Boost 1.51 windows
> distribution downloaded from www.boost.org.
> Perhaps there is something incompatible with the ICU shipped with UIMA C++?
>
> The Xerces I use is also the one shipped with UIMA C++, I believe.
>
> Sylvain
>
>
> On Sat, Aug 25, 2012 at 4:03 AM, Bhavani Iyer <[email protected]> wrote:
>
>> Sylvain
>>
>> Not clear whether you've rebuilt UIMA C++ and its dependencies.
>> I've seen this happen if the annotator and SDK are running incompatible
>> ICU versions.
>> Xerces can be built with or without ICU so that may be a source of
>> incompatibility.
>>
>> Bhavani
>>
>>
>> On Fri, Aug 24, 2012 at 9:56 AM, Sylvain Surcin <[email protected]> wrote:
>>
>>> Hello Bhavani,
>>>
>>> I am using your UIMAcpp release candidate 2.4.0 R6 to create a C++
>>> linguistic annotator.
>>> I successfully integrated it under Linux (Ubuntu) in a full-scale
>>> aggregate architecture and it works fine.
>>>
>>> But now I am porting it under Windows, because some of our developpers
>>> use it.
>>> Now I am meeting a problem.
>>> I compiled the C++ linguistic annotator using Visual Studio 2010, that
>>> part is ok.
>>>
>>> But it crashes when I start using icu::UnicodeString::extract() or
>>> iostream& operator<<(iostream&, const icu::UnicodeString&).
>>> Each time I get an access violation.
>>>
>>> Do you have any idea what could be happening?
>>>
>>> Thanks for any hint,
>>> Sylvain
>>>
>>>
>>> --
>>> Sylvain SURCIN, Ph.D.
>>> *KWAGA*
>>> Senior Software Architect
>>> 15, rue Jean-Baptiste Berlier
>>> 75013 Paris
>>> France
>>> Tél.: +33 (0)1.55.43.79.20
>>>
>>>
>>>
>>>
>>
>
>
> --
> Sylvain SURCIN, Ph.D.
> *KWAGA*
> Senior Software Architect
> 15, rue Jean-Baptiste Berlier
> 75013 Paris
> France
> Tél.: +33 (0)1.55.43.79.20
>
>
>
>


-- 
Sylvain SURCIN, Ph.D.
*KWAGA*
Senior Software Architect
15, rue Jean-Baptiste Berlier
75013 Paris
France
Tél.: +33 (0)1.55.43.79.20

Reply via email to