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<typename T> struct remove_reference<T&> { 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.

Reply via email to