Hi,
About your otb-application not working :
Indeed, if your dll's are in
'C:\OSGeo4W\apps\orfeotoolbox\applications', you should see all the
existing apps.
It seems like a broken dependency, or an incompatibility in the versions.
Can you check that both *bin/otbApplicationLauncherCommandLine* and the
*otbapp_***.dll *come from the same OSGeo4W package ?
About using QGis processing module :
you will need the otb-application package and the otb-python package.
Then in QGis, I think you have to install the "processing" extension.
Could you develop what steps you've made ?
Regards,
Guillaume
Le 29/09/2014 15:31, DavDub a écrit :
UPDATE:
I have the problem both with the latest 32bits and 64bits releases of
OSGEO4W.
My otb-application works correctly with an "old" OSGEO4W with QGS
version 2.0.1 32bits.
Is there a repository where UP-TO-DATE and complete information is
available on the QGIS processing toolbox and the OTB provided
applications. The wiki pages seem outdated and it is difficult both on
the QGIS side and the OTB side to know the process of
adding/integrating new applications.
Regards,
DD
On Friday, 26 September 2014 10:12:45 UTC-4, DavDub wrote:
Hi,
I am having a similar problem trying to use my otb-application
(built inside otb source directories) in QGIS.
With 2.4 QGIS, the 2 folder parameters do not appear any more in
the Processing Toolbox OTB provider parameter list.
When trying to run otbcli_MyAPP from command line I get :
ERROR: Could not find application "MyApp"
ERROR: Module search path: C:\OSGeo4W\apps\orfeotoolbox\applications
ERROR: Available modules: NONE (this is very wrong since all the
other OTBapp dll are all there)
ERROR: No loaded application...
I have verified my code and set everything like the Bandmath example.
Regards,
DD
On Monday, 22 September 2014 11:06:42 UTC-4, Grizonnet Manuel wrote:
I think that it could be a bug in your application code
(plugin based architecture can sometimes give you a headache)
I would check these points in your application (I give you
link to example in the BandMath application):
- class name:
http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l31
<http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l31>
- application name:
http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l55
<http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l55>
- export macro:
http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l214
<http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l214>
- standard type macro:
http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l44
<http://hg.orfeo-toolbox.org/OTB/file/411a72a52636/Applications/Utils/otbBandMath.cxx#l44>
Regards,
Manuel
Le 22/09/2014 16:20, Joseph ABΣNA a écrit :
Hello Guillaume,
I tried
$ otbApplicationLauncherQt MyAppName AppPATH
with AppPATh = folder where sources code and .so files are
located, but Still the same error.
It work for Native OTB Apllication eg
$ otbApplicationLauncherQt ImageClassifier
/usr/lib/otb/applications
But not work for my application.
:((
Le 19.09.2014 08:11, Guillaume Pasero a écrit :
Hi,
You shouldn't use the path to the .so library but the path
to the folder where they are.
Your command line should look like :
$ otbApplicationLauncherQt MyAppName /usr/lib/otb/applications
(I suppose your app otbapp_MyAppName.so is placed in
/usr/lib/otb/applications).
Regards,
Guillaume
Le 18/09/2014 15:02, Joseph ABΣNA a écrit :
Hello Julien,
I tried
$ otbApplicationLauncherQt MyAppName otbapp_MyAppName .so
but I'm receiving the following error
/Could not find application //MyAppName //
//Module search path : otbapp_//MyAppName.so://
//Available applications : None
/I tried also (to see if it work)
/$ otbApplicationLauncherQt ImagesClassifier
/usr/lib/otb/applications/otbapp_ImagesClassifier.so /
Still the same error :(
I'm I wrong or do you have any other idea ?
Le 18.09.2014 08:10, Julien Michel a écrit :
Hi Joseph,
There is a minor issue with otbgui and otbcli prefixes,
they actually only work for applications built within OTB
tree, and not for those built as a side project. Anyway,
otbgui_ and otbcli_ are just syntactic sugar scripts, you
can use your application this way :
$ otbApplicationLauncherCommandLine AppName PathToTheAppSo
arguments
or
$ otbApplicationLauncherQt AppName PathToTheAppSo arguments
Hope that helps,
regards,
Julien
Le 18/09/2014 08:16, Joseph ABΣNA a écrit :
Hello,
I'm quite familirar with OTB applications code in
[OTB_SRC_DIR/Applications/] and I'm trying to create a
custom OTB app and be able to use the GUI application
launcher and parse parametter to my program using the
graphical user interface.
After completing /*myApp**Name.cxx */code, I compiled
(using/*cmake ./* /followed by */make/*) without error
and this produced me 3 files:
- /*otbapp_myApp**Name*//*.so *(shared library)/
- /*otbcli_myApp**Name *(shell script)*
*//*/*- otbgui_myApp**Name */*/(shell script)/*
*/
Now when trying to invoke/*./*//*/*/*otbgui_myApp**Name
*/*/*/in the terminal I received the following error
/
Could not find application /////myAppName /////
//Module search path : /usr/bin/../lib/otb/applications://
//Available applications : //
//[list of all existing OTB//-APP//without mine]/
I tried to add manually *.so* file to
/usr/lib/otb/appication/ and shell scripts to /usr/bin/
but I got the same error.
Trying to do *make install* tell me that there is no rule
for "Install" and exit. below my CMakelists.txt file
Any help will be helpfull.
***************CMakeLists.txt*****************************************************
/FIND_PACKAGE(OTB)
IF(OTB_FOUND)
INCLUDE(${OTB_USE_FILE})
ELSE(OTB_FOUND)
MESSAGE(FATAL_ERROR "Cannot build OTB project without
OTB. Please set OTB_DIR.")
ENDIF(OTB_FOUND)
*OTB_CREATE_APPLICATION*(NAME *myApp**Name*
SOURCES **//*/myAppName/**.cxx*
LINK_LIBRARIES
OTBIO;OTBCommon;OTBBasicFilters;OTBFeatureExtraction;OTBLearning)/
*****************CMakeLists.txt*****************************************************
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
<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
<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
<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
<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
<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
<https://groups.google.com/d/optout>.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
<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
<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
<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
<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
<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
<https://groups.google.com/d/optout>.
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
<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
<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
<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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
<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.