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

Undefined reference to cdft in OouraFft.cpp File not found error in lib #60

Open
ecsschikane opened this issue Jul 13, 2016 · 1 comment

Comments

@ecsschikane
Copy link

OouraFft.cpp:-1: error: undefined reference to cdft' /usr/local/lib/libAquila.a(OouraFft.cpp.o):-1: In functionAquila::OouraFft::ifft(std::vectorstd::complex<double, std::allocatorstd::complex >, double*)':
OouraFft.cpp:-1: error: undefined reference to `cdft'

@AaronYeoh
Copy link

If you're not using cmake, you'll have to make sure you link the Ooura-fft library (located at aquila-src/lib/libOoura_fft.a after building). You can copy libOoura_fft.a to /usr/local/lib and link it by adding -lOoura_fft
http://stackoverflow.com/questions/22033417/undefined-reference-with-extern-c

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

No branches or pull requests

2 participants