更新时间:2023-02-16 22:54:01
在链接器选项中,您不应该添加libxml2,而只能添加xml2。 Linux(所以文件)中的所有二进制库都有一个不是库名称的lib前缀。
In linker options, you should not add "libxml2", but just "xml2". All binary libraries in Linux (so files) have a "lib" prefix that is not a part of library name.