[Csnd-dev] Build regression on RPi?
Date | 2025-01-20 19:39 |
From | Dave Seidel |
Subject | [Csnd-dev] Build regression on RPi? |
Using the latest develop, I get the following error when I run cmake on my Raspberry Pi 4:
CMake Error at tests/c/CMakeLists.txt:3 (cmake_minimum_required): CMake 3.20 or higher is required. You are running version 3.18.4 Wasn't this fixed a while ago? I was able to build until very recently. CMakeLists.txt is checking the variable APPLE, which is apparently set on this system but should certainly not be. |
Date | 2025-01-20 19:50 |
From | vlz |
Subject | Re: [Csnd-dev] Build regression on RPi? |
If it's checking the variable APPLE then it is not going to work correctly. Prof. Victor Lazzarini Maynooth University Ireland > On 20 Jan 2025, at 19:39, Dave Seidel |
Date | 2025-01-20 19:53 |
From | Dave Seidel |
Subject | Re: [Csnd-dev] Build regression on RPi? |
On Mon, Jan 20, 2025 at 2:50 PM vlz <viclazzarini@gmail.com> wrote: If it's checking the variable APPLE then it is not going to work correctly. |
Date | 2025-01-20 19:54 |
From | Dave Seidel |
Subject | Re: [Csnd-dev] Build regression on RPi? |
On Mon, Jan 20, 2025 at 2:53 PM Dave Seidel <dave.seidel@gmail.com> wrote:
|
Date | 2025-01-20 20:04 |
From | vlz |
Subject | Re: [Csnd-dev] Build regression on RPi? |
That looks right to me. For Macs, use 3.28, elsewhere 3.13.4 What's the problem? Prof. Victor Lazzarini Maynooth University Ireland On 20 Jan 2025, at 19:53, Dave Seidel <dave.seidel@gmail.com> wrote:
|
Date | 2025-01-20 20:26 |
From | Dave Seidel |
Subject | Re: [Csnd-dev] Build regression on RPi? |
As shown in the error message at the top of this thread, it is complaining that I have 3.18.4 and asking for 3.20 or higher. So the version check is getting triggered improperly. On Mon, Jan 20, 2025 at 3:04 PM vlz <viclazzarini@gmail.com> wrote:
|
Date | 2025-01-20 20:33 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] Build regression on RPi? |
yes, but the script is asking for 3.13.4 if it's not APPLE. That should only be set on MacOS or iOS.
So that doesn't seem to be an issue with the script.
Prof. Victor Lazzarini
Maynooth University
Ireland
On 20 Jan 2025, at 20:27, Dave Seidel <dave.seidel@gmail.com> wrote:
|
Date | 2025-01-20 20:37 |
From | Dave Seidel |
Subject | Re: [Csnd-dev] [EXTERNAL] Re: [Csnd-dev] Build regression on RPi? |
So where is the error message coming from? I haven't altered any files, and I'm using the latest develop. On Mon, Jan 20, 2025 at 3:33 PM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote:
|
Date | 2025-01-20 20:39 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] Build regression on RPi? |
It's the tests cmake script I see. If you set the BUILD_TESTS=0 you won't get there I think: if(BUILD_TESTS) cmake_minimum_required(VERSION 3.20) Prof. Victor Lazzarini Maynooth University Ireland > On 20 Jan 2025, at 19:39, Dave Seidel |
Date | 2025-01-20 20:41 |
From | Dave Seidel |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] Build regression on RPi? |
Yes, you're right, that works. Sorry, I think I knew this at one point but forgot about it. On Mon, Jan 20, 2025 at 3:39 PM Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote: It's the tests cmake script I see. |