Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Build regression on RPi?

Date2025-01-20 19:39
FromDave 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.


Date2025-01-20 19:50
Fromvlz
SubjectRe: [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  wrote:
> 
> 
> 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.
> 

Date2025-01-20 19:53
FromDave Seidel
SubjectRe: [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.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 20 Jan 2025, at 19:39, Dave Seidel <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>

Date2025-01-20 19:54
FromDave Seidel
SubjectRe: [Csnd-dev] Build regression on RPi?

On Mon, Jan 20, 2025 at 2:53 PM Dave Seidel <dave.seidel@gmail.com> wrote:

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.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 20 Jan 2025, at 19:39, Dave Seidel <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>

Date2025-01-20 20:04
Fromvlz
SubjectRe: [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:


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.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 20 Jan 2025, at 19:39, Dave Seidel <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>

Date2025-01-20 20:26
FromDave Seidel
SubjectRe: [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:
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:


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.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 20 Jan 2025, at 19:39, Dave Seidel <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>

Date2025-01-20 20:33
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [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:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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:
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:


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.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 20 Jan 2025, at 19:39, Dave Seidel <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>

Date2025-01-20 20:37
FromDave Seidel
SubjectRe: [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:
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:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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:
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:


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.


Prof. Victor Lazzarini
Maynooth University
Ireland

> On 20 Jan 2025, at 19:39, Dave Seidel <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>

Date2025-01-20 20:39
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [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  wrote:
> 
> 
> 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.
> 

Date2025-01-20 20:41
FromDave Seidel
SubjectRe: [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.

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 <dave.seidel@gmail.com> wrote:
>
> 
> 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.
>