Yes, i was precisely going to report that I had installed qwt-5.2.3
and Monteverdi works fine.
Nevertheless, I think you really should change that requirement, as qwt-5*
is disappearing from the repos and according to
the qwt manual, qwt6 "It is compatible with Qt4 ( >= 4.4 ) and Qt5."
Agus


On Fri, Jan 15, 2016 at 10:51 AM, Stéphane ALBERT <otb.salb...@gmail.com> wrote:
> Hello Agustin,
>
> It seems you are trying to use QWT 6.x.y to compile Monteverdi.
> Unfortunately, Monteverdi is not compatible with this version and needs QWT
> 5.x.y.
>
>> set(QWT_INCLUDE_DIR "/usr/include/qwt-qt4" CACHE STRING "" FORCE)
>
> Changing qwt5-qt to qwt-qt does not seem to be a problem since it is only
> and include directory path. But...
>
>> set(QWT_LIBRARY "/usr/lib/libqwt.so.6" CACHE STRING "" FORCE)
>
> ...you should have /usr/lib/libqwt.so.5 or /usr/lib64/libqwt.so.5 here.
>
> If QWT 5.x is not available on your platform, you can download version 5.2.3
> from http://sourceforge.net/projects/qwt/files/qwt/5.2.3/ before compiling
> and installing it on your user account (somewhere like ${HOME}/local/).
> Then, you could configure your Monteverdi build to point to your local build
> of QWT 5.2.3 with something like:
> set(QWT_INCLUDE_DIR "$ENV{HOME}/local/include/qwt-qt4" CACHE STRING ""
> FORCE)
> set(QWT_LIBRARY "$ENV{HOME}/lib/libqwt.so.5" CACHE STRING "" FORCE)
>
> Regards,
>
> http://orfeo-toolbox.org
>
> Stéphane ALBERT
> Ingénieur d'études et développement
> Business Unit E-SPACE & Geo Information, Département APPLICATIONS
>
> CS Systèmes d'Information
> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
> 31506 Toulouse Cedex 05 - France
>
>
> On Thu, Jan 14, 2016 at 1:44 PM, Agustin Lobo <alobolis...@gmail.com> wrote:
>>
>> Not at all,
>> make ends with an error, Monteverdi is not built.
>> See the last part of my message
>> Agus
>>
>>
>> On Thu, Jan 14, 2016 at 1:38 PM, Poughon Victor <victor.poug...@cnes.fr>
>> wrote:
>> > Ok thanks Agustin we need to update those instructions. Is your
>> > monteverdi build working fine ?
>> >
>> > Victor Poughon
>> >
>> > ________________________________________
>> > De : otb-users@googlegroups.com [otb-users@googlegroups.com] de la part
>> > de Agustin Lobo [alobolis...@gmail.com]
>> > Envoyé : jeudi 14 janvier 2016 12:40
>> > À : otb-users@googlegroups.com
>> > Objet : [otb-users] Problems compiling Monteverdi on Debian
>> >
>> > Following
>> >
>> > https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech3.html#x17-260003
>> >
>> > I've installed ice with no problems.
>> > But then, I get these problems with monteverdi-configuration.cmake:
>> >
>> > I do not have /usr/include/qwt5-qt4
>> > I have /usr/include/qwt-qt4
>> >
>> > I do not have /usr/lib64/libqwt.so.5
>> > I have usr/lib/libqwt.so.6
>> > (apparently, cannot get qwt5 for my distribution any more)
>> >
>> > I've tried with a monteverdi-configuration.cmake file with the 2 last
>> > lines modified to
>> > set(QWT_INCLUDE_DIR "/usr/include/qwt-qt4" CACHE STRING "" FORCE)
>> > set(QWT_LIBRARY "/usr/lib/libqwt.so.6" CACHE STRING "" FORCE)
>> >
>> > make worked until the end:
>> >
>> > [ 93%] Linking CXX executable ../../../bin/mapla
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPicker::selectionFlags() const'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPlot::setCanvasBackground(QColor const&)'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPicker::setSelectionFlags(int)'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPicker::stateMachine(int) const'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPlotPicker::QwtPlotPicker(int, int, int, QwtPicker::RubberBand,
>> > QwtPicker::DisplayMode, QwtPlotCanvas*)'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPlotCurve::setData(double const*, double const*, int)'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPlotPicker::trackerText(QPointF const&) const'
>> > ../../../lib/libMonteverdi_Gui.so.3.1.0: undefined reference to
>> > `QwtPainter::drawLine(QPainter*, int, int, int, int)'
>> > collect2: error: ld returned 1 exit status
>> > Code/Application/Mapla/CMakeFiles/mapla.dir/build.make:344: recipe for
>> > target 'bin/mapla' failed
>> > make[2]: *** [bin/mapla] Error 1
>> > CMakeFiles/Makefile2:319: recipe for target
>> > 'Code/Application/Mapla/CMakeFiles/mapla.dir/all' failed
>> > make[1]: *** [Code/Application/Mapla/CMakeFiles/mapla.dir/all] Error 2
>> > Makefile:127: recipe for target 'all' failed
>> > make: *** [all] Error 2
>> >
>> > --
>> > --
>> > 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 otb-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > otb-users+unsubscr...@googlegroups.com
>> > 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 otb-users+unsubscr...@googlegroups.com.
>> > 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 otb-users@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > otb-users+unsubscr...@googlegroups.com
>> > 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 otb-users+unsubscr...@googlegroups.com.
>> > 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 otb-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> otb-users+unsubscr...@googlegroups.com
>> 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 otb-users+unsubscr...@googlegroups.com.
>> 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 otb-users@googlegroups.com
> To unsubscribe from this group, send email to
> otb-users+unsubscr...@googlegroups.com
> 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 otb-users+unsubscr...@googlegroups.com.
> 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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to