Boost logo

Ublas :

Subject: Re: [ublas] lapack bindings - linker errors in windows but not linux
From: Peter Man (plwm2_at_[hidden])
Date: 2010-04-21 12:03:17


I just did a search of the library files for the "dgeqrf" symbol, and
others. I found that the library files on
my local winXP machine don't contain the symbols anywhere, whilst the
ones on the linux machine does.

The command which I used is:
"nm liblapack.a | grep dgeqrf"
and did the same for the other library files.

Presumably then my windows lapack installation was done incorrectly.
Would anyone know what the source
of this problem is? Or would this be better suited to asking Dr Whaley?


On 21/04/2010 16:20, Rutger ter Borg wrote:
> P.L.W. Man wrote:
>> Dear all,
>> I have a problem very similar to msg#00005 - I am using the numeric
>> bindings (v1) for lapack/atlas etc. I'm pretty much a newbie to
>> programming. My C++ program compiles (and links) perfectly on Fedora 12,
>> using g++. However, when I try to compile on windows (either using
>> Microsoft VS 9.0 or compiling directly using g++ in cygwin), it compiles
>> perfectly, but the following linker errors result:
> [snip]
>> I would be extremely grateful if someone could enlighten me as to what is
>> going on and how to solve it! I have already spent two whole days on this!
>> Perhaps I should just simply work on linux...
>> Peter
> Hello Peter,
> do you have a test program for us? What version of g++ is installed on
> cygwin (does it need f2c?)? Have you tried checking the library files for
> symbols, too?
> Cheers,
> Rutger
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> Sent to: plwm2_at_[hidden]

Peter Man                 University of Cambridge,
                           Department of Chemical Engineering
                           and Biotechnology,
Tel. +44 (0)1223 334786   Pembroke Street,
Fax. +44 (0)1223 334796   Cambridge CB2 3RA, UK
email: mailto:plwm2_at_[hidden]