uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David García <david.garc...@barcelonamedia.org>
Subject [UIMA C++ Framework] making examples
Date Thu, 15 Jul 2010 12:04:03 GMT
  Hi all,

I am trying to use uimacpp, Linux version, but I have got problems 
making C++ examples.
I follow README instructions, and when I do:

make -f DaveDetector.mak

I get following error:

/uimacpp/include/uima/lowlevel_internal_indexes.hpp: In member function 
‘virtual void 
uima::lowlevel::internal::CachedCompositeIndex<T>::clearAndFillCache()’:
/uimacpp/include/uima/lowlevel_internal_indexes.hpp:348: error: 
‘auto_ptr’ was not declared in this scope
/uimacpp/include/uima/lowlevel_internal_indexes.hpp:348: error: expected 
primary-expression before ‘>’ token
/uimacpp/include/uima/lowlevel_internal_indexes.hpp:348: error: there 
are no arguments to ‘apit’ that depend on a template parameter, so a 
declaration of ‘apit’ must be available
/uimacpp/include/uima/lowlevel_internal_indexes.hpp:348: note: (if you 
use ‘-fpermissive’, G++ will accept your code, but allowing the use of 
an undeclared name is deprecated)
/uimacpp/include/uima/lowlevel_internal_indexes.hpp:349: error: ‘apit’ 
was not declared in this scope
make: *** [DaveDetector.o] Error 1


I am using gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9).


Am I doing something wrong?
I have also found that it is not a good practise to use LD_LIBRARY_PATH 
env variable. Is this correct?


Thanks in advanced,

David

Mime
View raw message