Washington-University / workbench

Connectome Workbench
http://www.humanconnectome.org/software/get-connectome-workbench.html
GNU General Public License v2.0
187 stars 62 forks source link

configure allows qwt5 while later you use qwt_series_data.h that is only installed by qwt6 #65

Open yurivict opened 2 years ago

yurivict commented 2 years ago

I have both of them installed:

$ pkg info | grep qwt
qwt5-qt5-5.2.3g20210209        Qt Widgets for Technical Applications
qwt6-qt5-6.1.6_1               Qt Widgets for Technical Applications

Configure picks qwt5:

Qwt:      Using Qwt Library qwt5-qt5Qt5PrintSupportQt5SvgQt5WidgetsQt5GuiQt5Core

and the build later fails:

In file included from /disk-samsung/freebsd-ports/biology/connectome-workbench/work/.build/GuiQt/moc_PlotMagnifier.cpp:10:
/disk-samsung/freebsd-ports/biology/connectome-workbench/work/.build/GuiQt/../../workbench-1.5.0-430-g1e6d5c5c9/src/GuiQt/PlotMagnifier.h:32:10: fatal error: 'qwt_series_data.h' file not found
#include "qwt_series_data.h"
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
johnvelab commented 2 years ago

We embed Qt version 6.1.2 in our source code so try to use qwt6-qt5-6.1.6_1.

From: @. @.> Date: Wednesday, July 6, 2022 at 4:47 PM To: Washington-University/workbench @.> Cc: Subscribed @.> Subject: [Washington-University/workbench] configure allows qwt5 while later you use qwt_series_data.h that is only installed by qwt6 (Issue #65)

I have both of them installed:

$ pkg info | grep qwt

qwt5-qt5-5.2.3g20210209 Qt Widgets for Technical Applications

qwt6-qt5-6.1.6_1 Qt Widgets for Technical Applications

Configure picks qwt5:

Qwt: Using Qwt Library qwt5-qt5Qt5PrintSupportQt5SvgQt5WidgetsQt5GuiQt5Core

and the build later fails:

In file included from /disk-samsung/freebsd-ports/biology/connectome-workbench/work/.build/GuiQt/moc_PlotMagnifier.cpp:10:

/disk-samsung/freebsd-ports/biology/connectome-workbench/work/.build/GuiQt/../../workbench-1.5.0-430-g1e6d5c5c9/src/GuiQt/PlotMagnifier.h:32:10: fatal error: 'qwt_series_data.h' file not found

include "qwt_series_data.h"

     ^~~~~~~~~~~~~~~~~~~

1 error generated.

— Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FWashington-University%2Fworkbench%2Fissues%2F65&data=05%7C01%7Cjharwell%40wustl.edu%7Ce9863b280e7e48a4918b08da5f99283f%7C4ccca3b571cd4e6d974b4d9beb96c6d6%7C0%7C0%7C637927408661777632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=eQgBubYo6UijIOgJi3YbAUY%2FGEJdgSpiPaOZeeAqNWQ%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAALSGXGCKHLDRCVQAPZWR23VSX5HXANCNFSM523H6HKQ&data=05%7C01%7Cjharwell%40wustl.edu%7Ce9863b280e7e48a4918b08da5f99283f%7C4ccca3b571cd4e6d974b4d9beb96c6d6%7C0%7C0%7C637927408661777632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Hf9sHxtSPKs6D6RNDXKPAGD6JXBOEPNgOzkkqkOMk00%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

yurivict commented 2 years ago

We embed Qt version 6.1.2 in our source code so try to use qwt6-qt5-6.1.6_1.

You should also fix configure to not accept external Qwt5.