简体   繁体   English

Linphone编译-配置:错误:无法运行C编译程序

[英]Linphone Compiling - configure: error: cannot run C compiled programs

I am trying to compile Linphone for windows but when I run "./configure --prefix=/opt/linphone --enable-shared --disable-static" I get an error message claiming that I cannot run C compiled programs. 我正在尝试为Windows编译Linphone,但是当我运行“ ./configure --prefix = / opt / linphone --enable-shared --disable-static”时,我收到一条错误消息,声称我无法运行C编译程序。

I am using Mingw on Windows 8, I have installed the C++ and C compilers and also the Mingw Developer Tools 我在Windows 8上使用Mingw,已经安装了C ++和C编译器以及Mingw开发人员工具

It appears to be a target mismatch error. 它似乎是目标不匹配错误。 Mingw32 binaries cannot be run on windows 32-bit kernel. Mingw32二进制文件不能在Windows 32位内核上运行。 You should try installing Mingw64 binaries. 您应该尝试安装Mingw64二进制文件。 Also try building from a linux or windows machine. 也可以尝试从linux或Windows计算机构建。 I had this issue which I resolved later by compiling on Mac. 我遇到了这个问题,后来通过在Mac上进行编译解决了。

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

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