WCX_RedTess - OCR (text recognition in TC)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

ghisler(Author) wrote: 2019-10-17, 08:33 UTC Please compile the plugin with the option:
"Multithreaded (/MT)"
and not
"Multithreaded-DLL (/MD)".

This is misleading: The option does NOT mean that you want to create a DLL. It means that it uses the Microsoft redistribution package. When you use /MT option, then all necessary functions will be compiled into the plugin. Normally this doesn't make it much larger.
I can't build poppler's cairo lib as static because of glib (glib only supports dynamic library linkage)
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

18.10.2019 Now you can try static version of RedTess with no dlls. Both x86 and x86-64 versions on one archive

(build with patched poppler & glib)
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

2mikedepetris
please try latest version of plugin
mrle
Junior Member
Junior Member
Posts: 58
Joined: 2005-04-25, 21:44 UTC

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *mrle »

Win7 (64-bit) + TotalCmd_v9.22a (32-bit) + redtess.wcx (32-bit):

---

"The program can't start because boost_date_time-vc141-mt-x32-1_70.dll is missing from your computer. Try reinstalling the program to fix this problem."

What could be the problem?

"boost_date_time-vc141-mt-x32-1_70.dll" is located in the "RedTess32" folder, with "redtess.wcx".

Registering DLL with "regsvr32.exe" didn't help.

^

This is with version from three days ago (from 15. okt).

---

And now, with this "static" version situation is even worse:

"The instruction at 0x61c0e187 referenced memory at 0x61c0e187. The memory could not be read."
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

2mrle
dll-based version was tested in Win7 by me, static - only in Win10, I'll see what could be there. The fact is that some libraries initially did not exist at all for statistical linking.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *Usher »

alexanderwdark wrote: 2019-10-18, 06:39 UTC
Usher wrote: 2019-10-17, 16:28 UTCOf course the latest MSVC compiler supports XP (32-bit at least). It's been already explained that you should install xp toolset and properly configure it.
How can I compile/install libs in vcpkg using XP toolset?
  1. You have already done one step - created static build, but it's only beginning.
  2. The main problem is that installing v14*_xp toolset is not enough. It sets only minimal SUBSYSTEM version, but keeps default unchanged. As the linker uses default settings, you must set proper /SUBSYSTEM manually.
    See this discussion: https://stackoverflow.com/a/16088675
    Jeff Marr wrote:The MSDN documentation for /ENTRY states that, if the /SUBSYSTEM argument is not specified that the SUBSYSTEM and ENTRY POINT are determined automatically.
  3. There may be more settings required, see messages in a topic for another plugin:
    https://www.ghisler.ch/board/viewtopic.php?f=6&t=36578&p=349893&hilit=toolset%2A#p349893
    https://www.ghisler.ch/board/viewtopic.php?f=6&t=36578&p=349994&hilit=toolset%2A#p349994
    That plugin has been successfully compiled for Windows XP and works for me.
Andrzej P. Wozniak
Polish subforum moderator
mikedepetris
Junior Member
Junior Member
Posts: 84
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *mikedepetris »

alexanderwdark wrote: 2019-10-18, 12:00 UTC 2mikedepetris
please try latest version of plugin
Thank you, it is still giving me the same error.
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

mikedepetris wrote: 2019-10-20, 19:10 UTC
alexanderwdark wrote: 2019-10-18, 12:00 UTC 2mikedepetris
please try latest version of plugin
Thank you, it is still giving me the same error.
Yes, If no ucrt libs in you system, it even will not work with static version. I don't know why some windows missing this lib. Because clean install of 7 or 10 has ucrt...
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

1. Now i installed clean win 10 1903 (business, msdn). Plugin in static version works even without any runtimes.

2. I have one win 10 when dependency walker or fileinfo from TC show problems also in kernell32, etc. for any software, inc. TC. Missing api-ms* libs
(this system was updated from win 8, i think)

So, this is some MS's bug. Look at AutoDesk QA - same pain with ucrt.
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

22.10.19 New build. Some fixes.
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *Gral »

Still the same.
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

Gral wrote: 2019-10-22, 16:05 UTCStill the same.
I managed to fix the problem system that I met only by reinstalling the OS to the latest version. Latest ISO from MSDN works ok, both win7 (sp1) and win10 (1903) in my VirtualBox (without need to install any runtime)
User avatar
alexanderwdark
Senior Member
Senior Member
Posts: 270
Joined: 2008-04-14, 07:20 UTC
Location: Russia
Contact:

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *alexanderwdark »

23.10.19 New build. You can get it here.
User avatar
Gral
Power Member
Power Member
Posts: 1467
Joined: 2005-01-26, 15:12 UTC

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *Gral »

Still the same.
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: WCX_RedTess - OCR (text recognition in TC)

Post by *Ovg »

Error: This is not a valid plugin!
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Post Reply