From: Tom H. <son...@pu...> - 2000-10-04 00:52:28
|
ok i figured out the problem: i was not importing the rfftw libs into the fftw lib below is modified instructions on how to build it fftw: open up a new vc++ project file -> new -> projects tab -> win32 static library select a folder to build it into dont check anything when it asks you if you want to add additional libraries click project -> settings click on the c/c++ tab in the category select preprocessor and in additional include directories put in the paths to the fftw and rfftw subdirectories there should be a bunch of .c files in this directory. next select project -> add to project -> files browse to the fftw directory and select ALL the .c files then hit ok browse to the rfftw directory and select ALL the .c files then hit ok the select build -> and then build fftw.lib (fftw might be something different if you gave the project a different name) ok if you had no errors you now have a .lib file in a subdirectory of the project directory called debug. *********** REPLY SEPARATOR *********** On 10/2/2000 at 10:28 PM Mark Vicuna wrote: >Hi, > > Yes, that is the only thing you can do. We should also put Tom's description on >building the rfftw/glib stuff into the readme. > > Tom, Thanks for the descriptions. ::> > >Later, >MarkV. > >Bob Copeland wrote: > >> 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 >> _______________________________________________ >> Freetantrum-devel mailing list >> Fre...@li... >> http://lists.sourceforge.net/mailman/listinfo/freetantrum-devel > >_______________________________________________ >Freetantrum-devel mailing list >Fre...@li... >http://lists.sourceforge.net/mailman/listinfo/freetantrum-devel |