So I found out that Microsoft changed Macro "behavior" in VS2010(see
e.g [1]), so you need to correct "Target name" manually (see attachment):
LIB_Release: $(ProjectName)-static
LIB_Debug: $(ProjectName)-static-debug
DLL_Debug: $(ProjectName)d

DLL_Release is ok by default...

[1]
http://social.msdn.microsoft.com/Forums/en/vcprerelease/thread/3c03e730-6a0e-4ee4-a0d6-6a5c3ce4343c

--
Zdenko

On Thu, Jul 26, 2012 at 3:42 PM, Nada Feteha <[email protected]> wrote:

> No I didn't ...
> now built after I did what you say I have build succeeded in all
> configuration  but when write program I have this error missing
> libtesseract302.dll
> in picture and the same error when build then run tesseract ...
> I attach picture ..
> thanks for replay ...
>
>
> On Wednesday, July 25, 2012 5:52:31 AM UTC-7, zdenop wrote:
>>
>> 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.**googleco**de.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_**
>>>>> De**bug\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
>>> tesseract-ocr+unsubscribe@**googlegroups.com<tesseract-ocr%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/tesseract-ocr?hl=en<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
>



-- 
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: VS2010.png>>

Reply via email to