I just added -DCMAKE_POLICY_VERSION_MINIMUM=3.5
to the cmake line. seems to work
Git Clone URL: | https://aur.archlinux.org/cutecom.git (read-only, click to copy) |
---|---|
Package Base: | cutecom |
Description: | A graphical serial terminal |
Upstream URL: | https://gitlab.com/cutecom/cutecom |
Keywords: | rs232 serial µC |
Licenses: | GPL-3.0-only |
Submitter: | noEntry |
Maintainer: | dviktor |
Last Packager: | dviktor |
Votes: | 39 |
Popularity: | 0.023651 |
First Submitted: | 2015-08-10 11:33 (UTC) |
Last Updated: | 2025-03-16 11:14 (UTC) |
I just added -DCMAKE_POLICY_VERSION_MINIMUM=3.5
to the cmake line. seems to work
I am getting the error below when building:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Also interesting: When starting the build again, I get this error:
==> Starting build()...
mkdir: cannot create directory 'build': File exists
==> ERROR: A failure occurred in build().
I have to delete the cache folder to fix the second error. But first one is still there.
@waltibaba can you please check and test fixed version?
Cutecom has Xmodem/Ymodem/Zmodem file sending, using hard-coded /usr/bin/<sx/sz/sb> paths, which have been the default binaries and paths for decades.
lrzsz was broken on 20230810 by removing /usr/bin/<sx/sz/sb/...> and renaming them to /usr/bin/lrzsz-<sx/sz/sb...>, see argument on the bugtracker.
Xmodem/Ymodem/Zmodem sending no longer works unless you manually symlink the renamed lrzsz binaries back again in /usr/bin or elsewhere in your $PATH.
@yjun done, thank you!
pls add aarch64 architecture, build pass and works fine on my Arch Linux ARM :)
Well done!
@Sabu should be fixed now
I've tried to build Cutecom but it fails with this error:
[ 74%] Building CXX object CMakeFiles/cutecom.dir/ctrlcharacterspopup.cpp.o
/var/tmp/pamac-build-sabu/cutecom/src/cutecom-v0.51.0
/ctrlcharacterspopup.cpp:145:18: error: field ‘m_borderPath’ has incomplete type ‘QPainterPath’
145 | QPainterPath m_borderPath;
| ^~~~~~~~~~~~
Is this a QT 5.15 issue?
Pinned Comments
dviktor commented on 2022-01-20 18:44 (UTC)
PKGBUILD
for this package is being maintained there. You can install pre-built packages from my repo