User forums > Help

Cannot find lib files to FFTW library in Codebblocs Windows

<< < (2/2)

poorva17:
To link an external library in Codeblocks on Windows

Example - FFTW library

1) Download the dll and def files
2) Generate .a and .lib files from the def files using dlltool -d somedll.def -l libsomedll.a and dlltool -d somedll.def -l libsomedll.lib
3) Go to Project->Build options->Linker Settings->Add path to your .a and .lib files
4)Go to Project->Build options->Search Directories->Compiler->Add path to your header file(fftw.h)
5)Go to Project->Build options->Search Directories->Add path to your libraries
In my case C:\Program Files (x86)\CodeBlocks\fftw-3.3.5-dll32

Done!!

Navigation

[0] Message Index

[*] Previous page

Go to full version