Giter Site home page Giter Site logo

symlinks and paths on windows about lilv HOT 3 CLOSED

x42 avatar x42 commented on August 28, 2024
symlinks and paths on windows

from lilv.

Comments (3)

x42 avatar x42 commented on August 28, 2024

PS. here's a cmd.com output of a failed symlink in an Ardour session (using a-fluidsynth)

lilv_symlink_bug

from lilv.

x42 avatar x42 commented on August 28, 2024

PS.
https://github.com/drobilla/lilv/blob/4b298e4c7fa74836d023726185dfb2325d675c51/src/util.c#L263
https://github.com/drobilla/lilv/blob/4b298e4c7fa74836d023726185dfb2325d675c51/src/util.c#L515
also hardcode slash.

After changing all four locations using LILV_DIR_SEP. Creating symlinks works properly IFF the host is running with Administrator Privileges (on Windows only admins can create symlinks).

Without admin privileges liblilv falls back to use hardlinks. That works only for the first step: The link to externals is created correctly if the file is on the same drive. However the 2nd hardlink from the plugin's state-folder to ..\..\..\externals\file fails with error 6 "Invalid handle".

from lilv.

drobilla avatar drobilla commented on August 28, 2024

Should be properly fixed as of 1ca6608 (actual fixes in various bits throughout the preceding 8 commits or so).

In the process I removed the symlink thing entirely and just use hard links there.

from lilv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.