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].
For more options, visit https://groups.google.com/d/optout.