This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[GUIDE] Ubuntu repository - maintained by djcj
Why not use "$HOME/.hybrid/vapoursynth" for the VS installation? I have "$HOME/bin" added to PATH and I try to avoid installing directories in there.

The following script works for me:
#!/bin/sh
scriptDir="$(dirname "$(readlink -f "$0")")"
env="$HOME/.hybrid/vapoursynth/env.sh"
if [ -f "$env" ]; then
  echo "sourcing $env"
  . "$env"
else
  echo "'$env' does not exist!"
fi
"$scriptDir/vsViewer" $*

Running ./Hybrid/vsViewer_withenv.sh --preview-only filedoesntexist.vpy gives me an error about "filedoesntexist.vpy" being missing and not "--preview-only".

By the way, now that I think about it I remember that you cannot set LD_LIBRARY_PATH in C/C++ using setenv() and then excpet the exec() functions to use that new path. But I can set a RUNPATH for the installed libraries, maybe that way vsViewer runs VS properly by only setting the PYTHONPATH.
Reply


Messages In This Thread
RE: Ubuntu repository - maintained by djcj - by blazin - 15.08.2017, 05:47
RE: Ubuntu repository - maintained by djcj - by alexander.haschka - 07.02.2018, 17:45
RE: Ubuntu repository - maintained by djcj - by alexander.haschka - 15.02.2018, 18:32
RE: Ubuntu repository - maintained by djcj - by alexander.haschka - 17.02.2018, 13:52
RE: Ubuntu repository - maintained by djcj - by alexander.haschka - 02.03.2018, 23:27
RE: Ubuntu repository - maintained by djcj - by AlvoErrado2 - 10.05.2019, 23:32
RE: Ubuntu repository - maintained by djcj - by djcj - 14.07.2019, 16:14
RE: Ubuntu repository - maintained by djcj - by 2160p - 30.08.2019, 03:37

Forum Jump:


Users browsing this thread: 8 Guest(s)