Cmake looking for inexistent .lib files (mingw64 build)
-
Hi!
I'm trying to build my first test project using qt5 (built from source using mingw64, both a static and a shared library build) and cmake (version 2.8.12).
Build of the project fails with that message:@CMake Error at H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:15 (message):
The imported target "Qt5::Gui" references the file"H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/plugins/imageformats/qdds.lib"
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
"H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5Gui_QDDSPlugin.cmake"
but not all the files it references.
Call Stack (most recent call first):
H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:140 (_qt5_Gui_check_file_exists)
H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5Gui_QDDSPlugin.cmake:4 (_populate_Gui_plugin_properties)
H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:148 (include)
H:/Works/Cpp/UsvX/3party/qt-release-5.3.0/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:92 (find_package)
525/src/CMakeLists.txt:9 (find_package)@The missing file (qdds.lib) has not even been built on my setup, I did that search in both my build directories:
@find ./ -name *.lib@
Instead I have found a libqdds.a and a qddsd.dll.
Maybe the .lib files are only built with VisualStudio?
Anybody know how that is supposed to be fixed?
Thanks!
Davide
-