Skip to content

Build issue with cocotb #43

@zhongchengyong

Description

@zhongchengyong

When I compile the project in WSL, error occurs:
cocotb-config: error: unrecognized arguments: --prefix
cocotbvpi_icarus: Unable to find a 'cocotbvpi_icarus.vpi' module on the search path.

My cocotb-config version is 2.0.0, no '--prefix' option for this version.
The workaround for me is to modify the Makefile and specify the full path to cocotb/libs instead of using $(cocotb-config --prefix)/cocotb/libs.

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