Sorry for the French version ! here after, the english one !
So this is my problem...
I just compiled OTB 5.2
Unfortunately, I get the same error as Mélanie when I launch some otbcli ,
for instance otbcli_BandMathX
(ERROR: Could not find application "BandMathX" ERROR: Module search path:
/usr/local/bin/../lib/otb/applications)
The weird point is that some otbcli work, for instance otbcli_ManageNoData
After investigation, I realised that only a few otbcli applications were
updated when installinf OTB 5.2
The others (for instance otbcli_BandMathX) were not updated !
I started having a look on the CMakeLists.txt to figure out the issue...
But I'm getting stuck !
And the solutions given by Otmane or Manuel do not seem to work ..
Any idea ? ;-)
Thank you very much in advance !
Nicolas
Le vendredi 12 février 2016 14:53:50 UTC+1, Nico Champ a écrit :
>
>
> Bonjour,
>
> Je viens de compiler OTB 5.2 sous mac (mavericks)
>
> J'ai la même erreur que Mélanie (ERROR: Could not find application
> "BandMathX" ERROR: Module search path:
> /usr/local/bin/../lib/otb/applications)
> lorsque je lance certaines commandes otbcli (par exemple otbcli_BandMathX)
>
> Pour d'autres commandes, pas de souci, par exemple otbcli_ManageNoData se
> lance normalement !
>
> En enquêtant, je me rends que seules certaines commandes otbcli ont été
> mises à jours dans /usr/local/bin au moment de l'install de l'OTB 5.2. Ce
> sont elles qui marchent !
> Les autres, créées au moment de la précédente install (OTB 4.4), ne l'ont
> pas été et ne marchent plus !
>
> J'ai commencé à regarder les options du CMakeLists (le normal, pas le
> SuperBuild qui ne marche pas chez moi), histoire de recompiler correctement
> mais je sèche un peu...
>
> Quelqu'un aurait-il une idée ? (les pistes données dans ce fil de mail ne
> semblent pas fonctionner)
>
> Merci !
>
> Nicolas
>
>
>
> Le jeudi 11 décembre 2014 14:57:53 UTC+1, Mélanie Durupt a écrit :
>>
>> Sorry : after a discussion with my colleague, it seems that he had to
>> make some changes in otb code and that's why there is a pb with these app.
>>
>> Mélanie
>>
>> Le mardi 9 décembre 2014 17:47:39 UTC+1, Grizonnet Manuel a écrit :
>>>
>>> Other idea, do you have the definition of the application type (using
>>> ITK type macro) in the public section of the class definition.
>>>
>>> Something like this:
>>>
>>> itkTypeMacro(myImageClassifier, otb::Application);
>>>
>>> Manuel
>>>
>>>
>>> Le 09/12/2014 17:38, Mélanie Durupt a écrit :
>>>
>>> I tried this too.
>>> For the name of the application, it is correct : I checked with
>>> copy/search/paste (in the .cxx and CMakeLists) to be sure!
>>>
>>> Mélanie
>>>
>>> Le mardi 9 décembre 2014 17:30:01 UTC+1, Otmane Lahlou a écrit :
>>>>
>>>> Hi,
>>>>
>>>> You can also try to export the environment variable ITK_AUTOLOAD_PATH
>>>> to indicate the directory where your shared library is located.
>>>>
>>>> export ITK_AUTOLOAD_PATH=*path_to_lib_directory*
>>>>
>>>> HTH
>>>>
>>>> Otmane
>>>>
>>>>
>>>>
>>>> Le mardi 9 décembre 2014 17:18:57 UTC+1, Guillaume Pasero a écrit :
>>>>>
>>>>> Hi,
>>>>>
>>>>> Maybe you should check if "myImageClassifier" is the real name. The
>>>>> name you are using to call an application should match the name defined
>>>>> in
>>>>> the application code :
>>>>> -> check in the code of this application, in the method DoInit().
>>>>> -> check that you have this line : SetName("myImageClassifier")
>>>>>
>>>>> It means that the "official" name of an application is not related to
>>>>> the name of the ".so" library file. When loading a shared library, the
>>>>> launcher will look for the official name that is set in SetName().
>>>>>
>>>>> Regards,
>>>>> Guillaume
>>>>>
>>>>> Le 09/12/2014 16:52, Mélanie Durupt a écrit :
>>>>>
>>>>> Hi everyone
>>>>>
>>>>> I have a problem with an app (myImageClassifier) a colleague coded. He
>>>>> is not available for the moment so I ask here.
>>>>> When I launch the app I have this message :
>>>>>
>>>>> ERROR: Could not find application "myImageClassifier"
>>>>> ERROR: Module search path: /usr/bin/../lib/otb/applications:
>>>>> ERROR: Available modules :
>>>>> BandMath
>>>>> ...
>>>>> VertexComponentAnalysis
>>>>> myComputeChangeMap
>>>>> myComputeConfusionMatrix
>>>>> myDBDecisionFusion
>>>>> myFeatureSelection
>>>>> myObjectDecisionFusion
>>>>> mySegmentTool
>>>>> ERROR: No loaded application...
>>>>>
>>>>> I tried
>>>>> $ otbcli_myImageClassifier
>>>>> $ otbApplicationLauncherCommandLine myImageClassifier
>>>>> /usr/lib/otb/applications/
>>>>> and I have the same messages...
>>>>>
>>>>> I work with OTB 4.2 on ubuntu. Of course, "otbapp_myImageClassifier.so
>>>>> " is in /usr/lib/otb/applications/
>>>>> I checked the application like in this example :
>>>>> https://groups.google.com/d/msg/otb-users/gu7q0scLcgw/KLi-vnsdP78J
>>>>>
>>>>> You can see that in the list of the available modules, there are some
>>>>> personal apps (that work). I don't understand why I have these messages
>>>>> for
>>>>> this particular app...
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Mélanie
>>>>> --
>>>>> --
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> <http://www.c-s.fr> *Guillaume PASERO*
>>>>> Ingénieur d'études et développement
>>>>> *Business Unit E-SPACE & Geo Information*
>>>>> <https://thor.si.c-s.fr/blogs/cs-blogs-business/>* - Département
>>>>> APPLICATIONS*
>>>>>
>>>>> *CS Systèmes d'Information*
>>>>> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
>>>>> 31506 Toulouse Cedex 05 - FRANCE
>>>>> +33 561 17 64 21 - [email protected]
>>>>>
>>>> --
>>> --
>>> 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.
>>>
>>>
>>> --
>>> Manuel GRIZONNET
>>> CNES - DCT/SI/AP - BPI 1219
>>> 18, avenue Edouard Belin
>>> 31401 Toulouse Cedex 09 - France
>>> Tel: +33 561 282 630 - 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.