Skip to content

Add zigmod.yml #1

@jitjack

Description

@jitjack

If you get the time, would it be possible to push your zigmod.yml (or add the various C lib folders as git submodules)?

E.g. from the ./rcutils/build.zig:

FileNotFoundError: [Errno 2] No such file or directory: '.zig-cache/o/e5340387779629e2f67de3091701691f/include/r
cutils/logging_macros.h'
error: the following command exited with error code 1:
cd ~/.cache/zig/p/N-V-__8AAOqPDQCP7E4N6LwRxUvQSKSZHzshqQi4Usv939E- && python3 -c import sys
for arg in sys.argv:
    if arg.startswith("-P"):
        sys.path.append(arg.lstrip("-P"))
import em
output = sys.argv[-1]
em.invoke(['-o', output, '-D', 'rcutils_module_path="./"', 'resource/logging_macros.h.em']) .zig-cache/o/e534038
7779629e2f67de3091701691f/include/rcutils/logging_macros.h 

Also, it's not a big deal, but maybe add an option to the root build.zig to pass system-python to zigros, so this doesn't have to be hardcoded, e.g.:

const zigros = ZigRos.init(b.dependency("zigros", .{
        .target = target,
        .optimize = optimize,
        .@"system-python" = true,
    })) orelse return;

Great project! I would love to be able to write ROS nodes in Zig :)

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