Cannot Open Shared Object cygmpfr-1.dll

人走茶凉 提交于 2019-12-08 05:06:48

问题


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;
}

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:\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:\Dev\WinCE\Test>

What can I do?


回答1:


Install libmpfr1 package in cygwin.

Surranó



来源:https://stackoverflow.com/questions/2614020/cannot-open-shared-object-cygmpfr-1-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!