Hello Luis,

You still can partially use the Superbuild to help building all OTB+Remote 
modules:
1. Use the superbuild to build OTB and every dependencies
2. Manually add some remote modules in the OTB source directory 
(OTB/Modules/Remote/...) and rebuild only the OTB.

Here is what you can do in Ubuntu (suppose /myfolder is your local folder):

cd /myfolder

# Get OTB and build everything using the superbuild
git clone https://[email protected]/git/otb.git OTB
mkdir installdir
mkdir build && cd build

# Here you can configure your build...
ccmake ../OTB/Superbuild -DCMAKE_INSTALL_PREFIX=/myfolder/installdir

# Let's build the big one
make

# Now put your external modules in the following folder (e.g. last GRM 
version)
cd /myfolder/OTB/Modules/Remote/
git clone http://tully.ups-tlse.fr/cressonr/grm.git

# Now, rebuild only OTB with new modules
cd /myfolder/build/OTB/build
make clean && cmake /myfolder/OTB/ && make && make install

# Now your new remote module app is available
otbcli_GenericRegionMerging

Hope this helps,

Rémi

Le jeudi 18 février 2016 10:02:05 UTC+1, [email protected] a écrit :
>
> Hi Julien,
>
> Thanks for your prompt reply, I think that answers it. 
> Would you recommend me to first uninstall my current OTB version? hmm I 
> will give it a shot and build the 5.2.1 version in a local folder, without 
> uninstalling the one I have already from the repositories.
> I will post the results!
>
> Luis.
>
>
> On Thursday, February 18, 2016 at 5:23:54 PM UTC+9, Julien Michel wrote:
>>
>> Hi,
>>
>> If you want to build a remote module like GRM in OTB, you need to build 
>> your OTB yourself (and not use an installed one). There is currently no way 
>> of building additional modules on top of an installed OTB (I think ITK made 
>> some progress towards this, but we did not find the time yet to port them 
>> to OTB). Building a remote module as part of an OTB build is fairly simple :
>>
>>
>> http://wiki.orfeo-toolbox.org/index.php/How_to_write_a_remote_module#Including_a_remote_module_in_OTB
>>
>> The only thing to do is to copy/checkout the module source code in the 
>> Modules/Remote folder of OTB sources. Then you will be able to build a full 
>> OTB including the remote module.
>>
>> Regards,
>>
>> Julien
>>
>> Le 18/02/2016 09:19, [email protected] a écrit :
>>
>> Good day everyone. 
>>
>> I am looking for instructions on how to build the remote module of 
>> Generic Merging Segmentation to use it in OTB 5.2 which I have already 
>> installed and running in Ubuntu 14.04.
>>
>> http://tully.ups-tlse.fr/lassallep/grm/tree/master
>>
>> All I have found is some general information on how to do this on 
>> Windows, but little regarding for a Linux platform. 
>> Maybe this is a very basic thing to do, but since this is my first time I 
>> would like to ask all the help I can get.
>>
>> On which folder should I copy the files? what commands should I use to 
>> build the module? after building it, how to use it from OTB (or maybe from 
>> within the QGIS interface?)
>>
>> I am looking forward to share all the experience of the module usage.
>>
>> Best regards,
>>
>> Luis
>>
>> -- 
>> -- 
>> 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.
>>
>>
>>
>> -- 
>> Julien MICHEL
>> CNES - DCT/SI/AP - BPI 1219
>> 18, avenue Edouard Belin
>> 31401 Toulouse Cedex 09 - France
>> Tel: +33 561 282 894 - Fax: +33 561 283 109 
>>
>>

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