Re: [gmx-users] help needed for using xdr library

2009-08-17 Thread Jussi Lehtola
On Mon, 2009-08-17 at 20:46 +0300, Jussi Lehtola wrote: > you need to use > > extern C { > #include > } Whoops, that should read extern "C" { -- -- Jussi Lehtola, FM, Tohtorikoulutettava Fysiikan laitos, Helsingin Yliopisto jussi.leht...@hels

Re: [gmx-users] help needed for using xdr library

2009-08-17 Thread Jussi Lehtola
On Mon, 2009-08-17 at 09:41 -0400, Kun Huang wrote: > Hello everyone: > > Recently I am trying to use the xdr library downloaded from gromacs > org to read xtc files. However when I link my program with the library > there is an error. When I ran the make test, all the tests were > passed. Thus I

[gmx-users] help needed for using xdr library

2009-08-17 Thread Kun Huang
Hello everyone: Recently I am trying to use the xdr library downloaded from gromacs org to read xtc files. However when I link my program with the library there is an error. When I ran the make test, all the tests were passed. Thus I think that the library should work just I don't know how to link