Skip to content

objdiff 3 beta, wrong WSL path used? #170

@emoose

Description

@emoose

Hi, in objdiff 2.7 I can auto-build changes through WSL fine, but the 3.0 beta gives an error

wsl --cd /src/8/silent-hill-decomp -d Ubuntu -- make progress build/src/bodyprog/bodyprog.c.o
<3>WSL (135909 - Relay) ERROR: CreateProcessCommon:633: chdir(/src/8/silent-hill-decomp ) failed 2
make: *** No rule to make target 'progress'.  Stop.

In objdiff2.7 it would use

wsl --cd /mnt/c/src/8/silent-hill-decomp -d Ubuntu -- make progress build/src/bodyprog/bodyprog.c.o

and build changes fine, seems objdiff3 is missing the /mnt/c/ start to the path it gives to WSL?

Really I'm not sure if I'm using the WSL integration properly, this is with the repo on my Windows drive with WSL accessing it via /mnt/c/, but with that WSL2 does always complain about bad performance...

When I try changing it so that the repo is inside WSL & access it via \\wsl.localhost\Ubuntu... instead, neither objdiff version seems to build, even with that network path mapped to C:\wsl\

E: scratch that, \\wsl.localhost\ seems to work now, though doesn't look like it can detect file changes, maybe due to #121 - still, wonder why /mnt/c/ had stopped working.

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