Hi,

I have been having issues with loading an application which is part of a
remote module I am developing 
(http://tully.ups-tlse.fr/jordi/temporalgapfilling/tree/module). 

I have followed the instructions in
http://wiki.orfeo-toolbox.org/index.php/How_to_write_a_remote_module.

I have copied the sources of my module into Modules/Remote. The module
builds OK and my lib is built and its tests are compiled and can be run.
The only problem is the application.

I have half solved the problem, so I thought I would share what I
learnt.

The issue is that the application launcher was telling me that it could
not find the application, although the otbapp*so file was created into
lib/otb/application with all other OTB applications. 

Actually, what was happening is that I forgot to link my application
with some external libraries (gsl), but the error message was
misleading. I understand that the mechanism which loads the applications
is not able to make the difference between a missing application and an
application which has missing libs.

This was half the solution. For the other half, I need some help ...

Now that I link with my application with all the libs it needs I can run
it using

otbApplicationLauncherCommandLine ImageTimeSeriesGapFilling 
${OTB_HOME}/lib/otb/applications/

but the otbcli_ImageTimeSeriesGapFilling script still produces the same
error message as before. Also, using otbcli, the issue is the same:

otbcli BandMath 

works OK, but 

otbcli ImageTimeSeriesGapFilling

does not find the module and needs the path

otbcli ImageTimeSeriesGapFilling ${OTB_HOME}/lib/otb/applications/

I don't understand why the 2 applications behave differently if their
otbapp*so files are in the same directory.

I am sure that I am doing something wrong, but I don't see it. 

Thanks in advance.

Jordi

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