I have build the HDF without Fortran support under Cygwin (used configure, make, make install).
If I compile my program and the linker command comes up, an error is occured:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: library/build_release/hdf/1.8.10/lib/libhdf5_cpp.a(H5CommonFG.o): bad reloc address 0x4 in section `.rdata$_ZTVN2H58CommonFGE[vtable for H5::CommonFG]'
I have tested HDF 1.8.9 & 1.8.10. How can I fix this problem?
Is there a reason you can't use the existing Cygwin HDF5 1.8.9 port? You
might want to contact the Cygwin maintainer whose name appears in the
Cygwin library docs.
I have build the HDF without Fortran support under Cygwin (used configure,
make, make install).
If I compile my program and the linker command comes up, an error is
occured:
/usr/lib/gcc/i686-pc-cygwin/4.**5.3/../../../../i686-pc-**cygwin/bin/ld:
library/build_release/hdf/1.8.**10/lib/libhdf5_cpp.a(**H5CommonFG.o): bad
reloc address 0x4 in section `.rdata$_ZTVN2H58CommonFGE[**vtable for
H5::CommonFG]'
I have tested HDF 1.8.9 & 1.8.10. How can I fix this problem?
Also, is the HDF5 library in a location where it can be found at run time?
The default directory for make install is a subdirectory named 'hdf5'
under the build directory, which is probably not searched at run time.
I'm not all that familiar with cygwin, but that's the first thing I'd look
into.
Dana
···
On Thu, Nov 22, 2012 at 12:05 PM, George N. White III <gnwiii@gmail.com>wrote:
Is there a reason you can't use the existing Cygwin HDF5 1.8.9 port? You
might want to contact the Cygwin maintainer whose name appears in the
Cygwin library docs.
I have build the HDF without Fortran support under Cygwin (used
configure, make, make install).
If I compile my program and the linker command comes up, an error is
occured:
/usr/lib/gcc/i686-pc-cygwin/4.**5.3/../../../../i686-pc-**cygwin/bin/ld:
library/build_release/hdf/1.8.**10/lib/libhdf5_cpp.a(**H5CommonFG.o):
bad reloc address 0x4 in section `.rdata$_ZTVN2H58CommonFGE[**vtable for
H5::CommonFG]'
I have tested HDF 1.8.9 & 1.8.10. How can I fix this problem?
Yes ist can be found on runtime. Equal build on Linux & OSX & MSYS works. Only Cygwin build create a problem
···
On 2012-11-22 19:09:33 +0100, Dana Robinson said:
Hi,
Also, is the HDF5 library in a location where it can be found at run time? �The default directory for make install is a subdirectory named 'hdf5' under the build directory, which is probably not searched at run time.
if you are looking for suggestion on how to build for cygwin,
the source package available from cygwin setup.exe
can give you some hints.
Marco
···
On 11/22/2012 10:25 PM, Philipp Kraus wrote:
On 2012-11-22 19:09:33 +0100, Dana Robinson said:
Hi,
Also, is the HDF5 library in a location where it can be found at run
time? The default directory for make install is a subdirectory named
'hdf5' under the build directory, which is probably not searched at
run time.
Yes ist can be found on runtime. Equal build on Linux & OSX & MSYS
works. Only Cygwin build create a problem
My buildprocess supports both, I can use the cygwin package and
a self compiled package, so I try to fix the self-compiled build process *g*
Phil
···
Am 22.11.2012 um 23:19 schrieb marco atzeri:
On 11/22/2012 10:25 PM, Philipp Kraus wrote:
On 2012-11-22 19:09:33 +0100, Dana Robinson said:
Hi,
Also, is the HDF5 library in a location where it can be found at run
time? The default directory for make install is a subdirectory named
'hdf5' under the build directory, which is probably not searched at
run time.
Yes ist can be found on runtime. Equal build on Linux & OSX & MSYS
works. Only Cygwin build create a problem
any specific reason to no use the packages already available ?