On Wednesday, November 9, 2016 at 1:17:38 PM UTC+1, Jaime Martín de Nicolás wrote: > > Hi guys, > > I was trying to build OTB 5.8 from sources using this guide: > https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows > > Instead of using OTB 5.4 and OTB-xdk-5.4, I've downloaded the new version > 5.8 of both of them. BTW, I've tried cloning both the master and the > develop branches. However, an error with GDAL appears in the configure > step. This is what I get: > > Found GDAL: C:/OTB-xdk-5.8/lib/gdal_i.lib > > Performing Test GDAL_VERSION > > CMake Error at Modules/ThirdParty/GDAL/otb-module-init.cmake:40 (message): > Compiling Test GDAL_VERSION - Failed > > COMPILE_OUTPUT_GDAL_VERSION: 'Change Dir: > C:/OTB-5.8/build/CMakeFiles/CMakeTmp > > Run Build Command:"C:/Ninja/ninja.exe" "cmTC_1bdd4" > > [1/2] Building CXX object > CMakeFiles/cmTC_1bdd4.dir/gdalVersionTest.cxx.obj > > > FAILED: C:\mingw64\bin\g++.exe -IC:/OTB-xdk-5.8/include -mthreads -Wall > -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch > -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings > -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof > -Woverloaded-virtual -Wstrict-null-sentinel /bigobj -o > CMakeFiles/cmTC_1bdd4.dir/gdalVersionTest.cxx.obj -c > C:\OTB-5.8\src\Modules\ThirdParty\GDAL\gdalVersionTest.cxx > > > g++.exe: error: /bigobj: No such file or directory > > > ninja: build stopped: subcommand failed. > > > ' > Call Stack (most recent call first): > Modules/ThirdParty/GDAL/otb-module-init.cmake:65 (gdal_try_run) > CMake/OTBModuleEnablement.cmake:359 (include) > CMakeLists.txt:300 (include) > > Configuring incomplete, errors occurred! > > > the error above show /bigobj is added into cmake cxx flag based on a check for win32 rather than mingw.
I've been using OTB successfully on Linux the past few months, but I have > no choice and now I have to make it work on Windows. I've tried prior > versions, and I've compiled version 5.4 with relative success, however I > get some errors when building my own codes due to ITK 4.8 (apparently this > is solved in later versions). In this case the problem is with > VCL_STATIC_CONST_INIT_FLOAT_DECL. > > > I've also tried following the steps Rashad suggested in the topic > "OTB-5.8.0-xdk-win64 and visual studio", but I get stuck in the middle of > the execution of dashboard.bat. It gets to a certain point and then it > freezes and stops doing anything. > what happened when you deactivate python wrapping in dashboard.bat? could you post some logs/ experimental build on dashboard so that we can have a look what modification you did on dashboard.bat / dashboard.cmake ? > > Any ideas? > > > Thank you so much. > > > Cheers, > > Jaime > -- -- 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.
