I've been using the older Intel math library with a plugin just fine but when I try and use it in a standalone build, I get the "not a valid Win32 application" error.
In Introjucer, I add a line to the Extra Compiler Flags:
and also to Extra Linker Flags:
This is on WinXP and a VS2008 target (using Express).
Again, the method has been working fine with my VST build (DLL has to be in host directory of course) so my operation with the library is fine. It's just that the act of linking the lib when building an exe is producing an invalid exe.
I confirmed with a fresh build of the Juce Hello World project. exe runs when fresh, complains when I just add the above.