-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi,
I am trying to compile MorphoDig and I had the following issues.
First time, it produced the following error:
In file included from /home/promitheas/MorphoDig/MorphoDig/Helpers/vtkMDActor.cxx:6:0:
/home/promitheas/MorphoDig/MorphoDig/Qt/mqMorphoDigCore.h: At global scope:
/home/promitheas/MorphoDig/MorphoDig/Qt/mqMorphoDigCore.h:888:6: error: extra qualification ‘mqMorphoDigCore::’ on member ‘Already_Listed’ [-fpermissive]
int mqMorphoDigCore::Already_Listed(vtkIdType ve, vtkSmartPointer<vtkIdList> ptList);
^~~~~~~~~~~~~~~
MorphoDig/Helpers/CMakeFiles/MorphoDigHelpers.dir/build.make:134: recipe for target 'MorphoDig/Helpers/CMakeFiles/MorphoDigHelpers.dir/vtkMDActor.cxx.o' failed
make[2]: *** [MorphoDig/Helpers/CMakeFiles/MorphoDigHelpers.dir/vtkMDActor.cxx.o] Error 1
CMakeFiles/Makefile2:181: recipe for target 'MorphoDig/Helpers/CMakeFiles/MorphoDigHelpers.dir/all' failed
make[1]: *** [MorphoDig/Helpers/CMakeFiles/MorphoDigHelpers.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2Tracing the error to the file "mqMorphoDigCore.h", I removed the extra qualification which is not required for in-class definitions and changed line 888 from
int mqMorphoDigCore::Already_Listed(vtkIdType ve, vtkSmartPointer<vtkIdList> ptList);
to
int Already_Listed(vtkIdType ve, vtkSmartPointer<vtkIdList> ptList);
Compiling again went past that point but it eventually produced the following error...
In file included from /home/promitheas/MorphoDig/MorphoDig/Qt/mqDecomposeDialog.cxx:10:0:
/home/promitheas/build/MorphoDig/Qt/ui_mqDecomposeDialog.h: In member function ‘void Ui_mqDecomposeDialog::setupUi(QDialog*)’:
/home/promitheas/build/MorphoDig/Qt/ui_mqDecomposeDialog.h:81:54: error: ‘PlaceholderText’ is not a member of ‘QPalette’
palette.setBrush(QPalette::Active, QPalette::PlaceholderText, brush7);
^~~~~~~~~~~~~~~
/home/promitheas/build/MorphoDig/Qt/ui_mqDecomposeDialog.h:99:56: error: ‘PlaceholderText’ is not a member of ‘QPalette’
palette.setBrush(QPalette::Inactive, QPalette::PlaceholderText, brush8);
^~~~~~~~~~~~~~~
/home/promitheas/build/MorphoDig/Qt/ui_mqDecomposeDialog.h:117:56: error: ‘PlaceholderText’ is not a member of ‘QPalette’
palette.setBrush(QPalette::Disabled, QPalette::PlaceholderText, brush9);
^~~~~~~~~~~~~~~
...
...
...
In file included from /home/promitheas/MorphoDig/MorphoDig/Helpers/vtkMDActor.h:19:0,
from /home/promitheas/MorphoDig/MorphoDig/Helpers/vtkMDActorCollection.h:16,
from /home/promitheas/MorphoDig/MorphoDig/Qt/mqMorphoDigCore.h:20,
from /home/promitheas/MorphoDig/MorphoDig/Qt/mqDecomposeDialog.cxx:12:
/usr/local/include/vtk-8.2/vtkSmartPointer.h:248:17: note: candidate 2: std::ostream& operator<<(std::ostream&, const vtkSmartPointer<T>&) [with T = vtkActor; std::ostream = std::basic_ostream<char>]
inline ostream& operator << (ostream& os, const vtkSmartPointer<T>& p)
^~~~~~~~
MorphoDig/Qt/CMakeFiles/MorphoDigQt.dir/build.make:1130: recipe for target 'MorphoDig/Qt/CMakeFiles/MorphoDigQt.dir/mqDecomposeDialog.cxx.o' failed
make[2]: *** [MorphoDig/Qt/CMakeFiles/MorphoDigQt.dir/mqDecomposeDialog.cxx.o] Error 1
CMakeFiles/Makefile2:269: recipe for target 'MorphoDig/Qt/CMakeFiles/MorphoDigQt.dir/all' failed
make[1]: *** [MorphoDig/Qt/CMakeFiles/MorphoDigQt.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2which remains persistent even after updating to the latest QT5.14.2 version to avoid the previously reported issue with ‘PlaceholderText’ not being a member of the QPalette.
Any help how to successfully compile this software on linux would be highly appreciated, since I don't have any WinMS machine. And I really need to get some landmarks :)
Metadata
Metadata
Assignees
Labels
No labels