[Nexus-developers] HDF and Nexus on Cygwin for Muon data

Simon H Connell connell at schonlan.src.wits.ac.za
Sun Dec 4 21:46:21 GMT 2005


Dear Freddie,

I am installing Nexus on the latest cygwin release in XP ... following

http://www.sat.uni-bremen.de/arts/wiki/ArtsCygwin


to instal HDF ..... which seemed to work.

Installing Nexus from your link

http://www.neutron.anl.gov/pipermail/nexus-developers/2005/000612.html

also seemed to work.

The libraries are all sym-linked to /lib.

When I try to compile the test_nexus_reader.c, using
gcc -o test_nexus_reader test_nexus_reader.c nexus_reader.c libNeXus.a 
            -lmfhdf -ldf -lz -ljpeg

I get errors like

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libmfhdf.a(putget.o):putget.c:(.text+0x21f): 
undefined reference to `_xdr_opaque'
.....
collect2: ld returned 1 exit status

which makes me think I miss a library .....

Can you make a suggestion ?

Many thanks

Regards
Simon

-- 
===================================================================
Simon H Connell
Physics Department, University of the Witwatersrand
Johannesburg, PO WITS 2050, South Africa
phone (w)  : +27 11 351-7027
fax   (w)  : +27 11 351-7053
phone (h)  : +27 11 646-2910
cell       : +27 82 945-7508
e-mail     : connell at src.wits.ac.za
Institute  : http://www.src.wits.ac.za/
Group      : http://www.src.wits.ac.za/groups/psi
==================================================================


More information about the NeXus-developers mailing list