FFTW.NET icon indicating copy to clipboard operation
FFTW.NET copied to clipboard

Can't build in Visual Studio

Open thepunkduck opened this issue 4 years ago • 2 comments

This is probably a very silly question, but hopefully an equally quick fix.

I have downloaded the solution and have it open in Visual Studio.

I have successfully used NuGet to get the FFTW.NET package and have it working just great!

But, what I want to do is access the single precision versions in the same way, so I am trying to get it to compile on my machine and then extend it to use single precision.

I am attempting to follow this instruction:

Download the FFTW binaries ("libfftw3-3.dll") from http://www.fftw.org/download.html,
rename them to "libfftw3-3-x86.dll" and "libfftw3-3-x64.dll" and put them in your application directory.
FFTW.NET will automatically load the right one.
This is currently only tested for Windows, but it also should work on other platforms using Mono.
(Of course you would need the appropriate platform specific FFTW binaries.)

So, I have downloaded the 32 and 64 bit dll's from the FFTW site and have copied and renamed them.

I am unsure what the location of the "application directory" is. I've tried in: FFTW.NET\bin\Debug\netstandard1.3 FFTW.NET\bin\Debug
FFTW.NET\bin

but I always get errors like: 'FftwInterop' does not contain a definition for 'fftw_malloc' 'FftwInterop' does not contain a definition for 'fftw_free' Metadata file 'C:\Users\James\Downloads\FFTW.NET-master\FFTW.NET\bin\Debug\netstandard1.3\FFTW.NET.dll' could not be found

etc

hope you can help! Many thanks

thepunkduck avatar Feb 24 '21 22:02 thepunkduck

Did you ever solve this? I have the same problem

tpst avatar May 24 '22 23:05 tpst

The answer is here https://stackoverflow.com/questions/76591262/help-with-upgrading-fftw-net-wrapper-to-net7-net-core

tomdewilde avatar Nov 22 '23 15:11 tomdewilde