On Thu, Apr 30, 2015 at 10:49 AM, Arnaud Durand <
[email protected]> wrote:

> Hi,
>
> I tried to compile Ice on Precise without success. I have a clean install
> of OTB 4.4 with internal ITK.
>
> The problem seems to be related with a reference to ITK.
>
> micmac@S75Linux:~/Prog/Ice/build$ make
> -- OTB found
> -- OpenGL found
> -- Glew found
> -- GLFW found
> -- Glut found
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/micmac/Prog/Ice/build
> Scanning dependencies of target OTBIce
> [  7%] Building CXX object Code/CMakeFiles/OTBIce.dir/otbGlActor.cxx.o
> In file included from /home/micmac/Prog/Ice/Ice/Code/otbGlActor.h:22:0,
>                  from /home/micmac/Prog/Ice/Ice/Code/otbGlActor.cxx:18:
> /home/micmac/Prog/Ice/Ice/Code/otbViewSettings.h:21:23: fatal error:
> itkObject.h: No such file or directory
> compilation terminated.
> make[2]: *** [Code/CMakeFiles/OTBIce.dir/otbGlActor.cxx.o] Error 1
> make[1]: *** [Code/CMakeFiles/OTBIce.dir/all] Error 2
> make: *** [all] Error 2
>
>
> I tried to add the path to ITK headers directly in the CMakeLists by using
> the "include_directories(..)" directive (dirty solution ?), it failed too,
> but with another message :
>



>
> micmac@S75Linux:~/Prog/Ice/build$ make
> -- OTB found
> -- OpenGL found
> -- Glew found
> -- GLFW found
> -- Glut found
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/micmac/Prog/Ice/build
> Scanning dependencies of target OTBIce
> [  7%] Building CXX object Code/CMakeFiles/OTBIce.dir/otbGlActor.cxx.o
> In file included from /home/micmac/Prog/Ice/Ice/Code/otbGlActor.h:22:0,
>                  from /home/micmac/Prog/Ice/Ice/Code/otbGlActor.cxx:18:
> /home/micmac/Prog/Ice/Ice/Code/otbViewSettings.h: In member function ‘void
> otb::ViewSettings::SetKeywordList(const KeywordListType&)’:
> /home/micmac/Prog/Ice/Ice/Code/otbViewSettings.h:108:25: error: no match
> for ‘operator==’ in 
> ‘((otb::ViewSettings*)this)->otb::ViewSettings::m_KeywordList
> == kwl’
> make[2]: *** [Code/CMakeFiles/OTBIce.dir/otbGlActor.cxx.o] Error 1
> make[1]: *** [Code/CMakeFiles/OTBIce.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
This error is due to recent commit in OTB trunk. As you are using OTB 4.4
you shouldn't use ice trunk. I suggest you try 0.2.0 version

update your ice sources to 0.2.0 tag and try a clean rebuild




> Thanks for any help.
>
> Arnaud
>
>  --
> --
> 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.

Reply via email to