运行命令gcc example.c -lvncserver -o example
,其中example.c
是显示的文件here ,出现错误 example.c:141:19: fatal error: radon.h: No such file or directory
。
我无法从 libvncserver
中找到有关 radon.h
的任何文档,也无法在线找到此问题。我犯了一个简单的(读作:愚蠢的)错误吗?
最佳答案
radon.h
不存在于 libvncserver 文档的示例目录或文件目录中,但存在于其 github 存储库中以供下载。只需下载此文件并将其存储在与 example.c
相同的目录中就足以进行编译。
https://github.com/LibVNC/libvncserver/blob/master/examples/radon.h
关于c - libvncserver - example.c 编译错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42966416/