Dear guys:
    I'm a student from Wuhan University, China. I'm interested in OTB 
features and want to do something about my research on Remote Sensing 
Graphic processing with this toolbox.However, I followed the SoftwareGuide 
and tried so many times but failed to set it up.
   This is the software environment:* Windows 10 Pro 64-bit, Visual Studio 
2013 Ultimate. Cmake 3.4.1*
     *1*.* I tried to use SuperBuild*. Use OSGeo4w to install dependencies 
such as EXPAT/CURL/GDAL/ITK etc.
     1.1.Create directory "D:/OTB/src" and clone the source code here(git 
clone), Create directory "D:/OTB/build" as the OTB_BINARY_DIR and directory 
"D:/OTB/install" as the OTB_INSTALL_DIR. 
    1.2. Lauch Cmake and configure it using "D:/OTB/src/SuperBuild" as 
input and set the CMAKE_INSTALL_PREFIX to "D:/OTB/install"
    1.3. Libraries setup by OSGeo4w have been found with "System Checkup" 
and I used them by setting the corresponding option USE_SYSTEM_XXX. 
    1.4. lanuch 'Configure' and 'Generate' and after the compilation, the 
build directory has been organized just as the SoftwareGuide mentioned.
    1.5. Open the 'OTB-SuperBuild.sln' with Visual Studio and build the 
solution. Get *error c1083:Cannot open source 
file:'D:/OTB/install/include':No such file or directory*

     *2.* I also tried to *configure Cmake using "D:/OTB/src"* as input 
(not the SuperBuild) .Configure and update the valued in red in Cmake and 
finally there is no error.'Generate' and then open "OTB.sln" with Visual 
Studio. Build the solution and get lots of link error: 
errorLNK2038:mismatch detected for '_MSC_VER':value'1600' match value 
'1800'\fatal error LNK1104:cannot open file 
'..\OTBApplicationEngine-5.2.lib' and so on.  

    I really want to know is there anyone build this Toolbox from source 
code successfully on Windows with Visual Studio?
    And I think there should be more details about Build OTB from source 
code. Sorry to say that this may be the most difficult software I've met 
and really need help.

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