Linking with DLL's
Posted: Tue Dec 15, 2009 1:09 am
Hi, I'm pretty new to C still. I'm trying to make a DS app but I think my question still belongs here (hopefully.) I needed to use the fftw3 libraries for my project.
I downloaded the libraries and headers, which were .dll, .def, .h, and .f files. I can include the header fine, but when I try to compile I get undefined references to fftw3's functions.
I tried putting the .def's and .dll's into (devkitinstall)/libnds/lib/ to no avail. I converted the .dll's into .lib files and then from .lib to .a but that didn't work either. I have edited the makefile to link to fftw3-3 and the linker isn't complaining (it said it couldn't find the file at first when I mistyped fftw3 but no longer that error.) I'm thinking I must be doing something wrong at a more basic level since all these conversions of the libs seems unusual to me, but I don't really have a lot of experience.
I downloaded the libraries and headers, which were .dll, .def, .h, and .f files. I can include the header fine, but when I try to compile I get undefined references to fftw3's functions.
I tried putting the .def's and .dll's into (devkitinstall)/libnds/lib/ to no avail. I converted the .dll's into .lib files and then from .lib to .a but that didn't work either. I have edited the makefile to link to fftw3-3 and the linker isn't complaining (it said it couldn't find the file at first when I mistyped fftw3 but no longer that error.) I'm thinking I must be doing something wrong at a more basic level since all these conversions of the libs seems unusual to me, but I don't really have a lot of experience.