On Wed, May 6, 2015 at 3:01 PM, GiNN <[email protected]> wrote:
> > All, > > I am interested in the functions of OTB 4.4, specifically the BandmathX. I > uderstand I need to build it fro source and this is where I have no > experience. > > I found these instructions : > http://wiki.orfeo-toolbox.org/index.php/Windows_Build > But I fail when running configure in Cmake: > > CMake Error at CMakeLists.txt:19 (project): > No CMAKE_CXX_COMPILER could be found. > this is because your visual studio compiler is not found by cmake. you dont need to configure cmake, the bat file does that for you. > Regarding Gdal, I should be okay since I already installed it via Osgeo4W > for use within QGis. > > Next I read the software guide version 4.4.0 for compiling otb on windows > which lists the dependencies needed (I already have them). > The instructions then say to make a batch file, I copy paste the text and > run in in an Osgeo4W shell and get: > > The system cannot find the path specified. > You need to provide 3 arguments to the script: > 1. path to the source directory > 2. path to the build directory (an empty directory) > 3. path to the installation directory (an empty directory) > open osgeo4w shell and call your .bat file with arguments ex: build_otb.bat C:\sources\OTB C:\build\OTB c:\install\OTB make sure you have those directories created C:\build\OTB and C:\install\OTB > So my questions: > - How do I input my src, build and install directories into the batch > file? I tried to paste them while replacing %1,%2 and %3 resp. in the .bat > But got the same error > - If I get the batch file to run successfully, what will be the next step? > you will have OTB installed. > - Also, is it a problem if I have both the 32 bit and 4 bit Osgeo4W? some > packages I use only come in 32 bit while I sometimes need the 64 bit. > dont mix 32bit and 6bit dlls. If you dont have all dlls for 64bit from osgeo4w, then use 32bit > > Running W8 64, Cmake 3.2.2, Visual Studio 10 2010. > > Thank you in advance for any assistance. > > -- > -- > 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. > -- Regards, Rashad -- -- 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.
