【发布时间】:2016-03-13 19:57:54
【问题描述】:
所以当我尝试使用以下代码使用 png 配置 wine 时,我在 CentOS 7(64 位)服务器上遇到了这个问题(如下所示):
./configure --with-png
我需要它来运行名为 Mount & Blade Warband 的游戏的特定服务器。 因为当我运行服务器时,我得到了这个:
err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005
我看过这篇文章:
https://www.centos.org/forums/viewtopic.php?f=13&t=44897
他们说下面的代码应该修复它:
yum install glibc-devel.i686
但它没有,至少对我来说不是。我仍然一遍又一遍地收到以下错误:
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for ld... ld
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
【问题讨论】:
-
这篇文章可能对askubuntu.com/questions/123273/…有帮助
-
谢谢,但这不起作用