Solution transferred from
Http://www.cppblog.com/iCeSnaker/archive/2007/05/30/2321.html
My environment is vs2008. I want to try fftw today. h has a lot of content, and you still need to link it yourself, which is quite troublesome. Later, the official dll was used directly in anger. However, the official dll only has. def and. dll file, no corresponding. lib file. Run
Lib/def: libfftw3-3.def
Generate the corresponding. lib File
Search for lib.exe and find the location in
C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/
However, after executing the preceding command, the system prompts that mspdb80.dll cannot be found.
Solution:
1> copy the four Files directly from C:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/to VC/Bin /.
2> Add the system variable (Path). In this way, choose my computer> Properties> advanced> environment variable> system variable, and add C: /Program Files/Microsoft Visual Studio 9.0/Common7/IDE; note that the end is separated!
I followed the first method and successfully extracted the lib file. After configuring the lib file to the project, an error occurs during compilation,
Fatal error C1902: Program database manager mismatch; please check your installation
After the VC/Bin/mspdb80.dll is deleted, everything returns to normal.
I don't understand why Microsoft has made the tool so complicated.