Skip to content

linux build error (xcopy) #105

@throwaway-nolsh

Description

@throwaway-nolsh

hi, i wrote BuildLinux.sh some time ago and i thought it was time to update that (admittedly awful) script

i just tried building first though and interestingly, im getting a different error:

/home/nolsh/.github/CTR-Studio/CTR Studio/CTR Studio.csproj(190,5): error MSB3073: The command "xcopy ..\Plugins\CtrLibrary\bin\Debug\net6.0 bin\Debug\net6.0\Plugins\net6.0\ /E" exited with code 127.

this is not a BuildLinux.sh issue, but rather an incompatibility, as xcopy is a windows-only program

it gets called in the project build file CTR Studio.csproj, which makes CTR wholely not build on linux

please see #61 for someone else running into the same issue

WORKAROUND

use the prebuilt linux binary from here:
#85 (comment)
its under releases too so yeah

IMMEDIATE UPDATE

see this: #73
i DO NOT recommend to download the pre-compiled binaries from there as i dont know what might have been changed by the user (though no harsh feelings)
-> instead follow the steps they took below where they changed a line in the .csproj file and then compile

(will put this in the new BuildLinux.sh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions