无法打开共享对象cygmpfr-1.DLL [英] Cannot Open Shared Object cygmpfr-1.dll

查看:290
本文介绍了无法打开共享对象cygmpfr-1.DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我测试CeGCC,即建立一个gcc交叉编译应用程序到Windows CE设备。大家都做测试的编译器,我做了一个Hello World程序:

I'm testing CeGCC, that is a gcc built to cross-compile applications to Windows CE devices. As everyone do to test compilers, I've done a Hello World program:

#include <stdio.h>

int main()
{
    printf("Hello, World!");
  return 0;
}

由于我使用的是Windows现在(因为这是我的其他的笔记本电脑),我使用Cygwin。但是,当我试图编译我得到了一些错误,因为你可以在终端日志中看到:

As I'm using Windows now(because this is my other laptop), I'm using Cygwin. But when I tried to compile I got some errors, as you can see on the terminal log:

C:\\开发\\ WinCE的\\测试> ARM-mingw32ce-GCC test.c的结果
  /opt/mingw32ce/libexec/gcc/arm-mingw32ce/4.4.0/cc1.exe:错误而载入共享库:cygmpfr-1.DLL:无法打开共享对象文件:没有这样的文件或目录

C:\Dev\WinCE\Test>arm-mingw32ce-gcc test.c
/opt/mingw32ce/libexec/gcc/arm-mingw32ce/4.4.0/cc1.exe: error while loading shared libraries: cygmpfr-1.dll: cannot open shared object file: No such file or directory

C:\\开发\\ WinCE的\\测试>

C:\Dev\WinCE\Test>

我该怎么办?

推荐答案

在cygwin的安装包libmpfr1

Install libmpfr1 package in cygwin.

Surranó

这篇关于无法打开共享对象cygmpfr-1.DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆