-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VIPSHOME misused/unsupported on Windows #232
Comments
AFAIK, On Windows, it's probably more appropriate to add the directory containing the libvips binaries to the On Linux, configuring the On macOS, although the |
Hallo @kleisauke!
I haven't seen this documented anywhere, and since
I did that first, but it didn't work, due to something unrelated, so I thought about being more explicit by setting
I had problems on macOS as well, this fixed it though (hopefully it works for others as well): But my main point is that we shouldn't leave the behaviour on Windows as "broken" or "undefined" - I don't have a strong opinion on which option to take, but we should be explicit about it IMO. |
+1 for this options. There are a few use cases where the library is in a specific folder, in my case, I have the portable precompiled binary from https://github.com/lovell/sharp-libvips |
How should
VIPSHOME
be configured on Windows?The Windows download contains a
bin
and alib
subdirectory, however the library itself (libvips-42.dll
) is in thebin
.Assuming I downloaded the package to
C:\vips
,VIPSHOME=C:\vips
, the library will be searched inC:\vips\lib
- the path exists, but the library doesn'tVIPSHOME=C:\vips\bin
, the library will be searched inC:\vips\bin\lib
, which doesn't existI see the following options:
VIPSHOME
as a potential library location (without a platform check; might be useful to other platforms, not just Window):The text was updated successfully, but these errors were encountered: