简体   繁体   中英

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.

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

If you've built a debug version , a Release build might work on the other machine.

If not, you need to figure out which Microsoft Visual C++ Redistributable your program requires and install it on the other machine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM