C/C++ Anyone with experience linking FFTW for C++

  • Thread starter Thread starter cppIStough
  • Start date Start date
  • Tags Tags
    C++
AI Thread Summary
The discussion centers on linking the FFTW library in a Visual Studio environment on Windows, where the user encounters a linker error. The user has configured the project settings to include the path to the FFTW3.lib file in the Linker settings and has added the necessary directories for includes and libraries. However, upon compiling, they receive a fatal linker error indicating that it cannot find a .obj file, specifically 'C:\external_libs\fftw-3.3.10\Release.obj'. The user expresses confusion over why the build process is looking for an .obj file instead of the expected .lib file, highlighting a difference in linking practices between Windows and Unix environments. The discussion seeks insights on resolving this linking issue with the FFTW library.
cppIStough
Messages
24
Reaction score
2
Title says it all, I'm trying to link FFTW and am getting a linker error. Anyone here have experience using this library?
 
Technology news on Phys.org
cppIStough said:
Title says it all,
All except the command you are using and the error message you get.
 
  • Love
  • Like
Likes FactChecker and pbuk
Vanadium 50 said:
All except the command you are using and the error message you get.
hahaha okay, fair enough, i just wanted to know if anyone had used it. Okay, so I'm using windows on visual studio. I configure the solution i'm currently trying to link with to include the path to the FFTW3.lib file: in order to do this I'm clicking properties > Linker > Input and then adding this directory in Additional Dependencies.
I also have this directory added to the VC++ Directories > Include Directories and Library Directories.

Then when I #include <fftw3.h> I receive the error:
Build started...
1>------ Build started: Project: signal.lib, Configuration: Release x64 ------
1>signal.lib.cpp
1>LINK : fatal error LNK1181: cannot open input file 'C:\external_libs\fftw-3.3.10\Release.obj'
1>Done building project "signal.lib.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 4:57 PM and took 01.500 seconds ==========

But I am not sure why it is looking for a .obj file. Any help? Below is a snippet of the directory I'm pointing to, and no .obj file there
1716066128400.png
 
I don't develop in Windows, but in unix, the command is different to link in foo.obj and foo.lib.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...
Back
Top