You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Raphael Guillet <ra...@actimos.com> on 2013/02/27 19:14:43 UTC
UIMA C++ 2.4.0 - problem running example
Hello,
I downloaded and unzipped the UIMA C++ 2.4.0 binary on my Win 7 computer,
set up UIMACPP_HOME and added UIMACPP_HOME/bin to my path.
I then tried verifying my installation with the DaveDetector example:
I was able to build the .dll file using Visual Studio Express 2012, I added
it to my path but when I run
runAECpp descriptors\DaveDetector.xml data\example.txt
I get the following error:
DaveDetector: Constructor
DaveDetector: initialize()
DaveDetector::initialize() .. us_DaveString.getBuffer: DaveDetector:
destroy()
DaveDetector: Destructor
runAECpp:
Error string : UIMA_ERR_ENGINE_WINDOWS_EXCEPTION
UIMACPP Error info:
Error number : 5021
Recoverable : No
Error : Windows exception "ACCESS VIOLATION"
Any idea on how to fix this ?
Thanks for your help
Raphael
Re: UIMA C++ 2.4.0 - problem running example
Posted by Raphael Guillet <ra...@actimos.com>.
Thanks Eddie, it was a good hint: I used a uima cpp built with MSVC version
10 and I can now compile and run the example without problem.
Raphael
On Thu, Feb 28, 2013 at 12:37 AM, Eddie Epstein <ea...@gmail.com> wrote:
> Hi, not sure if this is the answer, but the README says:
>
> The Apache UIMA C++ SDK has been built and tested in 32-bit mode
> on Linux systems with gcc version 3.4.6 and on Windows
> using MSVC version 8. 64-bit builds have only been tested on Linux
> with gcc 4.3.2.
>
> Might be a problem with VSE 2012.
> Eddie
>
> On Wed, Feb 27, 2013 at 1:14 PM, Raphael Guillet <ra...@actimos.com>
> wrote:
> > Hello,
> >
> > I downloaded and unzipped the UIMA C++ 2.4.0 binary on my Win 7 computer,
> > set up UIMACPP_HOME and added UIMACPP_HOME/bin to my path.
> >
> > I then tried verifying my installation with the DaveDetector example:
> >
> > I was able to build the .dll file using Visual Studio Express 2012, I
> added
> > it to my path but when I run
> > runAECpp descriptors\DaveDetector.xml data\example.txt
> > I get the following error:
> > DaveDetector: Constructor
> > DaveDetector: initialize()
> > DaveDetector::initialize() .. us_DaveString.getBuffer: DaveDetector:
> > destroy()
> > DaveDetector: Destructor
> > runAECpp:
> > Error string : UIMA_ERR_ENGINE_WINDOWS_EXCEPTION
> > UIMACPP Error info:
> >
> > Error number : 5021
> > Recoverable : No
> > Error : Windows exception "ACCESS VIOLATION"
> >
> > Any idea on how to fix this ?
> >
> > Thanks for your help
> >
> > Raphael
>
Re: UIMA C++ 2.4.0 - problem running example
Posted by Eddie Epstein <ea...@gmail.com>.
Hi, not sure if this is the answer, but the README says:
The Apache UIMA C++ SDK has been built and tested in 32-bit mode
on Linux systems with gcc version 3.4.6 and on Windows
using MSVC version 8. 64-bit builds have only been tested on Linux
with gcc 4.3.2.
Might be a problem with VSE 2012.
Eddie
On Wed, Feb 27, 2013 at 1:14 PM, Raphael Guillet <ra...@actimos.com> wrote:
> Hello,
>
> I downloaded and unzipped the UIMA C++ 2.4.0 binary on my Win 7 computer,
> set up UIMACPP_HOME and added UIMACPP_HOME/bin to my path.
>
> I then tried verifying my installation with the DaveDetector example:
>
> I was able to build the .dll file using Visual Studio Express 2012, I added
> it to my path but when I run
> runAECpp descriptors\DaveDetector.xml data\example.txt
> I get the following error:
> DaveDetector: Constructor
> DaveDetector: initialize()
> DaveDetector::initialize() .. us_DaveString.getBuffer: DaveDetector:
> destroy()
> DaveDetector: Destructor
> runAECpp:
> Error string : UIMA_ERR_ENGINE_WINDOWS_EXCEPTION
> UIMACPP Error info:
>
> Error number : 5021
> Recoverable : No
> Error : Windows exception "ACCESS VIOLATION"
>
> Any idea on how to fix this ?
>
> Thanks for your help
>
> Raphael