serial icon indicating copy to clipboard operation
serial copied to clipboard

The specified executable is not a valid application for this OS platform

Open frbitten opened this issue 2 years ago • 0 comments

I'm having the problem "The specified executable is not a valid application for this OS platform" when running a program that uses the library. I noticed that it only happens when the library is added as a dependency. If I remove it the problem disappears.

I'm using Cmake with MSBuild to compile the project. Does anyone have any suggestions as to what it could be? I have already checked that the exe is 64bit and the /clr is disabled.

frbitten avatar Nov 17 '23 11:11 frbitten