Skip to content

[Bug] Enabling USE_CPP_RPC and using cross compiler requires HEXAGON_SDK #10202

Description

@pfk-beta

When I try to build rpc_server binary, I have changed config.cmake:

sed -i 's/set(USE_CPP_RPC OFF)/set(USE_CPP_RPC ON)/g' config.cmake

And I'm getting following error:

-- Checking Hexagon SDK root: /path/to/sdk
CMake Error at cmake/modules/HexagonSDK.cmake:47 (message):
  Cannot validate Hexagon SDK in /path/to/sdk
Call Stack (most recent call first):
  apps/cpp_rpc/CMakeLists.txt:49 (find_hexagon_sdk_root)

--edit--
After some digging, I can see, than not only USE_CPP_RPC, but with CPP_RPC and cross compilers from NDK causes this error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions