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