Building a project that uses Qt fails
Pierre Abbat
phma at leaf.dragonflybsd.org
Fri May 15 09:51:19 PDT 2020
I reinstalled packages git, cmake, qt5-core, qt5-gui, qt5-linguist, xorg, and
fftw3, which (except fftw3 which is optional) are required for building
Bezitopo. I then tried to build PerfectTIN, which is similar, and got errors.
One was from Qt and looks like this:
CMake Error at /usr/local/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake:4
(_populate_Gui_plugin_properties):
_populate_Gui_plugin_properties Macro invoked with incorrect arguments for
macro named: _populate_Gui_plugin_properties
Call Stack (most recent call first):
/usr/local/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:201 (include)
/usr/local/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
/usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
CMakeLists.txt:50 (find_package)
CMake Error at /usr/local/lib/cmake/Qt5Gui/Qt5Gui_QJp2Plugin.cmake:4
(_populate_Gui_plugin_properties):
_populate_Gui_plugin_properties Macro invoked with incorrect arguments for
macro named: _populate_Gui_plugin_properties
Call Stack (most recent call first):
/usr/local/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:201 (include)
/usr/local/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
/usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
CMakeLists.txt:50 (find_package)
The other is from pthread (PerfectTIN uses threads, which Bezitopo does not
yet) and is in the attached file.
I can tell which binaries in /usr/local/bin are left over from previous
packages whose package database was lost; they're for DragonFly 4.0.105,
5.0.500, or 5.0.601, instead of the current 5.0.900. But libraries in /usr/
local/lib do not have an ABI version (as far as I can tell with the file
command). How can I find these obsolete files and get rid of them?
Or is there another package I need to install? The repos are at https://
github.com/phma/perfecttin and https://github.com/phma/bezitopo if you'd like
to try building them.
PerfectTIN uses Boost, but can build without it.
Pierre
--
gau do li'i co'e kei do
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log
Type: text/x-log
Size: 5511 bytes
Desc: not available
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20200515/91a74c1a/attachment.bin>
More information about the Users
mailing list