我正在尝试在CentOS上构建libopenmetaverse但是我收到以下错误。我不是这种开发人员,而是安装它供其他人使用。这只是构建失败的部分。有什么想法吗?
[nant] /opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build build
Buildfile: file:///opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
build:
[echo] Build Directory is /opt/libomv/bin
[csc] Compiling 15 files to '/opt/libomv/bin/WinGridProxy.exe'.
[resgen] Error: Invalid ResX input.
[resgen] Position: Line 2700, Column 5.
[resgen] Inner exception: An exception was thrown by the type initializer for System.Drawing.GDIPlus
BUILD FAILED
External Program Failed: /tmp/tmp5a71a509.tmp/resgen.exe (return code was 1)
Total time: 0.4 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 47 seconds.
Build Exit Code: 1
答案 0 :(得分:2)
您可能需要安装libgdiplus,或确保您的系统可以找到它。
答案 1 :(得分:1)
好的,不知道为什么,但安装libgdiplus-devel似乎解决了这个问题。