Closed hiccup7 closed 9 years ago
Could you edit the README directly on github or provide a PR. Much appreciated.
A better fix would be to actually test for that library name, instead of asking the user to rename it. See, e.g., https://github.com/JuliaLang/GZip.jl/blob/master/src/zlib_h.jl#L3-L4 or https://github.com/quinnj/ODBC.jl/blob/master/src/ODBC_Types.jl#L2-L20.
Doesn't the commit from an hour ago break OSX?
OS X counts as UNIX for the purpose of @unix_only
.
Would it be better to use the @windows ?
syntax instead so that Android/ARM and future additions gets the same library name as linux & OSX? Maybe Android/ARM count as UNIX too, but someday there may be a new OS that neither falls under @unix_only
nor @windows_only
, so the UNIX naming is potentially the best guess at a default.
I renamed my Windows dll back to the original name and tested the master branch. Works fine.
The @windows?
macros are implemented very hackily and likely to go away in the future.
For the best user experience, should probably set up BinDeps to download and extract the binaries to a package-private location and deal with the paths automatically.
I edited README.md directly on github, which is my first ever github commit. Since I only have experience with Windows, I didn't specify the extracted file extensions needed on other OS. It may not be important if users extract an unnecessary file or two. The important thing to me was to specify the file name in Windows, which is different than the previous README documentation, to avoid confusion. This completes the PR for me.
@tkelman , how about a separate PR for your suggestion so it doesn't get lost?
I don't see the PR.
Never mind. I see it committed.
1) For Windows, I found that I had to rename
yeppp.dll
from the zip distribution file tolibyeppp.dll
. Otherwise, Julia would not load it.2) I put
libyeppp.dll
in Julia's bin folder, which contains the other dll files used by Julia, and this worked fine. I think this folder would be the best folder to suggest to new Windows users.3) I think it would be helpful to new Windows users to know that Julia only needs the dll file, even though other files are also provided in the zip distribution under binaries.
4) README.md currently says that only
Vector{Float64}
arguments are supported, but the package now has more flexibility because it supportsArray{Float64}
arguments.