Open dsisnero opened 6 years ago
Any fix for this issue?
Hi all: My PR #3 to solve this problem has been merged. Try the latest commits.
in windows cmd:
>ridk exec pacman -S mingw-w64-x86_64-fftw
>git clone https://github.com/ruby-numo/numo-fftw.git
>cd numo-fftw
>gem build numo-fftw.gemspec
>gem install numo-fftw-0.1.1.gem
This has installed successfully, but now Lurn still does not work.
$ pacman -Ss mingw-w64-x86_64-fftw mingw64/mingw-w64-x86_64-fftw 3.3.7-1 [installed]
in windows cmd:
c:\Dominic\programming\ruby\try_numo>gem install numo-fftw Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... ERROR: Error installing numo-fftw: ERROR: Failed to build gem native extension.
c:/Dominic/rubies/Ruby25-x64/bin/ruby.exe -r ./siteconf20180417-19488-1ipt2ra.rb extconf.rb checking for numo/narray.h... yes checking for fftw3.h... yes checking for -lfftw3... yes creating Makefile
current directory: c:/Dominic/rubies/Ruby25-x64/lib/ruby/gems/2.5.0/gems/numo-fftw-0.1.1/ext/numo/fftw make "DESTDIR=" clean
current directory: c:/Dominic/rubies/Ruby25-x64/lib/ruby/gems/2.5.0/gems/numo-fftw-0.1.1/ext/numo/fftw make "DESTDIR=" generating fftw-x64-mingw32.def erb -T- fftw.erb.c > fftw.c compiling fftw.c linking shared-object numo/fftw.so fftw.o:fftw.c:(.text+0x9d): undefined reference to
nary_check_contiguous' fftw.o:fftw.c:(.text+0x12a): undefined reference to
nary_s_new_like' fftw.o:fftw.c:(.text+0x136): undefined reference tonary_get_pointer_for_read' fftw.o:fftw.c:(.text+0x141): undefined reference to
nary_get_pointer_for_write' fftw.o:fftw.c:(.text+0x1d8): undefined reference tonary_get_pointer_for_read_write' fftw.o:fftw.c:(.text+0x1f1): undefined reference to
nary_dup' fftw.o:fftw.c:(.text+0x37f): undefined reference tona_ndloop3' fftw.o:fftw.c:(.text+0x4dc): undefined reference to
na_ndloop3' fftw.o:fftw.c:(.text+0x623): undefined reference tona_ndloop3' fftw.o:fftw.c:(.rdata$.refptr.nary_eDimensionError[.refptr.nary_eDimensionError]+0x0): undefined reference to
nary_eDimensionError' fftw.o:fftw.c:(.rdata$.refptr.na_data_type[.refptr.na_data_type]+0x0): undefined reference tona_data_type' fftw.o:fftw.c:(.rdata$.refptr.numo_cDComplex[.refptr.numo_cDComplex]+0x0): undefined reference to
numo_cDComplex' collect2.exe: error: ld returned 1 exit status make: *** [Makefile:259: fftw.so] Error 1make failed, exit code 2
Gem files will remain installed in c:/Dominic/rubies/Ruby25-x64/lib/ruby/gems/2.5.0/gems/numo-fftw-0.1.1 for inspection. Results logged to c:/Dominic/rubies/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/numo-fftw-0.1.1/gem_make.out