-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation Error #336
Comments
hi @ngophuc , could you please be a bit more specific (os, system, complete cmake trace,...) ? |
e.g. are you sure to have DGtal built with qt5? |
If you ask me then I think she did not use Qt5 to compile DGtal, etc. @ngophuc is it correct that you have tried to compile DGtal and DGtalTools on OS X? |
I do compile with qt5 on mac os 13.3.4. |
I am on 13.3.5 and no pb, with an installation of qt without brew. Perhaps it is the cohabitation of qt4/qt5 since you said me that you have the two ;) |
I don't know if you are using a modern version of CMake (after 3.0) but now CMake is "Targets/Properties" philosophy.
you can specify where is your Qt version with : |
Qt5 is found correctly, it is related to qt5_use_modules |
Qt5 works perfectly on many linux/macos OS. Could you please be more specific on your config (and cut/paste the cmake trace) ? |
qt5_use_modules is for using Qt 5 with CMake older than 2.8.1. |
I'm using Cmake 3.11. Here are what I obtained when compiling the code -- Checking if DGtal is installed: -- Checking if doxygen/dot is installed: CMake Error at visualisation/CMakeLists.txt:67 (qt5_use_modules): -- Configuring incomplete, errors occurred! |
thanks @naubry so I think that we can remove the qt5_use_modules and update cmake since DGtal need cmake version at least 3.1, if you have already tested you can PR it ;) |
I got this error while compiling the tools :
CMake Error at visualisation/CMakeLists.txt:67 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
And the line 67 is
qt5_use_modules(sliceViewer Widgets OpenGL Xml)
The text was updated successfully, but these errors were encountered: