|
From: Marco C. <PY...@ou...> - 2025-09-17 00:58:24
|
Hello, I attempted to compile the new source WSJTX 3.0.0-rc1 code as always I did so far, but now cmake is giving an error. This is the sequence of commands I alway launch (in this specific case I added the POLICY_VERSION=3.5): tar -xzvf /home/marco/Scaricati/wsjtx-3.0.0-rc1.tgz -C /home/marco/WSJT-X_build/build/ cd /home/marco/WSJT-X_build/build/wsjtx-3.0.0-rc1/ /usr/bin/cmake -Dhamlib_INCLUDE_DIRS=/usr/local/include \ -Dhamlib_LIBRARIES=/usr/local/lib64/libhamlib.so \ -Dhamlib_LIBRARY_DIRS=/usr/local/lib64 \ -DWSJT_GENERATE_DOCS=OFF \ -DWSJT_SKIP_MANPAGES=ON \ -DWSJT_QMAP=NO \ -Werror=deprecated-declarations \ -Wno-error \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_INSTALL_PREFIX=/home/marco/WSJT-X_build/.wsjtx . This is the answer of cmake: CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of 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. -- The C compiler identification is GNU 15.2.0 -- The CXX compiler identification is GNU 15.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.51.0") CMake Warning (dev) at /usr/share/cmake/Modules/ExternalProject/shared_internal_commands.cmake:1261 (message): The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is not set. The policy's OLD behavior will be used. When using a URL download, the timestamps of extracted files should preferably be that of the time of extraction, otherwise code that depends on the extracted contents might not be rebuilt if the URL changes. The OLD behavior preserves the timestamps from the archive instead, but this is usually not what you want. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue. Call Stack (most recent call first): /usr/share/cmake/Modules/ExternalProject.cmake:3080 (_ep_add_download_command) CMakeLists.txt:112 (ExternalProject_Add) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/cmake/Modules/ExternalProject/shared_internal_commands.cmake:1261 (message): The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is not set. The policy's OLD behavior will be used. When using a URL download, the timestamps of extracted files should preferably be that of the time of extraction, otherwise code that depends on the extracted contents might not be rebuilt if the URL changes. The OLD behavior preserves the timestamps from the archive instead, but this is usually not what you want. Update your project to the NEW behavior or specify the DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this robustness issue. Call Stack (most recent call first): /usr/share/cmake/Modules/ExternalProject.cmake:3080 (_ep_add_download_command) CMakeLists.txt:165 (ExternalProject_Add) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at CMakeLists.txt:199 (add_custom_target): The target name "install" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior. -- Configuring incomplete, errors occurred! marco@linux-turion64:~/WSJT-X_build/build/wsjtx-3.0.0-rc1> -DCMAKE_INSTALL_PREFIX=/home/marco/WSJT-X_build/.wsjtx . Could someone kindly clarify to me what I need to change, in order the code being compiled without error, please? Note: marco@linux-turion64:~/WSJT-X_build/build/wsjtx-3.0.0-rc1> cmake --version cmake version 4.1.1 TNX! --- *73 de Marco, PY1ZRJ (former IK5BCU)* ** Il 15/09/25 11:02, Joseph Taylor via wsjt-devel ha scritto: > Dear WSJT-X Users, > > The WSJT Development Team has been working hard to complete > preparation of /WSJT-X 3.0.0/, a major revision offering many new > features and capabilities. Many of the new features have already been > tested in /WSJT-X Improved 2.8.0/ and will be familiar to users of > that edition, while others are entirely new. > > For a full summary and overview of changes, see the new Release Notes > _https://wsjt.sourceforge.io/Release_Notes.txt > <https://wsjt.sourceforge.io/Release_Notes.txt>_ and Section 1.1 of > the WSJT-X User Guide > https://wsjt.sourceforge.io/wsjtx-doc/wsjtx-main-3.0.0-rc1.html#NEW_FEATURES > <https://wsjt.sourceforge.io/wsjtx-doc/wsjtx-main-3.0.0-rc1.html#NEW_FEATURES>. > > > Candidate release WSJT-X 3.0.0-RC1 is now available for download. > Candidate releases are intended for users interested in exercising the > new features and willing to provide feedback to the developers. > Direct links for downloading pre-built installation packages for > Windows, Linux, and macOS can be found on the WSJT-X web page: > _https://wsjt.sourceforge.io/wsjtx.html > <https://wsjt.sourceforge.io/wsjtx.html>_. For those who like to > compile from source, a complete source-code tarball is available there > as well. > > WSJT-X is licensed under the terms of Version 3 of the GNU General > Public License (GPL). Development of this software is a cooperative > project to which many amateur radio operators have contributed. If you > use our code, please have the courtesy to let us know about it. > > The authors and Copyright holders of WSJT-X request that derivative > works should not publish programs based on features in WSJT-X before > those features are made available in a General Availability (GA) > release of WSJT-X. We will cease making public Release Candidates if > this request is ignored. > > Feedback and bug reports should be sent to this email list or one of > the of the others mentioned here in the User Guide: > https://wsjt.sourceforge.io/wsjtx-doc/wsjtx-main-3.0.0-rc1.html#SUPPORT > <https://wsjt.sourceforge.io/wsjtx-doc/wsjtx-main-3.0.0-rc1.html#SUPPORT> . > > > > We hope you will enjoy using WSJT-X 3.0.0-RC1, and we look forward to > receiving your feedback. > > -- 73 from Joe, K1JT; Steve, K9AN; Nico, IV3NWV; Uwe, DG2YCB; Brian, > N9ADG; > > John, G4KLA; Charlie, DL3WDG; and > Roger, W3SZ. > > > |