jldopen(filename, "w";) will fail in win7
HongBinYu-hub opened this issue · 2 comments
HongBinYu-hub commented
Hello,
I'm having trouble using JLD2.
In the win7 operating system, jldopen(filename, "w") defaults to iotype = MmapIO, which will cause an error. But jldopen(filename, "w"; iotype = IOStream) can be written normally. And due to this error, win7 will not be able to precompile the JLD2 library.
data = Dict("key" => "value")
filename = "demo.jld2"
jldopen(filename, "w") do f
for (k, v) in pairs(data)
f[string(k)] = v
end
end
JonasIsensee commented
This should be fixed now, no?
HongBinYu-hub commented
This should be fixed now, no?
thanks a lot, On win7 system, this problem has been solved.