【发布时间】:2017-10-19 17:54:18
【问题描述】:
我有一个用 Red 语言编写的小型 GUI 程序,它运行得非常好,但不能为 Android 编译。我在 Debian Stable Linux 上使用以下命令(成功为 Windows 和 Mac 制作应用程序):
$ wine red-063.exe -c -r -t Android-x86 myapp.r
但我收到以下错误消息:
Target: Android-x86
Compiling to native code...
*** Warning: OS_TYPE macro in R/S is redefined
*** Compilation Error: invalid path value: image/encode
*** in file: %environment/codecs/png.red
*** in function: exec/ctx259~encode
*** at line: 1
*** near: [as cell! image/encode img where IMAGE_PNG]
如果我使用Android 而不是Android-x86,我会收到相同的错误消息。哪里有问题?
【问题讨论】: