-
Notifications
You must be signed in to change notification settings - Fork 23
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
Compile issue on Debian 11 #25
Comments
No idea. Is this issue still pending? |
yes, I still have not resolved. |
Please share the complete console output. With |
Error look probably similar on linux mint 22 : libKeyFinder/build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/keyfinder-tests.dir/link.txt --verbose=1 |
dpkg -l | grep fftw |
You link to "/usr/lib/libfftw.so" but you need to link to "/usr/lib/libfftw3.so" maybe removing fftw-dev does the trick. |
A fix is here: #34 |
Effectively removing completly fftw-dev and fftw2 does the trick. Thanks |
[ 94%] Building CXX object tests/CMakeFiles/keyfinder-tests.dir/windowfunctiontest.cpp.o
[ 97%] Building CXX object tests/CMakeFiles/keyfinder-tests.dir/workspacetest.cpp.o
[100%] Linking CXX executable keyfinder-tests
/usr/bin/ld: ../libkeyfinder.so.2.2.7: undefined reference to
fftw_execute' /usr/bin/ld: ../libkeyfinder.so.2.2.7: undefined reference to
fftw_plan_dft_r2c_1d'/usr/bin/ld: ../libkeyfinder.so.2.2.7: undefined reference to `fftw_plan_dft_c2r_1d'
collect2: error: ld returned 1 exit status
gmake[2]: *** [tests/CMakeFiles/keyfinder-tests.dir/build.make:375: tests/keyfinder-tests] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:946: tests/CMakeFiles/keyfinder-tests.dir/all] Error 2
gmake: *** [Makefile:160: all] Error 2
$ dpkg -l | grep fftw
ii fftw-dev 2.1.5-4.2+b1 amd64 library for computing Fast Fourier Transforms
ii fftw2 2.1.5-4.2+b1 amd64 library for computing Fast Fourier Transforms
ii libfftw3-bin 3.3.8-2 amd64 Library for computing Fast Fourier Transforms - Tools
ii libfftw3-dev:amd64 3.3.8-2 amd64 Library for computing Fast Fourier Transforms - development
ii libfftw3-double3:amd64 3.3.8-2 amd64 Library for computing Fast Fourier Transforms - Double precision
ii libfftw3-long3:amd64 3.3.8-2 amd64 Library for computing Fast Fourier Transforms - Long precision
ii libfftw3-quad3:amd64 3.3.8-2 amd64 Library for computing Fast Fourier Transforms - Quad precision
ii libfftw3-single3:amd64 3.3.8-2 amd64 Library for computing Fast Fourier Transforms - Single precision
The text was updated successfully, but these errors were encountered: