Skip to content

CMake Error #13

@sarahhaha

Description

@sarahhaha

I am trying to build with cmake .. -DTAICHI_C_API_INSTALL_DIR="$env:TAICHI_REPO_DIR/build", but I am getting the following error.

CMake Error at CMakeLists.txt:50 (target_link_libraries):
Target "taichi_unity" links to:

Taichi::Runtime

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

I have tried with CMake Integration in VisualStudio 2022 as well but I'm still getting the same error. Is there anything I can look into?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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