I'm using VS2010.
Not sure on how to compile the IPoVn.IPCore project, must i compile it
in c# or C++?
I opened the "IPoVn - Image Processing of Vietnamese.sln" using Visual
Studio 2010.
Tried to build and got the missing assembly reference errors
Please help...
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to tesser...@googlegroups.com
> To unsubscribe from this group, send email to
> tesseract-oc...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>
IPoVn.IPCore project is clr project, it mixed between .net and c++.
Simple1.cs uses tesseract.dll only. So, you can exclude Simple2.cs,
Simple3.cs; and remove IPoVn.IPCore.dll, IPoVnSystem from IPoVn.OCRer
project.
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to tesser...@googlegroups.com
> To unsubscribe from this group, send email to
> tesseract-oc...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>
--
``All that is gold does not glitter,
not all those who wander are lost;
the old that is strong does not wither,
deep roots are not reached by the frost.
From the ashes a fire shall be woken,
a light from the shadows shall spring;
renewed shall be blade that was broken,
the crownless again shall be king.”
The unsafe statement does not need in Simple1.cs.
tesseract-ocr recommended 300 DPI, but you can pre-process image first
with others.
Maybe, you should check the initialization tesseract processor before
doing anything:
if (processor.Init(...))
{
.............
}
Here the link to download assemblies only:
http://tesseractdotnet.googlecode.com/files/IPoVn_Release_x86.zip
The program compiles clean without any warning using the 2008 dll’s.
It only gives
"unhandled Exception : System.IO.FileLoadException: Mixed mode
assembly is build against v2.0.50727 of the runtime and cannot be
loaded in the 4.0 runtime"
I even tried changing the target Framework to 3.5 without any success
Thanks for your support,
On Thu, Jul 7, 2011 at 4:24 AM, cong nguyenba <congng...@gmail.com> wrote:
> Not yet now, I have not installed vs2010 on my machine.
>
New environment
------------------------
OS: windows xp with SP3
Visual Studio 2008 c# express
Steps followed
------------------------
1. Create new project under vs2008
2. Added the following to project
~ Program.cs
~ Rendre.cs
~ Simple1.cs
~ Simple2.cs
~ Simple3.cs
~ Simple4.cs
~ Workspace.cs
3. Added the 3 assemblies to the reference
http://tesseractdotnet.googlecode.com/files/IPoVn_Release_x86.zip
Building Program
---------------------
1. Had to "allow unsafe code" in properties
2. Program compiles but don’t want to execute.
The Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
installs runtime components of Visual C++ Libraries required to run
applications developed with Visual C++ SP1 on a computer that does not
have Visual C++ 2008 SP1 installed.
1. Reboot and recompiled.
2. Still having the same problem.
Could not load file or assembly 'tesseract, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. This
application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem.
(Exception from HRESULT: 0x800736B1)
Please take a look if i haven't done something wrong.
Attached please find project with the simple
Thanks
Sarel
I think the Microsoft.VC80.CRT version is the root of the cause.
In the add remove programs I found 3 versions of the MS Visual c++
2008 Redistributable
x86 9.0.30729
x86 9.0.30729.17
x86 9.0.30729.6161
PS. This was a clean windows xp pro with Visual Studio 2008 express.
Any suggestions.....