meson setup
fails on Windows with an absolute path for libdir on E:\ drive and is case sensitive for Windows drive
#6395
Labels
Describe the bug
I'm learning to use Meson following the tutorial (which for Windows requires quite a lot of additional research to get things to work - something to address another time)
I have python and Meson on the C:\ drive, source and libraries on E:. (E:\ is currently a USB drive if that's relevant.)
When trying to add a dependency to a library, I tried to set the libdir to the library location on E:\ with
meson setup build --libdir=E:/Documents/Coding/C/lib
(after anrm -rf build
) and got a python stack trace in response:This is possibly related to #3239
If I try the same instruction but with the libraries copied to the C:\ drive, I get the following response:
If I do the same again but with
$ meson setup build --libdir=c:/Documents/Coding/C/lib
(note the lowercasec
) I get the same response as for$ meson setup build
(i.e. it seems to work).(I'm aware that I should be setting the prefix argument to the "installation directory" but I'm not yet sure what that is)
Files To Reproduce
I don't think the contents of the files matters. These are as barebones as it gets.
main.c
meson.build
Expected behavior
I would expect Meson to show me an error message and a way to fix things (rather than a stack trace).
I would also expect Windows paths to be case insensitive or to be warned that they are case sensitive.
System Parameters
meson --version
=>0.52.1
ninja --version
=>1.9.0.git.kitware.dyndep-1.jobserver-1
Notes
Thanks for all your work on Meson, it looks it will be a useful tool once I've figured it out.
If I can provide any more information, do let me know.
The text was updated successfully, but these errors were encountered: