Hi,
This way to build OTB under windows has not been tested since a long time.
If you want OTB libraries under windows you can use the MinGw package: OTB-5.0.0-Windows-MinGW-x86-bin.zip <https://www.orfeo-toolbox.org//packages/OTB-5.0.0-Windows-MinGW-x86-bin.zip>
Best
Mickaël

Le 04/10/2015 11:07, nick_chen a écrit :
I am try to install OTB dependencies. now, I have installed OSGeo4W, and create the three directories: OTB_SOURCE_DIR, OTB_BINARY_DIR and OTB_INSTALL_DIR following the tutorial 2.2.3 Manual installation of OTB dependencies, OTBSoftwareGuide.

But when I run the OTB.bat file in a OSGEo4W shell, I get the error information:

CMake Error at C:/Program Files/CMake/share/cmake-3.2/Modules/FindBoost.cmake:11
82 (message):
  Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
Modules/ThirdParty/Boost/otb-module-init.cmake:3 (find_package)
CMake/OTBModuleEnablement.cmake:356 (include)
  CMakeLists.txt:309 (include)


-- Looking for optional Boost components :
CMake Error at C:/Program Files/CMake/share/cmake-3.2/Modules/FindPackageHandleS
tandardArgs.cmake:138 (message):
  Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.c
make:374 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.2/Modules/FindGDAL.cmake:116 (FIND_PACKAG
E_HANDLE_STANDARD_ARGS)
Modules/ThirdParty/GDAL/otb-module-init.cmake:1 (find_package)
CMake/OTBModuleEnablement.cmake:356 (include)
  CMakeLists.txt:309 (include)


-- Configuring incomplete, errors occurred!
See also "E:/orfeo/OTB_BINARY_DIR/CMakeFiles/CMakeOutput.log".
See also "E:/orfeo/OTB_BINARY_DIR/CMakeFiles/CMakeError.log".
Error: could not find CMAKE_GENERATOR in Cache


I try to download boost and install it, but the problem is still there.
has anyone experienced this problem?
Any help or suggestion would be greatly appreciated.




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

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

Reply via email to