I am now trying with the options you suggested.

And I did not put the -DCMAKE_CXX_FLAGS option in my cmake call. What is it 
for?

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] 
> <javascript:>> 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] 
>> <javascript:>> 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] <javascript:>> 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] 
>>>> <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
>>>
>>
>>
>>
>> -- 
>> 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.

Reply via email to