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] 
> <javascript:>> 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 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 a topic 
>>>>>>>>>>>> in the Google Groups "otb-users" group.
>>>>>>>>>>>> To unsubscribe from this topic, visit 
>>>>>>>>>>>> https://groups.google.com/d/topic/otb-users/njAxuRFBZY8/unsubscribe
>>>>>>>>>>>> .
>>>>>>>>>>>> To unsubscribe from this group and all its topics, send an 
>>>>>>>>>>>> email to [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.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> 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.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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" grou
>>>>>>>
>>>>>>

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