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] 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.
