I'm calling the function ippsFFTInit_C_64fc() with a double pointer to IppsFFTSpec_C_64fc as one of the function parameters.
I'm facing this annoying warning - Warning LNK4248 unresolved typeref token (01000024) for 'FFTSpec_C_64fc'; image may not run.
I understand that I get this warning due to the fact that IppsFFTSpec_C_64fc is a typedef of struct FFTSpec_C_64fc (ipptypes.h) and struct FFTSpec_C_64fc has no definition.
How can I solve this issue so I won't get the waning?
Do you mean to disable the CLR?
If that's what you mean, so it didn't help.
BTW...another thing I forgot to mention, my code, where I call the function I mentioned above, is a managed code.
The definition of the struct 'FFTSpec_C_64fc' is provided in native module, because of this you see this warning in case of compilation with '\clr' compiler option.
"LNK4248 can occur when there is only a forward declaration for a type in an MSIL module (compiled with /clr), where the type is referenced in the MSIL module, and where the MSIL module is linked with a native module that has a definition for the type."
Please find detailed answer from Microsoft regarding this issue in this thread: