On Friday, August 4, 2017 at 6:35:03 AM UTC+2, user123 wrote: > > Hello Rashad, Thank you so much for your response, here are the answers > for your questions, > first part > 1. I tried to configure OTB using the method mentioned in > https://wiki.orfeo-toolbox.org/index.php/How_to_write_a_remote_module#Local_build_of_a_remote_module > . > I started buiding OTB from source code(Latest version of OTB available on > website, v 6.0), selected the directory which has CMakeLists.txt file as > souce directory to CMake, selected another directory for build files, > started Configuration, Configuration completed successfully in a few > minutes, then enable the option Mosaic Module which appeared in the list > after configuration,(I did copy the remote mosaic files to > OTB-develop\Mosules\Remote before starting OTB compilation), after enabling > the module mosaic option, started configuration again, and got this error > CMake Error at CMake/OTBModuleRemote.cmake:37 (message): > Failed to clone repository: 'https://github.com/remicres/otb-mosaic.git' > Call Stack (most recent call first): > CMake/OTBModuleRemote.cmake:132 (_git_clone) > CMake/OTBModuleRemote.cmake:177 (_fetch_with_git) > Modules/Remote/Mosaic.remote.cmake:2 (otb_fetch_module) > Modules/Remote/CMakeLists.txt:26 (include) > 2. the latest version of OTB source code which is available on OTB > website, its vesion 6.0 https://www.orfeo-toolbox.org/download/ > 3. Yeah, I am using Windows 8.1 Pro with 64bit OS. and MS Visual Studio > 14, 2015 64bit > > second part > I have tried OTB-contrib binary package for 64bit OS, but I was unable for > figure out the configuration of OTB from that binary pkg, I had install the > two .exe files, mapla.exe and monteverdi.exe and tried to build the remote > module, it gives error at OTB Create Application. With OTB-contrib > binary package I could not understand how to compile the binaries, > because some of the files were .dlls and others were .bat, no other format > was found in that pkg which could be used for compilation, I am new to OTB > and the compilation sort of stuff, maybe i am doing something wrong at the > very basic steps, therefore quit trying from binaries and continued with > source compilation. > 3. The exact error when I tried to use OTB Contrib Binary pkg was CMake > Error at CMakeLists.txt:3 (OTB_CREATE_APPLICATION): >
see what manu told about binary package. you don't need to compile OTB. Infact you can't compile OTB from binary package. It is possible on from OTB sources. I assume you are new to build stuff from source, it is better to use package for using mosaic module In the package you can see, mapla.bat if you run it will have a list of applications (extractroi, classification...) etc.. I think mosaic should be listed in it. IF not that is a bug on our side. so if you can't find mosiac in mapla, please file a simple bug (mosaic not found in package) on mantis bugs.orfeo-toolbox.org with a link to package's download link I recommend you not to build OTB right away just for using mosaic unless you intent to modify, update or fix something in code. <copy> how did you install and compile OTB before compiling the mosaic module? Note that you can't compile a module against the OTB binary package which does not contain header files. Something that could help here, there is an OTB-contrib binary package available on linux/mac and windows which integrate OTB and also some remote modules including otb-mosaic. It could be a solution for you to access rapidly to mosaic applications. You can download the package here: https://www.orfeo-toolbox.org/download/ </copy> > > Thank you for your time. > Regards > > On 3 August 2017 at 14:05, Rashad <[email protected] <javascript:>> > wrote: > >> >> >> On Wednesday, August 2, 2017 at 8:51:32 AM UTC+2, user123 wrote: >>> >>> Hello >>> I have tried OTB-contrib binary package as well but no success. >>> >>> I am Compiling OTB from source code in CMake using MS Visual Studio 14 >>> 2015 (64 bit), >>> >>> I select the source and output directories and click 'Configure' in >>> CMake, it takes a few minutes and compiles successfully and displays some >>> options in red, I enable the option "Module Mosaic" and again click >>> "Configure", >>> I tried the above step in two ways, WITH and WITHOUT copying the module >>> mosaic folder into OTB\Modules\Remote >>> both times it gives me the same error >>> >> >> Hell user123, >> >> I guess you two threads on this group is related to same issue. >> >> Sorry that I don't have specific solution for your case. Because to reach >> there we need answers for below questions. >> >> I am thinking you are having the cmake error which you had attached in >> previous mail. If so, >> >> first part (building otb) >> 1. can you brief on how you tried to configure OTB? a link to tutorial or >> docs you followed would suffice >> 2. what version of OTB you were building ? and how did you got the source >> code (git clone, tar download) >> 3. are you on an 64bit OS? >> >> Second part (using otb package) >> Manuel has recommended to use our official binary package. In the error >> it was not clear about the problem >> 3. what is the exact error when you tried to use OTB contrib binary >> package. there is one particular for 64bit OS ? >> >> >> CMake Error at CMake/OTBModuleRemote.cmake:37 (message): >>> Failed to clone repository: 'http://tully.ups-tlse.fr/lassallep/grm.git' >>> Call Stack (most recent call first): >>> CMake/OTBModuleRemote.cmake:132 (_git_clone) >>> CMake/OTBModuleRemote.cmake:177 (_fetch_with_git) >>> Modules/Remote/otbGRM.remote.cmake:2 (otb_fetch_module) >>> Modules/Remote/CMakeLists.txt:26 (include) >>> >>> I would appreciate any kind of help please. >>> Thank you for your time. >>> Regards >>> >> -- >> -- >> 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 a topic in the >> Google Groups "otb-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/otb-users/tXsf0YvarIo/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- 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.
