我连接的远程机器是64位,当我使用Visual C ++ for Linux Development为我的远程机器构建32位程序时,我收到了这个错误:
C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Application Type \ Linux \ 1.0 \ Linux.Common.targets(51,5):错误:当前项目架构&#39 ; 86'与远程系统架构不兼容' x64' (' 64&#39)。请将项目架构切换到' x64'在Configuration Manager中。
但是,当我使用g ++和-m32时,就完成了。
答案 0 :(得分:0)
Visual C ++ for Linux Development 1.0.5(及更早版本)非常关注匹配远程架构和项目目标。 VCLinux GitHub site上有一个问题可以解决。