[tesseract-ocr] Re: Error when compiling tesscallback.h

2017-08-06 Thread Adam Zahran
Okay you can't do a using namespace std; before including the tesseract 
header. Make sure that you put your tesseract include before any other 
(because you could've used namespace std in some other header)
Placeing my #include in the beginning of the file solved the issue.

On Sunday, August 6, 2017 at 7:00:34 PM UTC+2, Adam Zahran wrote:
>
> same issue. has anyone found a solution?
>
> On Thursday, June 16, 2016 at 7:36:38 PM UTC+2, RxF wrote:
>>
>> Hey there
>>
>> I'm on OSX 10.11.5 El Capitan 
>> using openframeworks on Xcode 7.3.1
>> building with Apple Default compiler LLVM7.1 
>> for 64bit Intel x86_64
>> language settings C++11 
>>
>> I have cloned tesseract from github and successfully compiled as a static 
>> library. 
>> Now, when I compile my project, the build fails at 
>>
>> // tesscallback.h, line 278
>> template struct remove_reference { typedef T type; };
>>
>> with the error: Explicit specialization of non-template struct 
>> 'remove_reference'
>>
>> Can anyone help me decipher the message and give a hint on how to solve 
>> the problem?
>> Thank you very much indeed
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/fca8df0c-640d-496a-b47e-4bbeaf999603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] Re: Error when compiling tesscallback.h

2017-08-06 Thread Adam Zahran
same issue. has anyone found a solution?

On Thursday, June 16, 2016 at 7:36:38 PM UTC+2, RxF wrote:
>
> Hey there
>
> I'm on OSX 10.11.5 El Capitan 
> using openframeworks on Xcode 7.3.1
> building with Apple Default compiler LLVM7.1 
> for 64bit Intel x86_64
> language settings C++11 
>
> I have cloned tesseract from github and successfully compiled as a static 
> library. 
> Now, when I compile my project, the build fails at 
>
> // tesscallback.h, line 278
> template struct remove_reference { typedef T type; };
>
> with the error: Explicit specialization of non-template struct 
> 'remove_reference'
>
> Can anyone help me decipher the message and give a hint on how to solve 
> the problem?
> Thank you very much indeed
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/c221c0c7-6045-44ef-92e3-7938d41a032d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tesseract-ocr] Re: Error when compiling tesscallback.h

2017-01-28 Thread Zdenko Podobný
Do you use "using namespace std;"?

Zdenko

On Fri, Jan 27, 2017 at 2:22 PM, Luis Di Martino  wrote:

> Hi!
> I'm having the same problem when trying to include tesscallback.h in a
> Android app by means of JNI (Java Native Interface). Does anyone fijgure
> out how to fix this issue?
>
>
> On Thursday, June 16, 2016 at 2:36:38 PM UTC-3, RxF wrote:
>>
>> Hey there
>>
>> I'm on OSX 10.11.5 El Capitan
>> using openframeworks on Xcode 7.3.1
>> building with Apple Default compiler LLVM7.1
>> for 64bit Intel x86_64
>> language settings C++11
>>
>> I have cloned tesseract from github and successfully compiled as a static
>> library.
>> Now, when I compile my project, the build fails at
>>
>> // tesscallback.h, line 278
>> template struct remove_reference { typedef T type; };
>>
>> with the error: Explicit specialization of non-template struct
>> 'remove_reference'
>>
>> Can anyone help me decipher the message and give a hint on how to solve
>> the problem?
>> Thank you very much indeed
>>
>>
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tesseract-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@googlegroups.com.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tesseract-ocr/3d3ff320-e587-44a3-9954-224d568457c3%
> 40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yuZDq1c5bOxdPswPwp-rREvLZzGLD-rfJ-oLSq%2BwH%3DhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] Re: Error when compiling tesscallback.h

2017-01-27 Thread Luis Di Martino
Hi! 
I'm having the same problem when trying to include tesscallback.h in a 
Android app by means of JNI (Java Native Interface). Does anyone fijgure 
out how to fix this issue?


On Thursday, June 16, 2016 at 2:36:38 PM UTC-3, RxF wrote:
>
> Hey there
>
> I'm on OSX 10.11.5 El Capitan 
> using openframeworks on Xcode 7.3.1
> building with Apple Default compiler LLVM7.1 
> for 64bit Intel x86_64
> language settings C++11 
>
> I have cloned tesseract from github and successfully compiled as a static 
> library. 
> Now, when I compile my project, the build fails at 
>
> // tesscallback.h, line 278
> template struct remove_reference { typedef T type; };
>
> with the error: Explicit specialization of non-template struct 
> 'remove_reference'
>
> Can anyone help me decipher the message and give a hint on how to solve 
> the problem?
> Thank you very much indeed
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/3d3ff320-e587-44a3-9954-224d568457c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] Re: Error when compiling tesscallback.h

2016-12-20 Thread Anurag Sahoo
Did you manage to figure out how to fix this?

On Thursday, 16 June 2016 10:36:38 UTC-7, RxF wrote:
>
> Hey there
>
> I'm on OSX 10.11.5 El Capitan 
> using openframeworks on Xcode 7.3.1
> building with Apple Default compiler LLVM7.1 
> for 64bit Intel x86_64
> language settings C++11 
>
> I have cloned tesseract from github and successfully compiled as a static 
> library. 
> Now, when I compile my project, the build fails at 
>
> // tesscallback.h, line 278
> template struct remove_reference { typedef T type; };
>
> with the error: Explicit specialization of non-template struct 
> 'remove_reference'
>
> Can anyone help me decipher the message and give a hint on how to solve 
> the problem?
> Thank you very much indeed
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/f04e78d8-ba92-43e6-b917-9214211ae0a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tesseract-ocr] Re: Error when compiling tesscallback.h

2016-07-19 Thread Jayanth Culli
same problem here...

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/d9950a69-a2c9-4862-94ba-20f9d2bb984e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.