From: Bob C. <bo...@ie...> - 2000-10-02 13:21:05
|
On Mon, Oct 02, 2000 at 01:57:52AM -0700, Tom Heady wrote: > sp_signature.obj : error LNK2001: unresolved external symbol _rfftw_create_plan > sp_signature.obj : error LNK2001: unresolved external symbol _rfftw_destroy_plan > sp_signature.obj : error LNK2001: unresolved external symbol _rfftw_one > Debug/songprint.dll : fatal error LNK1120: 3 unresolved externals > Error executing link.exe. > > what does that mean and what should i do? That's the VC linker telling you that rfftw_* functions aren't exported in the fftw libs on Win32 (they are on Unix). As I'm not a windows guy, I'm not sure of the "right" fix, but this will get it to work: Edit rfftw/rfftw.h, find the prototypes for rfftw_one, rfftw_create_plan, and rfftw_destroy_plan. For each prototype (e.g. extern void foo()), rewrite them thus: extern _declspec(dllexport) void foo(); Rebuild the fftw libs and that should take care of it. -- Bob Copeland %%%%% bo...@ie... www.mindspring.com/~bobcopeland/ pgp: e-mail "pgp-key" in subject |