mixxxdj / libkeyfinder

Musical key detection for digital audio, GPL v3
https://mixxxdj.github.io/libkeyfinder/
GNU General Public License v3.0
116 stars 23 forks source link

Compile issue on Debian 11 #25

Open improvethings opened 1 year ago

improvethings commented 1 year ago

[ 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 tofftw_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

daschuer commented 1 year ago

No idea. Is this issue still pending?

improvethings commented 1 year ago

yes, I still have not resolved.

daschuer commented 1 year ago

Please share the complete console output. With VERBOSE=1

kikoucalou commented 7 hours ago

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 /usr/bin/c++ "CMakeFiles/keyfinder-tests.dir/_testhelpers.cpp.o" "CMakeFiles/keyfinder-tests.dir/audiodatatest.cpp.o" "CMakeFiles/keyfinder-tests.dir/binodetest.cpp.o" "CMakeFiles/keyfinder-tests.dir/chromagramtest.cpp.o" "CMakeFiles/keyfinder-tests.dir/chromatransformtest.cpp.o" "CMakeFiles/keyfinder-tests.dir/chromatransformfactorytest.cpp.o" "CMakeFiles/keyfinder-tests.dir/constantstest.cpp.o" "CMakeFiles/keyfinder-tests.dir/downsamplershortcuttest.cpp.o" "CMakeFiles/keyfinder-tests.dir/fftadaptertest.cpp.o" "CMakeFiles/keyfinder-tests.dir/keyclassifiertest.cpp.o" "CMakeFiles/keyfinder-tests.dir/keyfindertest.cpp.o" "CMakeFiles/keyfinder-tests.dir/lowpassfiltertest.cpp.o" "CMakeFiles/keyfinder-tests.dir/lowpassfilterfactorytest.cpp.o" "CMakeFiles/keyfinder-tests.dir/spectrumanalysertest.cpp.o" "CMakeFiles/keyfinder-tests.dir/temporalwindowfactorytest.cpp.o" "CMakeFiles/keyfinder-tests.dir/toneprofilestest.cpp.o" "CMakeFiles/keyfinder-tests.dir/windowfunctiontest.cpp.o" "CMakeFiles/keyfinder-tests.dir/workspacetest.cpp.o" -o keyfinder-tests -Wl,-rpath,/mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/mixxx/libKeyFinder/build ../libkeyfinder.so.2.2.8 /usr/lib/libCatch2Main.a /usr/lib/libfftw.so /usr/lib/libCatch2.a /usr/bin/ld : ../libkeyfinder.so.2.2.8 : référence indéfinie vers « fftw_execute » /usr/bin/ld : ../libkeyfinder.so.2.2.8 : référence indéfinie vers « fftw_plan_dft_r2c_1d » /usr/bin/ld : ../libkeyfinder.so.2.2.8 : référence indéfinie vers « fftw_plan_dft_c2r_1d » collect2: error: ld returned 1 exit status gmake[2]: [tests/CMakeFiles/keyfinder-tests.dir/build.make:373 : tests/keyfinder-tests] Erreur 1 gmake[2] : on quitte le répertoire « /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/mixxx/libKeyFinder/build » gmake[1]: [CMakeFiles/Makefile2:882 : tests/CMakeFiles/keyfinder-tests.dir/all] Erreur 2 gmake[1] : on quitte le répertoire « /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/mixxx/libKeyFinder/build » gmake: *** [Makefile:146 : all] Erreur 2

kikoucalou commented 7 hours ago

dpkg -l | grep fftw ii cl-fftw3 1.0.2-1 all Common Lisp package for using the FFTW3 library ii fftw-dev 2.1.5-6build2 amd64 library for computing Fast Fourier Transforms ii fftw2 2.1.5-6build2 amd64 library for computing Fast Fourier Transforms ii libfftw3-bin 3.3.10-1ubuntu3 amd64 Library for computing Fast Fourier Transforms - Tools ii libfftw3-dev:amd64 3.3.10-1ubuntu3 amd64 Library for computing Fast Fourier Transforms - development ii libfftw3-double3:amd64 3.3.10-1ubuntu3 amd64 Library for computing Fast Fourier Transforms - Double precision ii libfftw3-long3:amd64 3.3.10-1ubuntu3 amd64 Library for computing Fast Fourier Transforms - Long precision ii libfftw3-mpi-dev:amd64 3.3.10-1ubuntu3 amd64 MPI Library for computing Fast Fourier Transforms - development ii libfftw3-mpi3:amd64 3.3.10-1ubuntu3 amd64 MPI Library for computing Fast Fourier Transforms ii libfftw3-quad3:amd64 3.3.10-1ubuntu3 amd64 Library for computing Fast Fourier Transforms - Quad precision ii libfftw3-single3:amd64 3.3.10-1ubuntu3 amd64 Library for computing Fast Fourier Transforms - Single precision ii python3-pyfftw 0.13.1-2build1 amd64 Pythonic wrapper around FFTW - Python 3