I use cmake to configure the VTK for Qt creator.
pop out such kind of error, what is the problem? how to solved it?
CMake Error at /opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
The imported target "Qt5::Gui" references the file
"Qt5Gui_EGL_LIBRARY-NOTFOUND"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake"
but not all the files it references.
Call Stack (most recent call first):
/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:31 (_qt5_Gui_check_file_exists)
/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:58 (_qt5gui_find_extra_libs)
/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:143 (include)
/opt/Qt/5.3/gcc_64/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:88 (find_package)
GUISupport/Qt/CMakeLists.txt:58 (find_package)
↧