Csound Csound-dev Csound-tekno Search About

[Csnd-dev] implicit declaration of function 'MYFLT2LRND64'

Date2023-04-08 21:55
FromHlöðver Sigurðsson
Subject[Csnd-dev] implicit declaration of function 'MYFLT2LRND64'
Attachments2023-04-08 22.41.31.png  
I encountered this error after pulling latest from develop branch
2023-04-08 22.41.31.png

It seems MYFLT2LRND64 is defined under the pre-processor conditions of:
USE_LRINT
and
USE_DOUBLE

But my macbook M1 doesn't seem to have it
[cmake] -- Looking for lrint
[cmake] -- Looking for lrint - not found

but it is certainly in math.h

this could be an issue in CMakeLists.txt

check_function_exists(lrint HAVE_LRINT)

not sure, I don't have a solution, but I can definitely work around this. Maybe there isn't an issue here either.

Date2023-04-08 23:29
FromVictor Lazzarini
SubjectRe: [Csnd-dev] [EXTERNAL] [Csnd-dev] implicit declaration of function 'MYFLT2LRND64'
Attachments2023-04-08 22.41.31.png  
I'll check my build, I have an M1 Mac and never has any issues.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 8 Apr 2023, at 21:57, Hlöðver Sigurðsson <hlolli@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.

I encountered this error after pulling latest from develop branch
<2023-04-08 22.41.31.png>


It seems MYFLT2LRND64 is defined under the pre-processor conditions of:
USE_LRINT
and
USE_DOUBLE

But my macbook M1 doesn't seem to have it
[cmake] -- Looking for lrint
[cmake] -- Looking for lrint - not found

but it is certainly in math.h

this could be an issue in CMakeLists.txt

check_function_exists(lrint HAVE_LRINT)

not sure, I don't have a solution, but I can definitely work around this. Maybe there isn't an issue here either.