Use precompiled DLLs on Windows #5
base: master
Are you sure you want to change the base?
Conversation
Doesn't like it. (The Travis failed checks are because I canceled those builds.) |
probably needs |
@tkelman Ah, good idea. I'll add that. I assume that won't help this error though?:
I assume that has something to do with the |
the colon in the filename is causing issues. did you build both 32 and 64 bit binaries in the same zip? |
oh yeah i don't think it can handle a raw dll properly. |
Hm. That's the URL that BinTray gave me. Are there alternative paths you can use on BinTray?
Nope. Do I use the
:( |
3b6f120
to
4eb2c22
Compare
provides(Homebrew.HB, "zstd", zstd, os=:Darwin) | ||
elseif is_windows() | ||
dlurl = "https://dl.bintray.com/ararslan/generic/libzstd-$(Sys.WORD_SIZE).zip" | ||
provides(Binaries, URI(dlurl), zstd, unpacked_dir=libdir(zstd), os=:Windows) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should make a usr/bin
in the zip files and put the dll there, then you shouldn't need to specify unpacked_dir
from what I remember the last time I tried setting unpacked_dir = "."
or otherwise empty it didn't go well
faa4793
to
f3cc608
Compare
Awesome, 64-bit Windows works!! The problem now is that 32-bit still does not, and it's not exactly clear why...
|
dlopen may have failed |
Doesn't |
not when called by bindeps, annoyingly |
Could something cryptic like this happen if I didn't do the cross-compiling for 32-bit Windows correctly? I used |
it may be missing a dependency. usually i use dependency walker to check for that when I'm on windows, not sure the best tool to use from the cross compiler system |
You mean Zstandard itself could be missing a dependency on 32-bit Windows? |
right. if I had to guess, it might need libgcc_s on 32 bit for some integer operation that wouldn't otherwise be provided in the 32 bit windows c runtime library |
though that should be available from julia, so maybe it's something else |
Lets see what AppVeyor has to say about this...