What preprocessor macros need to be defined? #690
ProfInkling
started this conversation in
General
Replies: 3 comments
-
Need a little more information which will help me narrow things down.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, so I assume you are building tesseract_ext to build Bullet from source? If so, I do know that Bullet does not properly export it compiler definitions on past version and maybe master. I recommend checking the BullletConfig.cmake file to see if the compiler definition is listed. If not then I will need to look into Bullet and see how best to create a patch. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are using Tesseract on Windows. We build a DLL with Tesseract code, and then link with another DLL with our own code that. We include Tesseract headers into both DLLs. We were getting heap corruption because Tesseract defines the
BT_USE_DOUBLE_PRECISION
macro and we were not defining it for our own code, so some types were different sizes in the different DLLs.Are there any other macros you know of that we should be defining as well?
Beta Was this translation helpful? Give feedback.
All reactions