Re: UIMA C++ in a Mac

2016-12-23 Thread William Colen
David,

I created a few issues with patch attached that can help building UIMA C++
in Mac OS X.

 UIMA-5234: UIMA C++ is compatible with APR 1.5.x

 UIMA-5235: Update UIMAC++ build Mac OSX instructions

 UIMA-5236: Can not compile UIMA C++ examples in Mac OS X


Regards,
William

2016-12-20 14:31 GMT-02:00 William Colen :

> Sorry, I had to try/change so many things that I am not sure. Maybe you
> can try the same and check if anything is missing.
>
> brew:
> apr, icu4c, xerces-c, gcc5
>
> base.mak:
>
> # include directory for compile
> INCLUDES=-I/usr/local/uimacpp/include 
> -I/usr/local/opt/apr/libexec/include/apr-1
> -I/usr/local/opt/icu4c/include -I/usr/local/opt/xerces-c/include
>
> LINKFLAGS= $(DLL_LINKFLAGS) $(BIN_LINKFLAGS) \
> $(USER_LINKFLAGS) $(BUILD_LFLAGS) \
> -L/usr/local/uimacpp/lib -L/usr/local/opt/apr/libexec/lib
> -L/usr/local/opt/icu4c/lib -L/usr/local/opt/xerces-c/lib -lxerces-c -licuuc
> -licuio -licui18n -licudata -ldl -luima $(EXTRA_LINK_LIBS)
>
> # compiler to use
> CC=g++-5
>
>
> 2016-12-20 13:48 GMT-02:00 Fox, David :
>
>> Great!
>>
>> Could you send a diff or patch of base.mak, and the list things you asked
>> BREW to install (if you have it)?
>>
>> David
>>
>> On 12/20/16, 10:39 AM, "William Colen"  wrote:
>>
>> >Hello!
>> >
>> >Good news! I managed to build UIMA C++ in macOS Sierra.
>> >
>> >I downloaded the UIMA C++ source code and followed the README. I had to
>> >install all dependencies and GCC 5 using BREW.
>> >
>> >The final configure command was like this:
>> >
>> >CC=gcc-5 CXX=g++-5 ../configure
>> >--with-jdk=/Applications/Xcode.app/Contents/Developer/Platf
>> orms/MacOSX.pla
>> >tform/Developer/SDKs/MacOSX10.12.sdk/System/Library/
>> Frameworks/JavaVM.fram
>> >ework/Versions/A/Headers
>> >--with-apr=/usr/local/opt/apr --with-icu=/usr/local/opt/icu4c
>> >--with-activemq=/usr/local/opt/activemq-cpp
>> >--with-apr-util=/usr/local/opt/apr-util --without-activemq
>> >
>> >
>> >I also had to change the base.mak, fixing the includes and libs.
>> >
>> >
>> >Thank you,
>> >
>> >William
>> >
>> >2016-11-28 15:06 GMT-02:00 David Fox :
>> >
>> >> I tried this a couple of months back and got the same error.
>> >>
>> >> Eventually I gave up on Mac OS X and got it working on linux.  In our
>> >> case, we use Mac OS X laptops for testing, but our production
>> >>environment
>> >> is linux, so this wasn¹t a big deal and I didn¹t pursue it further.  If
>> >>I
>> >> really did need to test on Mac OS X, my plan was to install virtual box
>> >> and run a linux VM on my Mac laptop.
>> >>
>> >>
>> >> David
>> >>
>> >>
>> >>
>> >> On 11/25/16, 5:07 PM, "William Colen"  wrote:
>> >>
>> >> >Hi,
>> >> >
>> >> >I need to execute a NLTK based POS Tagger. I was trying to create a
>> >>C++ AE
>> >> >for that. Do you think it will work?
>> >> >
>> >> >I installed UIMA C++ 2.4.0 on top of UIMA 2.9.0.
>> >> >
>> >> >When I try to execute the installation instruction I get some
>> >>compilation
>> >> >errors, like follows:
>> >> >
>> >> >$ make -f ExampleApplication.mak
>> >> >g++ -Wall -x c++ -DDEBUG -g -fno-inline -fPIC  -fno-default-inline
>> >> >-I/Users/user/programs/apache-uima/uimacpp/include
>> >> >-I/Users/user/programs/apache-uima/uimacpp/include/apr-1
>> >>-Wno-deprecated
>> >> >-c ExampleApplication.cpp
>> >> >clang: warning: optimization flag '-fno-default-inline' is not
>> >>supported
>> >> >In file included from ExampleApplication.cpp:20:
>> >> >In file included from
>> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
>> >> >In file included from
>> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
>> >> ator_context.hp
>> >> >p:48:
>> >> >In file included from
>> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:47:
>> >> >In file included from
>> >>
>> >>>/Users/user/programs/apache-uima/uimacpp/include/uima/
>> exceptions.hpp:88:
>> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> >> ols.hpp:731:14:
>> >> >error: no member named 'operator void *' in
>> >> >'std::__1::basic_istream'
>> >> >  if (!i.operator void*())
>> >> >   ~ ^
>> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> >> ols.hpp:737:18:
>> >> >error: no member named 'operator void *' in
>> >> >'std::__1::basic_istream'
>> >> >  if (!i.operator void*())
>> >> >   ~ ^
>> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> >> ols.hpp:1674:19
>> >> >:
>> >> >warning: comparison of constant 18446744073709551615 with expression
>> of
>> >> >type 'unsigned int' is always true
>> >> >[-Wtautological-constant-out-of-range-compare]
>> >> >if (envBegPos != STRING_NPOS) {
>> >> >~ ^  ~~~
>> >> 

Re: UIMA C++ in a Mac

2016-12-20 Thread William Colen
Sorry, I had to try/change so many things that I am not sure. Maybe you can
try the same and check if anything is missing.

brew:
apr, icu4c, xerces-c, gcc5

base.mak:

# include directory for compile
INCLUDES=-I/usr/local/uimacpp/include
-I/usr/local/opt/apr/libexec/include/apr-1 -I/usr/local/opt/icu4c/include
-I/usr/local/opt/xerces-c/include

LINKFLAGS= $(DLL_LINKFLAGS) $(BIN_LINKFLAGS) \
$(USER_LINKFLAGS) $(BUILD_LFLAGS) \
-L/usr/local/uimacpp/lib -L/usr/local/opt/apr/libexec/lib
-L/usr/local/opt/icu4c/lib -L/usr/local/opt/xerces-c/lib -lxerces-c -licuuc
-licuio -licui18n -licudata -ldl -luima $(EXTRA_LINK_LIBS)

# compiler to use
CC=g++-5


2016-12-20 13:48 GMT-02:00 Fox, David :

> Great!
>
> Could you send a diff or patch of base.mak, and the list things you asked
> BREW to install (if you have it)?
>
> David
>
> On 12/20/16, 10:39 AM, "William Colen"  wrote:
>
> >Hello!
> >
> >Good news! I managed to build UIMA C++ in macOS Sierra.
> >
> >I downloaded the UIMA C++ source code and followed the README. I had to
> >install all dependencies and GCC 5 using BREW.
> >
> >The final configure command was like this:
> >
> >CC=gcc-5 CXX=g++-5 ../configure
> >--with-jdk=/Applications/Xcode.app/Contents/Developer/
> Platforms/MacOSX.pla
> >tform/Developer/SDKs/MacOSX10.12.sdk/System/
> Library/Frameworks/JavaVM.fram
> >ework/Versions/A/Headers
> >--with-apr=/usr/local/opt/apr --with-icu=/usr/local/opt/icu4c
> >--with-activemq=/usr/local/opt/activemq-cpp
> >--with-apr-util=/usr/local/opt/apr-util --without-activemq
> >
> >
> >I also had to change the base.mak, fixing the includes and libs.
> >
> >
> >Thank you,
> >
> >William
> >
> >2016-11-28 15:06 GMT-02:00 David Fox :
> >
> >> I tried this a couple of months back and got the same error.
> >>
> >> Eventually I gave up on Mac OS X and got it working on linux.  In our
> >> case, we use Mac OS X laptops for testing, but our production
> >>environment
> >> is linux, so this wasn¹t a big deal and I didn¹t pursue it further.  If
> >>I
> >> really did need to test on Mac OS X, my plan was to install virtual box
> >> and run a linux VM on my Mac laptop.
> >>
> >>
> >> David
> >>
> >>
> >>
> >> On 11/25/16, 5:07 PM, "William Colen"  wrote:
> >>
> >> >Hi,
> >> >
> >> >I need to execute a NLTK based POS Tagger. I was trying to create a
> >>C++ AE
> >> >for that. Do you think it will work?
> >> >
> >> >I installed UIMA C++ 2.4.0 on top of UIMA 2.9.0.
> >> >
> >> >When I try to execute the installation instruction I get some
> >>compilation
> >> >errors, like follows:
> >> >
> >> >$ make -f ExampleApplication.mak
> >> >g++ -Wall -x c++ -DDEBUG -g -fno-inline -fPIC  -fno-default-inline
> >> >-I/Users/user/programs/apache-uima/uimacpp/include
> >> >-I/Users/user/programs/apache-uima/uimacpp/include/apr-1
> >>-Wno-deprecated
> >> >-c ExampleApplication.cpp
> >> >clang: warning: optimization flag '-fno-default-inline' is not
> >>supported
> >> >In file included from ExampleApplication.cpp:20:
> >> >In file included from
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
> >> >In file included from
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
> >> ator_context.hp
> >> >p:48:
> >> >In file included from
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:47:
> >> >In file included from
> >>
> >>>/Users/user/programs/apache-uima/uimacpp/include/
> uima/exceptions.hpp:88:
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> >> ols.hpp:731:14:
> >> >error: no member named 'operator void *' in
> >> >'std::__1::basic_istream'
> >> >  if (!i.operator void*())
> >> >   ~ ^
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> >> ols.hpp:737:18:
> >> >error: no member named 'operator void *' in
> >> >'std::__1::basic_istream'
> >> >  if (!i.operator void*())
> >> >   ~ ^
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> >> ols.hpp:1674:19
> >> >:
> >> >warning: comparison of constant 18446744073709551615 with expression of
> >> >type 'unsigned int' is always true
> >> >[-Wtautological-constant-out-of-range-compare]
> >> >if (envBegPos != STRING_NPOS) {
> >> >~ ^  ~~~
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> >> ols.hpp:1676:21
> >> >:
> >> >warning: comparison of constant 18446744073709551615 with expression of
> >> >type 'unsigned int' is always true
> >> >[-Wtautological-constant-out-of-range-compare]
> >> >  if (envEndPos != STRING_NPOS) {
> >> >  ~ ^  ~~~
> >> >In file included from ExampleApplication.cpp:20:
> >> >In file included from
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
> >> >In file included from
> >> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
> >> ator_context.hp
> >> >p:48:
> >> >In file included from
> >> 

Re: UIMA C++ in a Mac

2016-12-20 Thread Fox, David
Great!

Could you send a diff or patch of base.mak, and the list things you asked
BREW to install (if you have it)?

David

On 12/20/16, 10:39 AM, "William Colen"  wrote:

>Hello!
>
>Good news! I managed to build UIMA C++ in macOS Sierra.
>
>I downloaded the UIMA C++ source code and followed the README. I had to
>install all dependencies and GCC 5 using BREW.
>
>The final configure command was like this:
>
>CC=gcc-5 CXX=g++-5 ../configure
>--with-jdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.pla
>tform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/JavaVM.fram
>ework/Versions/A/Headers
>--with-apr=/usr/local/opt/apr --with-icu=/usr/local/opt/icu4c
>--with-activemq=/usr/local/opt/activemq-cpp
>--with-apr-util=/usr/local/opt/apr-util --without-activemq
>
>
>I also had to change the base.mak, fixing the includes and libs.
>
>
>Thank you,
>
>William
>
>2016-11-28 15:06 GMT-02:00 David Fox :
>
>> I tried this a couple of months back and got the same error.
>>
>> Eventually I gave up on Mac OS X and got it working on linux.  In our
>> case, we use Mac OS X laptops for testing, but our production
>>environment
>> is linux, so this wasn¹t a big deal and I didn¹t pursue it further.  If
>>I
>> really did need to test on Mac OS X, my plan was to install virtual box
>> and run a linux VM on my Mac laptop.
>>
>>
>> David
>>
>>
>>
>> On 11/25/16, 5:07 PM, "William Colen"  wrote:
>>
>> >Hi,
>> >
>> >I need to execute a NLTK based POS Tagger. I was trying to create a
>>C++ AE
>> >for that. Do you think it will work?
>> >
>> >I installed UIMA C++ 2.4.0 on top of UIMA 2.9.0.
>> >
>> >When I try to execute the installation instruction I get some
>>compilation
>> >errors, like follows:
>> >
>> >$ make -f ExampleApplication.mak
>> >g++ -Wall -x c++ -DDEBUG -g -fno-inline -fPIC  -fno-default-inline
>> >-I/Users/user/programs/apache-uima/uimacpp/include
>> >-I/Users/user/programs/apache-uima/uimacpp/include/apr-1
>>-Wno-deprecated
>> >-c ExampleApplication.cpp
>> >clang: warning: optimization flag '-fno-default-inline' is not
>>supported
>> >In file included from ExampleApplication.cpp:20:
>> >In file included from
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
>> >In file included from
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
>> ator_context.hp
>> >p:48:
>> >In file included from
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:47:
>> >In file included from
>> 
>>>/Users/user/programs/apache-uima/uimacpp/include/uima/exceptions.hpp:88:
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> ols.hpp:731:14:
>> >error: no member named 'operator void *' in
>> >'std::__1::basic_istream'
>> >  if (!i.operator void*())
>> >   ~ ^
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> ols.hpp:737:18:
>> >error: no member named 'operator void *' in
>> >'std::__1::basic_istream'
>> >  if (!i.operator void*())
>> >   ~ ^
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> ols.hpp:1674:19
>> >:
>> >warning: comparison of constant 18446744073709551615 with expression of
>> >type 'unsigned int' is always true
>> >[-Wtautological-constant-out-of-range-compare]
>> >if (envBegPos != STRING_NPOS) {
>> >~ ^  ~~~
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
>> ols.hpp:1676:21
>> >:
>> >warning: comparison of constant 18446744073709551615 with expression of
>> >type 'unsigned int' is always true
>> >[-Wtautological-constant-out-of-range-compare]
>> >  if (envEndPos != STRING_NPOS) {
>> >  ~ ^  ~~~
>> >In file included from ExampleApplication.cpp:20:
>> >In file included from
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
>> >In file included from
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
>> ator_context.hp
>> >p:48:
>> >In file included from
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:50:
>> >In file included from
>> 
>>>/Users/user/programs/apache-uima/uimacpp/include/uima/casiterator.hpp:37
>>>:
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/cas.hpp:1252:84:
>> >error: default argument references parameter 'enAmbiguous'
>> >ANIterator subIterator( Type const & crType, EnIteratorAmbiguity
>> >enAmbiguous = enAmbiguous ) const;
>> >
>> >   ^~~
>> >/Users/user/programs/apache-uima/uimacpp/include/uima/cas.hpp:1376:88:
>> >error: default argument references parameter 'enAmbiguous'
>> >ANIterator subIterator( AnnotationFS const & an,
>>EnIteratorAmbiguity
>> >enAmbiguous = enAmbiguous ) const;
>> >
>> >   ^~~
>> >ExampleApplication.cpp:207:12: warning: unused variable 'numread'
>> >[-Wunused-variable]
>> >size_t numread = fread(pBuffer,1,filesize,pFile);
>> >   ^
>> >In file included from ExampleApplication.cpp:20:

Re: UIMA C++ in a Mac

2016-12-20 Thread William Colen
Hello!

Good news! I managed to build UIMA C++ in macOS Sierra.

I downloaded the UIMA C++ source code and followed the README. I had to
install all dependencies and GCC 5 using BREW.

The final configure command was like this:

CC=gcc-5 CXX=g++-5 ../configure
--with-jdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers
--with-apr=/usr/local/opt/apr --with-icu=/usr/local/opt/icu4c
--with-activemq=/usr/local/opt/activemq-cpp
--with-apr-util=/usr/local/opt/apr-util --without-activemq


I also had to change the base.mak, fixing the includes and libs.


Thank you,

William

2016-11-28 15:06 GMT-02:00 David Fox :

> I tried this a couple of months back and got the same error.
>
> Eventually I gave up on Mac OS X and got it working on linux.  In our
> case, we use Mac OS X laptops for testing, but our production environment
> is linux, so this wasn¹t a big deal and I didn¹t pursue it further.  If I
> really did need to test on Mac OS X, my plan was to install virtual box
> and run a linux VM on my Mac laptop.
>
>
> David
>
>
>
> On 11/25/16, 5:07 PM, "William Colen"  wrote:
>
> >Hi,
> >
> >I need to execute a NLTK based POS Tagger. I was trying to create a C++ AE
> >for that. Do you think it will work?
> >
> >I installed UIMA C++ 2.4.0 on top of UIMA 2.9.0.
> >
> >When I try to execute the installation instruction I get some compilation
> >errors, like follows:
> >
> >$ make -f ExampleApplication.mak
> >g++ -Wall -x c++ -DDEBUG -g -fno-inline -fPIC  -fno-default-inline
> >-I/Users/user/programs/apache-uima/uimacpp/include
> >-I/Users/user/programs/apache-uima/uimacpp/include/apr-1  -Wno-deprecated
> >-c ExampleApplication.cpp
> >clang: warning: optimization flag '-fno-default-inline' is not supported
> >In file included from ExampleApplication.cpp:20:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
> ator_context.hp
> >p:48:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:47:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/exceptions.hpp:88:
> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> ols.hpp:731:14:
> >error: no member named 'operator void *' in
> >'std::__1::basic_istream'
> >  if (!i.operator void*())
> >   ~ ^
> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> ols.hpp:737:18:
> >error: no member named 'operator void *' in
> >'std::__1::basic_istream'
> >  if (!i.operator void*())
> >   ~ ^
> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> ols.hpp:1674:19
> >:
> >warning: comparison of constant 18446744073709551615 with expression of
> >type 'unsigned int' is always true
> >[-Wtautological-constant-out-of-range-compare]
> >if (envBegPos != STRING_NPOS) {
> >~ ^  ~~~
> >/Users/user/programs/apache-uima/uimacpp/include/uima/strto
> ols.hpp:1676:21
> >:
> >warning: comparison of constant 18446744073709551615 with expression of
> >type 'unsigned int' is always true
> >[-Wtautological-constant-out-of-range-compare]
> >  if (envEndPos != STRING_NPOS) {
> >  ~ ^  ~~~
> >In file included from ExampleApplication.cpp:20:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
> ator_context.hp
> >p:48:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:50:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/casiterator.hpp:37:
> >/Users/user/programs/apache-uima/uimacpp/include/uima/cas.hpp:1252:84:
> >error: default argument references parameter 'enAmbiguous'
> >ANIterator subIterator( Type const & crType, EnIteratorAmbiguity
> >enAmbiguous = enAmbiguous ) const;
> >
> >   ^~~
> >/Users/user/programs/apache-uima/uimacpp/include/uima/cas.hpp:1376:88:
> >error: default argument references parameter 'enAmbiguous'
> >ANIterator subIterator( AnnotationFS const & an, EnIteratorAmbiguity
> >enAmbiguous = enAmbiguous ) const;
> >
> >   ^~~
> >ExampleApplication.cpp:207:12: warning: unused variable 'numread'
> >[-Wunused-variable]
> >size_t numread = fread(pBuffer,1,filesize,pFile);
> >   ^
> >In file included from ExampleApplication.cpp:20:
> >In file included from
> >/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:59:
> >/Users/user/programs/apache-uima/uimacpp/include/uima/annot
> ator_abase.hpp:
> >138:24:
> >warning: private field 'iv_typeSystem' is not used
> >[-Wunused-private-field]
> >TypeSystem const * iv_typeSystem;
> >   ^
> >4 

Re: UIMA C++ in a Mac

2016-11-28 Thread David Fox
I tried this a couple of months back and got the same error.

Eventually I gave up on Mac OS X and got it working on linux.  In our
case, we use Mac OS X laptops for testing, but our production environment
is linux, so this wasn¹t a big deal and I didn¹t pursue it further.  If I
really did need to test on Mac OS X, my plan was to install virtual box
and run a linux VM on my Mac laptop.


David



On 11/25/16, 5:07 PM, "William Colen"  wrote:

>Hi,
>
>I need to execute a NLTK based POS Tagger. I was trying to create a C++ AE
>for that. Do you think it will work?
>
>I installed UIMA C++ 2.4.0 on top of UIMA 2.9.0.
>
>When I try to execute the installation instruction I get some compilation
>errors, like follows:
>
>$ make -f ExampleApplication.mak
>g++ -Wall -x c++ -DDEBUG -g -fno-inline -fPIC  -fno-default-inline
>-I/Users/user/programs/apache-uima/uimacpp/include
>-I/Users/user/programs/apache-uima/uimacpp/include/apr-1  -Wno-deprecated
>-c ExampleApplication.cpp
>clang: warning: optimization flag '-fno-default-inline' is not supported
>In file included from ExampleApplication.cpp:20:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/annotator_context.hp
>p:48:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:47:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/exceptions.hpp:88:
>/Users/user/programs/apache-uima/uimacpp/include/uima/strtools.hpp:731:14:
>error: no member named 'operator void *' in
>'std::__1::basic_istream'
>  if (!i.operator void*())
>   ~ ^
>/Users/user/programs/apache-uima/uimacpp/include/uima/strtools.hpp:737:18:
>error: no member named 'operator void *' in
>'std::__1::basic_istream'
>  if (!i.operator void*())
>   ~ ^
>/Users/user/programs/apache-uima/uimacpp/include/uima/strtools.hpp:1674:19
>:
>warning: comparison of constant 18446744073709551615 with expression of
>type 'unsigned int' is always true
>[-Wtautological-constant-out-of-range-compare]
>if (envBegPos != STRING_NPOS) {
>~ ^  ~~~
>/Users/user/programs/apache-uima/uimacpp/include/uima/strtools.hpp:1676:21
>:
>warning: comparison of constant 18446744073709551615 with expression of
>type 'unsigned int' is always true
>[-Wtautological-constant-out-of-range-compare]
>  if (envEndPos != STRING_NPOS) {
>  ~ ^  ~~~
>In file included from ExampleApplication.cpp:20:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:36:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/annotator_context.hp
>p:48:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/engine.hpp:50:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/casiterator.hpp:37:
>/Users/user/programs/apache-uima/uimacpp/include/uima/cas.hpp:1252:84:
>error: default argument references parameter 'enAmbiguous'
>ANIterator subIterator( Type const & crType, EnIteratorAmbiguity
>enAmbiguous = enAmbiguous ) const;
>
>   ^~~
>/Users/user/programs/apache-uima/uimacpp/include/uima/cas.hpp:1376:88:
>error: default argument references parameter 'enAmbiguous'
>ANIterator subIterator( AnnotationFS const & an, EnIteratorAmbiguity
>enAmbiguous = enAmbiguous ) const;
>
>   ^~~
>ExampleApplication.cpp:207:12: warning: unused variable 'numread'
>[-Wunused-variable]
>size_t numread = fread(pBuffer,1,filesize,pFile);
>   ^
>In file included from ExampleApplication.cpp:20:
>In file included from
>/Users/user/programs/apache-uima/uimacpp/include/uima/api.hpp:59:
>/Users/user/programs/apache-uima/uimacpp/include/uima/annotator_abase.hpp:
>138:24:
>warning: private field 'iv_typeSystem' is not used
>[-Wunused-private-field]
>TypeSystem const * iv_typeSystem;
>   ^
>4 warnings and 4 errors generated.
>make: *** [ExampleApplication.o] Error 1
>
>
>
>
>What I am missing?
>
>Thank you,
>William