thank you for answer. from a personal point of view, I prefer using Linux (I agree the intallation is by far easier) but I have to use Mac for my work.
Earlier today, I managed to compile OTB with the normal build but I get an error when I launched HelloWorld... *./bin/HelloWorlddyld: Library not loaded: libjpeg.62.dylib Referenced from: /usr/local/lib/libossim.dylib Reason: Incompatible library version: libossim.dylib requires version 62.0.0 or later, but libjpeg.62.dylib provides version 11.0.0* I modified a lot of things in my computer so that OTB works... So perhaps there is a problem with libjpeg.dylib. I will check tomorrow (I'm under ubuntu here at home!) thank you for your message, Nicolas ps: by experience, homebrew is difficult to use in my company, presumably because of proxy limitations (same problem as Thomas Tilak) Le lundi 14 mars 2016 18:36:34 UTC+1, Timur Girgin a écrit : > > Nicolas, > > I did fix that particular problem, although I do not remember exactly how > I did it. But I will be honest, even after fixing the problem I got a lot > more problems afterwards with other errors showing up. It would be better > for you to get Linux installed and install OTB on it. Installation on Linux > is painless. > > Also: You can take a look at OTB on Homebrew, which has been pending for > months... https://github.com/Homebrew/homebrew/pull/42845. > <https://mailtrack.io/trace/link/06b60c40b8d545cdaf5fa4a8d65fcb9a24287335?url=https%3A%2F%2Fgithub.com%2FHomebrew%2Fhomebrew%2Fpull%2F42845.&signature=0e90d3b6ba75e5d3> > OTB is also on MacPorts, but it is version 4.0. > > Tim > > On Mon, Mar 14, 2016 at 12:15 PM, Nico Champ <[email protected] > <javascript:>> wrote: > >> Hello ! >> >> Did some manage to solve the first issue ?? namely >> >> >> >> *dyld: Library not loaded: /usr/lib/libsqlite3.dylib Referenced from: >> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork >> Reason: Incompatible library version: CFNetwork requires version 9.0.0 or >> later, but libsqlite3.dylib provides version 0.0.0* >> >> I'm trying to install OTB on my new machine (OS > El capitan) and I'm >> getting the same problem. >> >> I tried the different solutions (desactivate CURL, GDAL...) but nothing >> seem to work, >> >> thank you for your help >> >> Nicolas >> >> Le jeudi 12 novembre 2015 20:16:45 UTC+1, Timur Girgin a écrit : >> >>> Hello Rashad, >>> >>> I do not think that I got it from the git develop branch. I got it from >>> here: https://git.orfeo-toolbox.org/otb.git >>> And weirdly enough, I get an error when running gdalinfo --version >>> >>> gdalinfo --version >>> >>> dyld: Library not loaded: /usr/local/lib/libgeos_c.1.dylib >>> >>> Referenced from: /usr/local/bin/gdalinfo >>> >>> Reason: Incompatible library version: gdalinfo requires version 10.0.0 >>> or later, but libgeos_c.1.dylib provides version 1.0.0 >>> >>> Trace/BPT trap: 5 >>> >>> I am working to figure out what the problem is, considering I have never >>> had any problem with GDAL. >>> >>> Thanks, >>> Tim >>> >>> On Thursday, November 12, 2015 at 10:43:18 AM UTC-6, Rashad M wrote: >>>> >>>> Thanks Tim, >>>> >>>> I can now check this on my side. I have some questions for you. >>>> >>>> 1. are you building otb from git develop branch ? >>>> 2. which version of gdal are you using?. >>>> >>>> gdalinfo --version can give you this info >>>> >>>> On Thu, Nov 12, 2015 at 5:33 PM, Timur Girgin <[email protected]> >>>> wrote: >>>> >>>>> I actually just realized that the error keeps changing... the build >>>>> target keeps changing! >>>>> >>>>> [ 64%] Built target otb6S >>>>> >>>>> Undefined symbols for architecture x86_64: >>>>> >>>>> "OGRFeature::IsFieldSet(int)", referenced from: >>>>> >>>>> otb::ogr::Field::UncheckedHasBeenSet() const in >>>>> otbOGRFieldWrapper.cxx.o >>>>> >>>>> otb::ogr::Field::UncheckedAssign(otb::ogr::Field const&) in >>>>> otbOGRFieldWrapper.cxx.o >>>>> >>>>> "OGRFeature::GetGeometryRef()", referenced from: >>>>> >>>>> otb::ogr::Feature::UncheckedGetGeometry() const in >>>>> otbOGRFeatureWrapper.cxx.o >>>>> >>>>> ld: symbol(s) not found for architecture x86_64 >>>>> >>>>> [ 64%] Built target OTBPointSet-all >>>>> >>>>> clang: error: linker command failed with exit code 1 (use -v to see >>>>> invocation) >>>>> >>>>> make[2]: *** [lib/libOTBGdalAdapters-5.0.1.dylib] Error 1 >>>>> >>>>> make[1]: *** [Modules/Adapters/GdalAdapters/src/CMakeFiles/ >>>>> OTBGdalAdapters.dir/all] Error 2 >>>>> >>>>> make[1]: *** Waiting for unfinished jobs.... >>>>> >>>>> [ 65%] Built target otbsiftfast >>>>> >>>>> [ 65%] Built target OTBDescriptors-all >>>>> >>>>> [ 65%] Built target OTBDimensionalityReduction-all >>>>> >>>>> make: *** [all] Error 2 >>>>> >>>>> or >>>>> >>>>> [ 49%] Built target OTBPointSet-all >>>>> >>>>> Undefined symbols for architecture x86_64: >>>>> >>>>> "OGRFeature::IsFieldSet(int)", referenced from: >>>>> >>>>> otb::ogr::Field::UncheckedHasBeenSet() const in >>>>> otbOGRFieldWrapper.cxx.o >>>>> >>>>> otb::ogr::Field::UncheckedAssign(otb::ogr::Field const&) in >>>>> otbOGRFieldWrapper.cxx.o >>>>> >>>>> "OGRFeature::GetGeometryRef()", referenced from: >>>>> >>>>> otb::ogr::Feature::UncheckedGetGeometry() const in >>>>> otbOGRFeatureWrapper.cxx.o >>>>> >>>>> ld: symbol(s) not found for architecture x86_64 >>>>> >>>>> [ 64%] Built target otb6S >>>>> >>>>> clang: error: linker command failed with exit code 1 (use -v to see >>>>> invocation) >>>>> >>>>> make[2]: *** [lib/libOTBGdalAdapters-5.0.1.dylib] Error 1 >>>>> >>>>> make[1]: *** [Modules/Adapters/GdalAdapters/src/CMakeFiles/ >>>>> OTBGdalAdapters.dir/all] Error 2 >>>>> >>>>> make[1]: *** Waiting for unfinished jobs.... >>>>> >>>>> [ 65%] Built target otbsiftfast >>>>> >>>>> [ 65%] Built target OTBDimensionalityReduction-all >>>>> >>>>> [ 65%] Built target OTBDescriptors-all >>>>> >>>>> >>>>> >>>>> >>>>> On Thursday, November 12, 2015 at 10:24:02 AM UTC-6, Timur Girgin >>>>> wrote: >>>>>> >>>>>> Let me just say that I got the latest OTB from the git repository >>>>>> (just as an fyi). >>>>>> >>>>>> Here is what I get when I run make: >>>>>> >>>>>> [ 64%] Built target OTBPointSet-all >>>>>> >>>>>> Undefined symbols for architecture x86_64: >>>>>> >>>>>> "OGRFeature::IsFieldSet(int)", referenced from: >>>>>> >>>>>> otb::ogr::Field::UncheckedHasBeenSet() const in >>>>>> otbOGRFieldWrapper.cxx.o >>>>>> >>>>>> otb::ogr::Field::UncheckedAssign(otb::ogr::Field const&) in >>>>>> otbOGRFieldWrapper.cxx.o >>>>>> >>>>>> "OGRFeature::GetGeometryRef()", referenced from: >>>>>> >>>>>> otb::ogr::Feature::UncheckedGetGeometry() const in >>>>>> otbOGRFeatureWrapper.cxx.o >>>>>> >>>>>> ld: symbol(s) not found for architecture x86_64 >>>>>> >>>>>> [ 65%] Built target otbsiftfast >>>>>> >>>>>> clang: error: linker command failed with exit code 1 (use -v to see >>>>>> invocation) >>>>>> >>>>>> make[2]: *** [lib/libOTBGdalAdapters-5.0.1.dylib] Error 1 >>>>>> >>>>>> make[1]: *** [Modules/Adapters/GdalAdapters/src/CMakeFiles/ >>>>>> OTBGdalAdapters.dir/all] Error 2 >>>>>> >>>>>> make[1]: *** Waiting for unfinished jobs.... >>>>>> >>>>>> [ 65%] Built target OTBDescriptors-all >>>>>> >>>>>> [ 65%] Built target OTBDimensionalityReduction-all >>>>>> >>>>>> [ 65%] Built target OTBMoments-all >>>>>> >>>>>> Thank you! >>>>>> Tim >>>>>> >>>>>> On Thursday, November 12, 2015 at 10:21:32 AM UTC-6, Rashad M wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, Nov 12, 2015 at 5:18 PM, Timur Girgin <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> Hello Rashad, >>>>>>>> >>>>>>>> I tried to build otb without the Superbuild, and that did not end >>>>>>>> well. I haven't tried the SuperBuild since my last posts a few weeks >>>>>>>> ago. >>>>>>>> >>>>>>>> okay. could you post the error message you are getting. please ? >>>>>>> >>>>>>>> Thanks! >>>>>>>> Tim >>>>>>>> >>>>>>>> On Thu, Nov 12, 2015 at 10:15 AM, Rashad M <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Nov 12, 2015 at 5:09 PM, Timur Girgin <[email protected] >>>>>>>>> > wrote: >>>>>>>>> >>>>>>>>>> Hello Rashad, >>>>>>>>>> >>>>>>>>>> I was just trying to get it to install on my laptop first. I >>>>>>>>>> would be glad to try and figure out how to create a brew formula >>>>>>>>>> once I get >>>>>>>>>> to install OTB 5.0 successfully on my laptop! >>>>>>>>>> >>>>>>>>> >>>>>>>>> okay. that is cool. >>>>>>>>> >>>>>>>>> can you tell me about where you are now in building OTB ? >>>>>>>>> >>>>>>>>>> >>>>>>>>>> Thank you! >>>>>>>>>> Tim >>>>>>>>>> >>>>>>>>>> On Thursday, November 12, 2015 at 3:32:15 AM UTC-6, Rashad M >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> Hi Tim, >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Wed, Nov 11, 2015 at 6:32 AM, Timur Girgin < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Did any of you successfully installed OTB on a mac yet? >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> yes. we had a daily build on mac osx on dashboard. IIRC, you >>>>>>>>>>> were trying to have a brew formula for OTB 5.0. right? >>>>>>>>>>> >>>>>>>>>>> Is the error same as in your first post? Did you tried without >>>>>>>>>>> superbuild ? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> ~Tim >>>>>>>>>>>> >>>>>>>>>>>> On Thursday, October 15, 2015 at 2:38:36 AM UTC-5, Rashad M >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Wed, Oct 14, 2015 at 7:29 PM, Timur Girgin < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Well, the homebrew community is trying to create a brew for >>>>>>>>>>>>>> OTB 5.0, but it came to a halt from what I understand. Someone >>>>>>>>>>>>>> did create a >>>>>>>>>>>>>> formula , but it just does not work. >>>>>>>>>>>>>> >>>>>>>>>>>>> in that case, let's make it work. >>>>>>>>>>>>> >>>>>>>>>>>>> AFAIK, osgeo4mac has the brew package for OTB 4.0. I guess >>>>>>>>>>>>> updating it to 5.0.0 is not that hard. >>>>>>>>>>>>> >>>>>>>>>>>>>> On Oct 14, 2015 11:59 AM, "Rashad M" <[email protected]> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Wed, Oct 14, 2015 at 5:50 PM, Timur Girgin < >>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I tried to figure that out for hours, and could not figure >>>>>>>>>>>>>>>> it out. I ended up installing OTB on my linux server. That >>>>>>>>>>>>>>>> literally took 2 >>>>>>>>>>>>>>>> command lines, and I was done installing. Mac's are hard to >>>>>>>>>>>>>>>> play with >>>>>>>>>>>>>>>> libraries apparently. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hmm.. maybe OTB also needs a nightly standalone package for >>>>>>>>>>>>>>> MacOS!. This way OSX users can have OTB in just two commands. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> @Thomas, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> just a silly question. did you also tried >>>>>>>>>>>>>>> export http_proxy=http://user:pass@proxyhost:port/ >>>>>>>>>>>>>>> export https_proxy=http://user:pass@proxyhost:port/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> https_proxy must be set but this can be same as http_proxy >>>>>>>>>>>>>>> value. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Tim >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Wednesday, October 14, 2015 at 3:54:33 AM UTC-5, Thomas >>>>>>>>>>>>>>>> Tilak wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> I have the same issue trying to compile OTB-5 with >>>>>>>>>>>>>>>>> SuperBuild. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> dyld: Library not loaded: /usr/lib/libsqlite3.dylib >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Referenced from: >>>>>>>>>>>>>>>>> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Reason: Incompatible library version: CFNetwork requires >>>>>>>>>>>>>>>>> version 9.0.0 or later, but libsqlite3.dylib provides version >>>>>>>>>>>>>>>>> 0.0.0 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> /bin/sh: line 1: 53984 Trace/BPT trap: 5 env >>>>>>>>>>>>>>>>> DYLD_LIBRARY_PATH=/Volumes/Iduna/dev/OTB-5.0.0/install/lib: >>>>>>>>>>>>>>>>> /usr/local/Cellar/cmake/3.2.1/bin/cmake >>>>>>>>>>>>>>>>> -C/Volumes/Iduna/dev/OTB-5.0.0/build/OTB/tmp/OTB-cache.cmake >>>>>>>>>>>>>>>>> "-GUnix >>>>>>>>>>>>>>>>> Makefiles" /Volumes/Iduna/dev/OTB-5.0.0/SuperBuild/.. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> make[2]: *** [OTB/src/OTB-stamp/OTB-configure] Error 133 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> make[1]: *** [CMakeFiles/OTB.dir/all] Error 2 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> make: *** [all] Error 2 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> When does OTB needs CFNetwork framework? I have several >>>>>>>>>>>>>>>>> libsqlite3.dylib on my machine, how could I force the >>>>>>>>>>>>>>>>> compilation to use a >>>>>>>>>>>>>>>>> specific one? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Check the OTB FAQ at >>>>>>>>>>>>>>>> http://www.orfeo-toolbox.org/FAQ.html >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> You received this message because you are subscribed t >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> </bl >>> >>> -- -- 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.
