Skip to content

cmake add_subdirectory 编译会导致grpc出错 #1860

@wellcomez

Description

@wellcomez

我很难描述
问题是用到了grpc库
编译后运行
ERROR: Something is wrong with flag 'grpc_experiments' in file 'home/z/dev/grpc/src/core/lib/config/config_vars.cc'. One possibility: file 'home/z/dev/grpc/src/core/lib/config/config_vars.cc' is being linked both statically and dynamically into this executable. e.g. some files listed as srcs to a test and also listed as srcs of some shared lib deps of the same test.

但是如果独立编译gmssl,装到系统目录再链接没有问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions