Thanks for info. There is Post-Build Event command for libtesseract302 project. In attachment there is screenshot from vs2008 where you can find it.
This command is responsible for testing if there is output directory for
lib ("..\..\..\lib"). If it does not exists - it create it with command
"md" and than it copy there created library....
For LIB_Release configuration copy part of command should be this:
copy
"c:\usr\projects\BuildFolder\tesseract-ocr\vs2008\LIB_Release\libtesseract302-static.lib"
..\..\..\lib
So you have there "libtesseract302.lib" instead of
"libtesseract302-static.lib". Did you modified project files?
--
Zdenko
On Wed, Jul 25, 2012 at 1:01 PM, Nada Feteha <[email protected]> wrote:
> LIB_Release has also this error
> Error 5 error MSB3073: The command "if not exist ..\..\..\lib md
> ..\..\..\lib
> copy
> "C:\BuildFolder\tesseract-3.02\vs2008\libtesseract\..\LIB_Release\libtesseract302.lib"
> ..\..\..\lib
>
>
> :VCEnd" exited with code 1. C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113
>
>
> but DLL_Release and DLL_Debug run and build succeeded ,0 failed ..
>
> On Tuesday, July 24, 2012 11:34:32 PM UTC-7, zdenop wrote:
>>
>>
>>
>> On Wed, Jul 25, 2012 at 12:21 AM, Nada Feteha <[email protected]>wrote:
>>
>>> I try to build tesseract 3.02 on Visual Studio 2010 by this instruction
>>> http://tesseract-ocr.**googlecode.com/svn/trunk/**
>>> vs2008/doc/building.html<http://tesseract-ocr.googlecode.com/svn/trunk/vs2008/doc/building.html>
>>>
>>> the problem in step 2 when I try to build the static library LIB_Debug ,
>>> I fond this error
>>>
>>> Error 3 error MSB3073: The command "if not exist ..\..\..\lib md
>>> ..\..\..\lib
>>> copy
>>> "C:\BuildFolder\tesseract-3.**02\vs2008\libtesseract\..\LIB_**Debug\libtesseract302.lib"
>>> ..\..\..\lib
>>> :VCEnd" exited with code 1. C:\Program Files
>>> (x86)\MSBuild\Microsoft.Cpp\**v4.0\Microsoft.CppCommon.**targets 113
>>>
>>> any solution ??
>>> thanks ..
>>>
>>> Other configurations (LIB_Release, DLL_Release, DLL_Debug) are built ok?
>>
>> --
>> Zdenko
>>
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/tesseract-ocr?hl=en
>
--
Zdenko
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
<<attachment: post-buildEvent.png>>

