Accidently,I found the command just like otbgui and otbcli commnd in the 
osegeo4w shell.But it's pretty hard for me to understand how to use these 
commands,maybe I have to read more about the cookbook.However,I reallly 
have some questions.
First,I found these commands have been before I use the cmake to 
configure,so are they embed in the osgeo4w shell?So what's the 
siginificance of cmake?All seem to do nothing with the source files and 
cmake,because these command can be executed in the shell directly.
Second,I have been always confused about the OTB.abt file in the 
softwareguide has introduced.I don't understand the real function of this 
file.It seems it is set some arguments for the cmake.But when I exetute the 
OTB.bat just like this:"OTB.bat C:\path\to\MyOTBDir\src 
C:\path\to\MyOTBDir\build C:\path\to\MyOTBDir\install"(ps:I am not sure if 
this is right).But nothing seems to work,and both the build and install 
file is empty.


在 2014年7月23日星期三UTC+8下午10时58分24秒,Rashad写道:
>
> Hello,
>
> First of all I dont understand this language and cannot translate it. 
> second of all i cannot get the directory contents from what you send a 
> screenshot. can you list the contents into a file and send it?
>
> Also if you have only OTB_WRAP_QT=ON then only 
> otbApplicationLauncherQt.exe is created and so as otbgui.bat. and try from 
> OSGeo4W shell
>
>
>
>
>
>
> On Wed, Jul 23, 2014 at 4:20 PM, neal <[email protected] <javascript:>> 
> wrote:
>
>>
>> <https://lh5.googleusercontent.com/--pZBMgQg244/U8_EveOERpI/AAAAAAAAAA0/NwJ6OS9La9U/s1600/otb2.jpg>
>>
>>
>> <https://lh4.googleusercontent.com/-3a4NZ_ie7Z4/U8_EqOgYdqI/AAAAAAAAAAs/QeKmFMFe-Lg/s1600/otb1.jpg>
>> And here are the pictures about the files structure in the bin and the 
>> result of the execution of the bat files.
>>
>> 在 2014年7月23日星期三UTC+8下午10时03分47秒,Rashad写道:
>>>
>>> Hello agian,
>>>
>>> This is a problem with path but I cannot understand why .bat files 
>>> doesnt set them automatically.  First to be clear, 
>>>
>>> after build you installed the files using make install right?
>>>
>>> if not then you are running otbcli_* files from the bin directory where 
>>> the otbApplicationLauncher.exe resides. 
>>>
>>>
>>>
>>>
>>>
>>> On Wed, Jul 23, 2014 at 3:34 PM, neal <[email protected]> wrote:
>>>
>>>> It seems that they cannot be executed in the shell or cmd,they 
>>>> indicates " 'otbApplicationLauncherCommandLine.exe' is not internal or 
>>>> external command,is not runnable program or bat either and " 'otbgui' is 
>>>> not internal or external command, is not runnable program or bat.
>>>> thank you for your selfish help.
>>>>
>>>> 在 2014年7月23日星期三UTC+8下午8时59分39秒,Rashad写道:
>>>>>
>>>>> Hello
>>>>>  
>>>>>
>>>>> On Wed, Jul 23, 2014 at 2:04 PM, neal <[email protected]> wrote:
>>>>>
>>>>>> Do you mean all the to otbcli*.bat and otbgui*.bat are executable,can 
>>>>>> they be executed directly to perform the corresponding function?But when 
>>>>>> I 
>>>>>> execute these files,they just show for a little moment,and doesn't show 
>>>>>> some view.And when I open the OTB.sln in the build file,I cannot compile 
>>>>>> it.
>>>>>>
>>>>>
>>>>> Yes they are executable and no you cant compile the .bat file from 
>>>>> visual studio.
>>>>>
>>>>> Try running the .bat from a command prompt or osgeo4w shell
>>>>>  
>>>>>
>>>>>>
>>>>>> 在 2014年7月23日星期三UTC+8下午7时56分07秒,Rashad写道:
>>>>>>>
>>>>>>> Hello neal,
>>>>>>>
>>>>>>> Sorry I didnt make it clear last time. The point you have 
>>>>>>> otbcli*.bat and otbgui*.bat in your bin directory. I said these are 
>>>>>>> executables and all it does was launch 
>>>>>>> otbApplicationLauncherCommandLine 
>>>>>>> or otbApplicationLauncherQt with the "wrong or required information".
>>>>>>>
>>>>>>> So when you run otbcli_ReadImageInfo  -in input.tif  It calls:
>>>>>>> otbApplicationLauncherCommandLine ReadImageInfo ./path/to/otbapp_
>>>>>>> ReadImageInfo.so-dir [readimage info parameters. (-in input.tif in 
>>>>>>> the above case)
>>>>>>>
>>>>>>> The thing is otb create a library for each application during build 
>>>>>>> and generates a helper script such as otbcli_APPLICATION and 
>>>>>>> otbgui_APPLICATION
>>>>>>>
>>>>>>> These are .bat files in windows and .sh in linux
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jul 23, 2014 at 1:31 PM, neal <[email protected]> wrote:
>>>>>>>
>>>>>>>> hi,I have found the otbApplicationLaunchLineCommandLine.exe in 
>>>>>>>> ../bin/Debug,but it doesn't work with the wrong information:cannot 
>>>>>>>> start 
>>>>>>>> the program,because the computer miss the ogdi.dll. Try to reinstall 
>>>>>>>> the 
>>>>>>>> program to solve the problem.As the matter of fact,I don't make the 
>>>>>>>> build 
>>>>>>>> by execute the OTB.bat file in OSGeo4W shell,I use the cmake to do the 
>>>>>>>> building directly.
>>>>>>>>
>>>>>>>
>>>>>>> ogdi.dll missing case seems to be a classic issue where the .dll 
>>>>>>> installed is in a different path and windows is and will not be aware 
>>>>>>> until 
>>>>>>> you mention
>>>>>>>
>>>>>>> you can add the path to ogdi.dll to system path in evironment 
>>>>>>> settings and restart the command prompt
>>>>>>>
>>>>>>> HTH
>>>>>>>
>>>>>>>>
>>>>>>>> 在 2014年7月23日星期三UTC+8下午3时13分11秒,Rashad写道:
>>>>>>>>>
>>>>>>>>> Hi Neal,
>>>>>>>>>
>>>>>>>>> You will not see .exe files in windows expect when you enable 
>>>>>>>>> testing. But OTB has a .bat files in your build-directory/bin/. These 
>>>>>>>>> are 
>>>>>>>>> also executables and can be called from commandline or gui like:
>>>>>>>>>
>>>>>>>>> otbcli_ReadImageInfo -in input.tif
>>>>>>>>>
>>>>>>>>> Remember otbcli is for command line and otbgui is for the Qt 
>>>>>>>>> interface. 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  On Wed, Jul 23, 2014 at 3:03 AM, neal <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,everyone.When I build the OTB use vs2012,it succeed,but it 
>>>>>>>>>> failed to make any exe files,so it cannot work.I find the DEBUG file 
>>>>>>>>>> is 
>>>>>>>>>> empty,so when I compile the program ,it indicates failure,"cannot 
>>>>>>>>>> start the 
>>>>>>>>>> program 'E:\otb_build\build\Debug\ALLBUILD',system cannot find 
>>>>>>>>>> the file.
>>>>>>>>>> Any help is appreciated,please help me.
>>>>>>>>>> Neal
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> -- 
>>>>>>>>>> Check the OTB FAQ at
>>>>>>>>>> http://www.orfeo-toolbox.org/FAQ.html
>>>>>>>>>>  
>>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>>> Groups "otb-users" 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/otb-users?hl=en
>>>>>>>>>> --- 
>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>> Google Groups "otb-users" group.
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>> send an email to [email protected].
>>>>>>>>>>
>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Regards,
>>>>>>>>>    Rashad
>>>>>>>>>  
>>>>>>>>  -- 
>>>>>>>> -- 
>>>>>>>> Check the OTB FAQ at
>>>>>>>> http://www.orfeo-toolbox.org/FAQ.html
>>>>>>>>  
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "otb-users" 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/otb-users?hl=en
>>>>>>>> --- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "otb-users" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Regards,
>>>>>>>    Rashad
>>>>>>>  
>>>>>>  -- 
>>>>>> -- 
>>>>>> Check the OTB FAQ at
>>>>>> http://www.orfeo-toolbox.org/FAQ.html
>>>>>>  
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "otb-users" 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/otb-users?hl=en
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "otb-users" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Regards,
>>>>>    Rashad
>>>>>  
>>>>  -- 
>>>> -- 
>>>> Check the OTB FAQ at
>>>> http://www.orfeo-toolbox.org/FAQ.html
>>>>  
>>>> You received this message because you are subscribed to the Google
>>>> Groups "otb-users" 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/otb-users?hl=en
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "otb-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Regards,
>>>    Rashad
>>>  
>>  -- 
>> -- 
>> Check the OTB FAQ at
>> http://www.orfeo-toolbox.org/FAQ.html
>>  
>> You received this message because you are subscribed to the Google
>> Groups "otb-users" group.
>> To post to this group, send email to [email protected] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/otb-users?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "otb-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Regards,
>    Rashad
>  

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" 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/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to