Hi,

It looks like OpenThreads headers and library are not detected. You can try to set them manually :

  • OPENTHREADS_INCLUDE_DIR = /opt/OTB-5.4.0-xdk-Linux64/include
  • OPENTHREADS_LIBRARY = /opt/OTB-5.4.0-xdk-Linux64/lib/libOpenThreads.so
Guillaume

On 03/25/2017 02:39 AM, Facundo Castello wrote:
I'm starting to use OTB and i've install osgeo live to do it... now im following this intructions:
https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Linux#Prerequisites
and when i run this command:

cmake /opt/OTB/source -DCMAKE_PREFIX_PATH=/opt/OTB-5.4.0-xdk-Linux64

i've got this error

CMake Warning at CMake/FindOpenThreads.cmake:92 (message):
  OpenThreads/Version not found !
Call Stack (most recent call first):
  Modules/ThirdParty/OpenThreads/otb-module-init.cmake:21 (find_package)
  CMake/OTBModuleEnablement.cmake:395 (include)
  CMakeLists.txt:323 (include)


CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY
  OPENTHREADS_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  CMake/FindOpenThreads.cmake:138 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Modules/ThirdParty/OpenThreads/otb-module-init.cmake:21 (find_package)
  CMake/OTBModuleEnablement.cmake:395 (include)
  CMakeLists.txt:323 (include)


-- Configuring incomplete, errors occurred!
See also "/root/CMakeFiles/CMakeOutput.log".
See also "/root/CMakeFiles/CMakeError.log".
root@facundo-System-Product-Name:~# OPENTHREA

i would like if somebody know how to solve it... 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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation - Département Payload Data & 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 - guillaume.pas...@c-s.fr


--
--
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to