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

Build failed : Linking CXX executable mixxx mold: error: undefined symbol: fftw_plan_dft_c2r_1d #13931

Open
kikoucalou opened this issue Nov 24, 2024 · 3 comments
Labels

Comments

@kikoucalou
Copy link

Bug Description

Build failed with :

[ 87%] Linking CXX executable mixxx
mold: error: undefined symbol: fftw_plan_dft_c2r_1d

referenced by fftadapter.cpp
lib/keyfinder-install/lib/libkeyfinder.a(fftadapter.cpp.o):(KeyFinder::InverseFftAdapter::InverseFftAdapter(unsigned int))
mold: error: undefined symbol: fftw_plan_dft_r2c_1d
referenced by fftadapter.cpp
lib/keyfinder-install/lib/libkeyfinder.a(fftadapter.cpp.o):(KeyFinder::FftAdapter::FftAdapter(unsigned int))
mold: error: undefined symbol: fftw_execute
referenced by fftadapter.cpp
lib/keyfinder-install/lib/libkeyfinder.a(fftadapter.cpp.o):(KeyFinder::FftAdapter::execute())>>> referenced by fftadapter.cpp
lib/keyfinder-install/lib/libkeyfinder.a(fftadapter.cpp.o):(KeyFinder::InverseFftAdapter::execute())
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/mixxx.dir/build.make:307 : mixxx] Erreur 1
gmake[1]: *** [CMakeFiles/Makefile2:319 : CMakeFiles/mixxx.dir/all] Erreur 2
gmake: *** [Makefile:166 : all] Erreur 2

Version

Development release

OS

Linux mint 22

@kikoucalou kikoucalou added the bug label Nov 24, 2024
@daschuer
Copy link
Member

Did you install "libfftw3-dev"?

@daschuer
Copy link
Member

Is this a duplicate of mixxxdj/libkeyfinder#25?

@kikoucalou
Copy link
Author

Sorry, yes it's a duplicate ...
Effectively removing completly fftw-dev and fftw2 does the trick.
It build and run nicely now on Linux mint 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants