Hi,

It's quite tricky setup, so there might be problems you see.
Sorry for that.

I'm preparing cppan2 slowly to replace current cppan v1, and hopefully the 
issue will go away with it.
ETA - couple of months.

On Wednesday, September 19, 2018 at 10:06:19 AM UTC+3, Ben Olden-Cooligan 
wrote:
>
> Hi,
>
> I'm trying to build tesseract.exe on Windows/VS2017 using the /MT flag to 
> avoid needing the VC++ runtime library. I have modified cppan.yml as 
> follows:
>
> local_settings:
>     use_shared_libs: false
>     short_local_names: true
>     use_cache: false
>     #generator: Visual Studio 14 2015 Win64
>     silent: false
>     #copy_import_libs: true
>     build:
>         c_flags: /W0 /MT
>         cxx_flags: /W0 /MT
>
>     libtesseract:
>         shared_only: true
>
> The modifications work fine to statically link libtesseract, but adding 
> /MT to cxx_flags seems to have no effect. When I look at the the build 
> output from cppan.exe there is plenty of /MD but no /MT, and the output exe 
> is unchanged.
>
> Does anyone have any idea what the problem might be, or another approach 
> to avoid needing the runtime library?
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/6af654dd-c9c7-483c-90b3-d344f3581aa9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to