(Sorry, I misclicked...) Hello,
We chose to use QWT 5.x because QWT 6.x was not available on all platforms OTB was needed to compile and wanted Monteverdi to be available on all those platforms. The thing is that the QWT 6.x API is not compatible with the one of QWT 5.x because the author(s) had made some major design changes (e.g. classes removed and/or redesigned) So, I think that if we move to QWT 6.x, nearly whole the HistogramWidget component will have to be rewritten. 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 Mon, Jan 18, 2016 at 11:24 AM, Stéphane ALBERT <[email protected]> wrote: > Hello, > > We chose to use QWT 5.x because QWT 6.x was not available on all platforms > OTB was needed to compile and wanted Monteverdi to be available on all > platforms OTB w > > The thing is that the QWT 6.x API is not compatible with the one of QWT > 5.x because the author(s) had made some major design changes; > > 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 Fri, Jan 15, 2016 at 11:24 AM, Rashad Kanavath < > [email protected]> wrote: > >> >> Hello Agustin, >> >> On Fri, Jan 15, 2016 at 11:02 AM, Agustin Lobo <[email protected]> >> wrote: >> >>> 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." >>> >> >> Totally agreed that about the qwt5 stuff is out-dated already. >> >> But the change from qwt5 to v 6.0 or higher is not trivial. IIRC, there >> was a major api change. >> >> Agus >>> >> >> >>> >>> >>> On Fri, Jan 15, 2016 at 10:51 AM, Stéphane ALBERT <[email protected]> >>> 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 <[email protected]> >>> 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 < >>> [email protected]> >>> >> wrote: >>> >> > Ok thanks Agustin we need to update those instructions. Is your >>> >> > monteverdi build working fine ? >>> >> > >>> >> > Victor Poughon >>> >> > >>> >> > ________________________________________ >>> >> > De : [email protected] [[email protected]] de la >>> part >>> >> > de Agustin Lobo [[email protected]] >>> >> > Envoyé : jeudi 14 janvier 2016 12:40 >>> >> > À : [email protected] >>> >> > 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 [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. >>> >> > >>> >> > -- >>> >> > -- >>> >> > 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. >>> >> >>> >> -- >>> >> -- >>> >> 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. >>> > >>> > >>> > -- >>> > -- >>> > 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. >>> >>> -- >>> -- >>> 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. >> > > -- -- 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.
