I really hope the orb developers can give more detailed information in the software guide.Because it's always confusing for freshman to build the first application.It's really frustrating.
在 2014年7月24日星期四UTC+8下午7时14分39秒,neal写道: > > I want to know I run the bat file just like this "OTB.bat > C:\path\to\MyOTBDir\src C:\path\to\MyOTBDir\build > C:\path\to\MyOTBDir\install".Do I run the file right? > > 在 2014年7月24日星期四UTC+8下午4时16分10秒,Rashad写道: >> >> Hello, >> >> 1. You have Qt installed but cmake is not detecting. You need to point >> QMAK_EXECUTABLE to Qt-install-dir/bin/qmake.exe and maybe you need to point >> qmake_specs like qmake_Executable if not found automatically in your case. >> >> Without Qt installed or not found by cmake otbgui.bat is not installed >> but you have otbgui_* files. I agree this must not be available and need a >> fix in cmake. >> >> 2. If you have installed otb by osgeo4w you can use it instead of building >> >> 3. can you use attached OTB.bat just to know where is the issue. But Do >> not continue with the attached file. just check and let me know it the all >> time error for you is not shown and post the output of it. (PS: rename it >> to OTB.bat) >> >> 4. Please keep the thread continous unless you have an entirely different >> question >> >> >> On Thu, Jul 24, 2014 at 8:11 AM, neal <[email protected]> wrote: >> >>> Now I understand why I can see these commands in the oseo4w.Because I >>> have installed the otb when install osgeo4w.Obviously,I don't install the >>> orb.I want to come back to the begining in the software guide.When I use >>> the bat file to install the orb,it should be installed into the >>> C:\path\to\MyOTBDir\install,but I cannot make it.Why? >>> I am very sorry for my continuous questions. >>> >>> 在 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]> 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] >>>>> 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.
