Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

int64_t has not been decalred #1014

Open
ddgg-el opened this issue May 3, 2024 · 5 comments
Open

int64_t has not been decalred #1014

ddgg-el opened this issue May 3, 2024 · 5 comments

Comments

@ddgg-el
Copy link

ddgg-el commented May 3, 2024

Hello!

I am having problem compiling faust on MSYS2 MinGW64.

In file included from faust/compiler/interval/interval_algebra.hh:5,
                from faust/compiler/signals/interval.hh:30:
faust/compiler/FaustAlgebra/FaustAlgebra.hh:54:24: error: 'int64_t' has not been declared
  54 |     virtual T Int64Num(int64_t x)         = 0;
     |                        ^~~~~~~
faust/compiler/interval/interval_algebra.hh:17:23: error: 'int64_t' has not been declared
  17 |     interval Int64Num(int64_t x) override;
     |                       ^~~~~~~

Is there any dependency that I am not aware of?
Thank you!

@sletz
Copy link
Member

sletz commented May 3, 2024

Probably a missing header: that to add #include <cstdint>, probably to be added in FaustAlgebra.hh

Can you check and report ?

@ddgg-el
Copy link
Author

ddgg-el commented May 4, 2024

Including cstdint I can compile faust but when running

./build/bin/faust --version

results in a Segmentation fault.

@sletz
Copy link
Member

sletz commented May 4, 2024

Any log there ?

@ddgg-el
Copy link
Author

ddgg-el commented May 4, 2024

no but I'll keep investigating...I think that it is something related to this installation of MinGW. On another computer it works flawless. I don't even have to add the "missing" header

@sletz
Copy link
Member

sletz commented Jul 22, 2024

Does this commit few the crash issue 08cf4e9 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants