Thanks for your reply. While I'm a complete newbie on Windows, my suspicion is
that this is a library issue. There are at least two possibilities:
1. Perhaps it's simply not finding the library. Any luck if you modify line 21
of HDF5/src/plain.jl and specify the full path to the HDF5 dll? (If you have a
dll, that is, see below.)
2. There's an incompatibility in the compiled versions of Julia and libhdf5.
If I understand correctly, on Windows julia is compiled with MinGW. The
download page for HDF5 lists versions built with several compilers, of which
the cygwin variants seem likely to be the closest match. I'm skeptical that
the VS (Visual Studio) version will work with julia.
I downloaded the cygwin variant, and there is no ".dll" version of the
library, just ".a" and ".la" files. It seems rather likely that these won't
work for us.
I'm currently guessing that we need to compile libhdf5 from source. With
MinGW? But won't that force everyone to have a development environment set up?
Or can we host our own binary somewhere?
Best,
--Tim
On Thursday, June 06, 2013 02:00:48 AM you wrote:
> Actually had some issues with this yesterday, and then gave up. I am using
> the pre-compiled binaries (pre0.2.0) and could not get it to work. I wanted
> to use the MAT package, but suspect that the HDF5 package is not working.
> Here is a copy of the output.
>
> _
> _ _ _(_)_ | A fresh approach to technical computing
> (_) | (_) (_) | Documentation:
http://docs.julialang.org
> _ _ _| |_ __ _ | Type "help()" to list help topics
>
> | | | | | | |/ _` | |
> | | |
> | | |_| | | | (_| | | Version 0.2.0
>
> _/ |\__'_|_|_|\__'_| | c42e3a6-WINNT-i686 (2013-05-28 19:39:07)
>
> |__/ |
>
> julia> Pkg.installed()
> ["Stats"=>v"0.2.1","Calculus"=>v"0.1.1","Distributions"=>v"0.1.3","Options"=
> >v"0
> .2.0","Optim"=>v"0.1.5","MAT"=>v"0.2.0","Zlib"=>v"0.0.0","HDF5"=>v"0.2.2"]
>
> julia> using MAT
> ERROR: could not load module libhdf5: no error
> at C:\Users\Thuis\AppData\Roaming\julia\packages\HDF5\src\plain.jl:21
> at C:\Users\Thuis\AppData\Roaming\julia\packages\HDF5\src\HDF5.jl:1
> at C:\Users\Thuis\AppData\Roaming\julia\packages\MAT\src\MAT_HDF5.jl:30
> at C:\Users\Thuis\AppData\Roaming\julia\packages\MAT\src\MAT.jl:25
>
> julia> using HDF5
>
> julia> using MAT
> Warning: replacing module MAT_HDF5
> ERROR: HDF5ReferenceObj not defined
> at C:\Users\Thuis\AppData\Roaming\julia\packages\MAT\src\MAT_HDF5.jl:37
> at C:\Users\Thuis\AppData\Roaming\julia\packages\MAT\src\MAT.jl:25
>
> julia>
>
>
> PS; I have installed the HDF5 precompiled binaries,(HDF5-1.8.11 Pre-built
> Binary Distributions)
> PS2; Somewhat of a beginner, so if I have missed or incorrectly interpreted
> some of the instructions, please enlighten me.