Hi, Have you tried to locate the file "OTBConfig.cmake" on your system ? If you have installed OTB using packages, this file should be somewhere like "/usr/lib/cmake/OTB-5.0" (depending on the version used). When you find this file, set the variable 'OTB_DIR'=path_to_otb_config in the CMake cache of your project.
Regards, Guillaume On 07/23/2015 12:12 PM, maria papadomanolaki wrote: > Hello! I am a new otb user. I started using otb a couple of months ago, > by installing all the necessary libraries from Synaptic. So far, > everything was ok, but lately, when i try to run a script it shows me > this error message: > > CMake Error at CMakeLists.txt:3 (FIND_PACKAGE): > By not providing "FindOTB.cmake" in CMAKE_MODULE_PATH this project has > asked CMake to find a package configuration file provided by "OTB", but > CMake did not find one. > > Could not find a package configuration file provided by "OTB" with any of > the following names: > > OTBConfig.cmake > otb-config.cmake > > Add the installation prefix of "OTB" to CMAKE_PREFIX_PATH or set "OTB_DIR" > to a directory containing one of the above files. If "OTB" provides a > separate development package or SDK, be sure it has been installed. > > -- Configuring incomplete, errors occurred! > > It seems that it cannot find otb in my computer and i don't know why. I > have tried many ways to fix this by running a simple helloworld script. > But nothing seems to work. So i would appreciate it if somebody could > help me! :) Thanks. > > > -- > -- > 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.
