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

Unable to require fftw.cr #3

Open
Vici37 opened this issue Jul 31, 2023 · 0 comments
Open

Unable to require fftw.cr #3

Vici37 opened this issue Jul 31, 2023 · 0 comments

Comments

@Vici37
Copy link

Vici37 commented Jul 31, 2023

Hello! Thanks for creating these bindings!

I don't know if you've used them in another project yet, or just created them for the fun of it. I've written my own implementation of FFT in crystal and was interested in benchmarking it against FFTW, but have run into an error whenever I require it due to this crystal compiler error: crystal-lang/crystal#8665 .

Essentially, the compiler is trying to treat the fftw.cr directory as a file when requiring things, and then fails when it discovers it's a directory.

Error: while requiring "[MY_TOP_LEVEL_REQUIRE_INCLUDING_FFTW.CR]"                                                              
Error: Error reading file: Is a directory

Creating an empty project that only includes this dependency triggers a full on compiler error 😬

Any suggestions on how to include these bindings correctly?

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

1 participant