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.