Search code examples
c++visual-studio-2005assemblyvisual-c++-2005sse2

SSE2 - "The system cannot execute the specified program"


I recently developed a Visual C++ console application which uses inline SSE2 instructions. It works fine on my computer, but when I tried it on another, it returns the following error:

The system cannot execute the specified program

Note that the program worked on the other computer before introducing the SSE2 code.

Any suggestions?

PS: It works when I compile the code on the other computer and run it. I think it has something to do with the manifest from what I've scrounged off the net.


Solution

  • Most likely the use of the SSE2 instructions is requiring a DLL which isn't present on the second system.

    Here's a blog entry on how to figure out exactly which one: How to Debug 'The System cannot Execute the specified program' message