简体   繁体   English

在树莓派上执行c ++控制台应用程序

[英]executing c++ console application on raspberry pi

how to run a VS2015 c++ console application on raspberry pi 2. I installed mono, copied the .exe file and try to run it. 如何在raspberry pi 2上运行VS2015 c ++控制台应用程序。我安装了mono,复制了.exe文件并尝试运行它。 But it said "Cannot open assembly abc.exe: File does not contain a valid CIL image." 但是它说“无法打开程序集abc.exe:文件不包含有效的CIL映像。”

I am new to this method. 我是这种方法的新手。 I couldn't able to try with VisualGDB as my trail license got expired. 我的跟踪许可证已过期,因此我无法尝试使用VisualGDB。

Is this method correct? 这种方法正确吗?

As melak47 stated in the comments, mono is intended for C#, rather than native C++ executables. 正如melak47在评论中指出的那样, mono用于C#,而不是本机C ++可执行文件。 You may be interested in Wine , which is designed to run these native executables 您可能对Wine感兴趣, Wine旨在运行这些本机可执行文件

Link: https://www.winehq.org/ 链接: https//www.winehq.org/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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