OK, it worked with the system Gdal!!

Now I just have to compile Monteverdi or it is already done?

Le mercredi 20 juillet 2016 11:40:55 UTC+2, Rashad M a écrit :
>
>
> Xdk is package with all dependencies.
>
> think of you superbuild of OTB without OTB!. That means all dependencies 
> expect glibc, compiler, and cmake is given to you.
>
> you just need OTB sources to get OTB without worrying about if there is 
> any of external libraries exist in you system or not.
>
> And you are right Software guide does not include this topic and is not a 
> mistake. it is in an experimental stage right now. Maybe after next one or 
> two releases we get them to be in a stable state and will be in SFG
>
> steps are very simple. It is in wiki
> http://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Linux
>
>
>
> On Wed, Jul 20, 2016 at 11:36 AM, Tugdual Ceillier <
> [email protected] <javascript:>> wrote:
>
>> OK, thanks! I'm now trying with system Gdal. If this does not work, I 
>> will try the 5.6 release.
>>
>> What is the OTB xdk? I've never come across the term in the Software 
>> Guide.
>>
>> Le mercredi 20 juillet 2016 11:18:03 UTC+2, Rashad M a écrit :
>>>
>>>
>>> Thanks. The issue is from gdal vs glibc. There is nothing much that 
>>> could be done here expect to try otb release-5.6 branch.
>>>
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1249703
>>>
>>> the fix in otb is to upgrade gdal version which was done in upcoming 
>>> release branch 5.6.
>>>
>>> so you could:
>>> - use release-5.6 branch of OTB and restart superbuild OR
>>> - use system version gdal and all its dependencies. be careful when to 
>>> turn off those from system.
>>>
>>>
>>> Plan B:
>>> you could also use OTB xdk if you are having a gcc  4.x compiler to save 
>>> time from compiling and building dependencies!
>>>
>>> On Wed, Jul 20, 2016 at 8:42 AM, Tugdual Ceillier <
>>> [email protected]> wrote:
>>>
>>>> I am sending another submission.
>>>>
>>>>
>>>> Le mardi 19 juillet 2016 18:00:47 UTC+2, Tugdual Ceillier a écrit :
>>>>>
>>>>> New issue!
>>>>>
>>>>> gdalserver.c: In function 'CreateSocketAndBindAndListen':
>>>>> gdalserver.c:124:21: error: storage size of 'sHints' isn't known
>>>>>      struct addrinfo sHints;
>>>>>
>>>>>
>>>>> Le mardi 19 juillet 2016 17:27:00 UTC+2, Rashad M a écrit :
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jul 19, 2016 at 5:25 PM, Tugdual Ceillier <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> I am now trying with the options you suggested.
>>>>>>>
>>>>>>
>>>>>> okay. will wait for it 
>>>>>>
>>>>>>>
>>>>>>> And I did not put the -DCMAKE_CXX_FLAGS option in my cmake call. 
>>>>>>> What is it for?
>>>>>>>
>>>>>> never mind. i saw in your build notes on dashboard and thought you 
>>>>>> might have added it.  
>>>>>>
>>>>>>>
>>>>>>> Le mardi 19 juillet 2016 16:43:50 UTC+2, Rashad M a écrit :
>>>>>>>>
>>>>>>>> btw, did you put this setting in your cmake call?
>>>>>>>>
>>>>>>>> -DCMAKE_CXX_FLAGS:STRING='-I/home/tugdual/soft/OTB/install/include '
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jul 19, 2016 at 4:40 PM, Rashad Kanavath <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> AFAICT, there is a mix of system vs superbuild. see here. This 
>>>>>>>>> does not look good. I would not recommend under normal circumstances 
>>>>>>>>> in 
>>>>>>>>> mixing system vs superbuild build.
>>>>>>>>>
>>>>>>>>> you are using OTB 5.4.0 release. so you should manually turn 
>>>>>>>>> system version of libs to OFF.
>>>>>>>>>
>>>>>>>>> for start re-run cmake with below options:
>>>>>>>>>
>>>>>>>>> -DUSE_SYSTEM_GDAL=OFF  
>>>>>>>>> -DUSE_SYSTEM_ITK=OFF
>>>>>>>>> -DUSE_SYSTEM_OPENCV=OFF 
>>>>>>>>>
>>>>>>>>> http://dash.orfeo-toolbox.org/buildSummary.php?buildid=237538
>>>>>>>>>
>>>>>>>>> hopefully that would fix the problem. 
>>>>>>>>>
>>>>>>>>> On Tue, Jul 19, 2016 at 4:35 PM, Rashad Kanavath <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> got it.. thanks.. 
>>>>>>>>>>
>>>>>>>>>> i will inform you as soon as I found something
>>>>>>>>>>
>>>>>>>>>> On Tue, Jul 19, 2016 at 4:34 PM, Tugdual Ceillier <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Wow, that took some time! Submission done, thanks.
>>>>>>>>>>>
>>>>>>>>>>> According to the output, I only have a bunch of errors at the 
>>>>>>>>>>> beginning and then everything's alright.
>>>>>>>>>>>
>>>>>>>>>>> Le mardi 19 juillet 2016 15:07:10 UTC+2, Rashad M a écrit :
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> you have to wait for it... So how you been? :) 
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jul 19, 2016 at 2:41 PM, Tugdual Ceillier <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> How can I send a submission to the otb dashboard?
>>>>>>>>>>>>>
>>>>>>>>>>>>> I ran the command you gave and it is still running.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Le mardi 19 juillet 2016 14:15:21 UTC+2, Rashad M a écrit :
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> can you send the a submission to otb dashboard
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> rom the build directory  run this command
>>>>>>>>>>>>>>  ctest -M Experimental -T Configure -T Build -T Submit -A 
>>>>>>>>>>>>>> CMakeCache.txt -A OTB/build/CMakeCache.txt
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Jul 19, 2016 at 2:08 PM, Tugdual Ceillier <
>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Tried. Same error :-(
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Le mardi 19 juillet 2016 09:07:19 UTC+2, Rashad M a écrit :
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, Jul 19, 2016 at 9:03 AM, Tugdual Ceillier <
>>>>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hello, OTB users!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'm trying to compile OTB and Monteverdi on Ubuntu 16.04 
>>>>>>>>>>>>>>>>> using the SuperBuild. Following the Software Guide, I used 
>>>>>>>>>>>>>>>>> the following 
>>>>>>>>>>>>>>>>> cmake command :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> after emptying your current build direcrtory can you run 
>>>>>>>>>>>>>>>> the command again without spaces after -D ?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> -D BUILD_TESTING=1  -> -DBUILD_TESTING=1. same for all -D 
>>>>>>>>>>>>>>>> options
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> cmake -D CMAKE_INSTALL_PREFIX=~/soft/OTB/install -D 
>>>>>>>>>>>>>>>>> BUILD_EXAMPLES=1 -D BUILD_TESTING=1 -D 
>>>>>>>>>>>>>>>>> OTB_BUILD_DEFAULT_MODULES=1 -D 
>>>>>>>>>>>>>>>>> OTB_WRAP_PYTHON=1 -D USE_SYSTEM_CURL=1 -D USE_SYSTEM_GDAL=1 
>>>>>>>>>>>>>>>>> -D 
>>>>>>>>>>>>>>>>> USE_SYSTEM_GEOTIFF=1 -D USE_SYSTEM_ITK=1 -D 
>>>>>>>>>>>>>>>>> USE_SYSTEM_OPENCV=1 -D 
>>>>>>>>>>>>>>>>> USE_SYSTEM_OPENTHREADS=1 -D USE_SYSTEM_PNG=1 -D 
>>>>>>>>>>>>>>>>> USE_SYSTEM_TINYXML=1 -D 
>>>>>>>>>>>>>>>>> ENABLE_MONTEVERDI=1 -D OTB_USE_QT4=1 -D OTB_USE_GLUT=1 -D 
>>>>>>>>>>>>>>>>> OTB_USE_GLFW=1 -D 
>>>>>>>>>>>>>>>>> OTB_USE_GLEW=1 -D OTB_USE_BOOST=1 -D OTB_USE_OPENCV=1 
>>>>>>>>>>>>>>>>> ../otb/SuperBuild
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> But then when I launch the make command, I end up getting 
>>>>>>>>>>>>>>>>> the following error :
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> [ 44%] Building CXX object 
>>>>>>>>>>>>>>>>> Modules/Learning/Supervised/src/CMakeFiles/OTBSupervised.dir/otbCvRTreesWrapper.cxx.o
>>>>>>>>>>>>>>>>> In file included from 
>>>>>>>>>>>>>>>>> /home/tugdual/soft/OTB/otb/Modules/Learning/Supervised/src/otbCvRTreesWrapper.cxx:18:0:
>>>>>>>>>>>>>>>>> /home/tugdual/soft/OTB/otb/Modules/Learning/Supervised/include/otbCvRTreesWrapper.h:33:1:
>>>>>>>>>>>>>>>>>  
>>>>>>>>>>>>>>>>> error: expected class-name before ‘{’ token
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I searched around a way to solve this problem but could 
>>>>>>>>>>>>>>>>> not find anything working. Has anyone got any idea how to get 
>>>>>>>>>>>>>>>>> rid of this 
>>>>>>>>>>>>>>>>> error ?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>>> 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" 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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Regards,
>>>>>>>>>    Rashad
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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" 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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.

Reply via email to