Boost logo

Ublas :

From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2008-08-25 08:29:52


Hi Hauke,

I can reproduce this behavior. However, I don't see why this behavior
should worry me. The test.exp file seems to contain only
"4_Init_locks_at_std@@QAEAAV01_at_ABV01@@Z" (sorry, I don't know how to
demangle symbols on Windows) and the test.lib is probably the
corresponding inline file.

Regards,
Thomas

-----Original Message-----
From: ublas-bounces_at_[hidden]
[mailto:ublas-bounces_at_[hidden]] On Behalf Of craven
Sent: Montag, 25. August 2008 13:03
To: ublas_at_[hidden]
Subject: [ublas] [Lapack Bindings] Strange linker result (i.e. not an
unresolved symbol issue)

Hi there,

I have a quick question and would really appreciate if somebody could
shed
some light on the issue.

While compiling one of my unit tests, I realized that besides my
executable
also a static lib and an exports lib file were created. Some of you may
regard this as an IDE and not uBlas or Lapack bindings specific problem
but
this strange behavior vanishes as soon as I remove the calls to the
Lapack
bindings.

To reproduce the issue I will quickly describe what I've been doing so
far:

1.) Created an empty console application under VS.Net 8.0.50727.762. No
precompiled headers no nothing - just a plain console project.

2.) I added the following main.cpp to the project

#define BIND_FORTRAN_LOWERCASE_UNDERSCORE

#include <boost/numeric/bindings/traits/ublas_matrix.hpp>
#include <boost/numeric/bindings/lapack/lapack.hpp>

int main(int argc, char* argv[]) {
  boost::numeric::ublas::matrix<double> a;
  boost::numeric::ublas::vector<double> s;
  boost::numeric::bindings::lapack::gesvd(a, s);
}

3.) After setting the proper linker parameters (all the lapack realted
libs), I just compiled.

I know, that the program does nothing. I removed everything that is not
of
interest. The result of the compilation is:

a) test.exe
b) test.lib
c) test.exp, test.pdb, test.ilk

I have no clue why the .exp and the .lib files are created. They are
useless.

So finally my question. Am I overseeing some pragma directive in the
boost
code that might cause this strange behavior or would is it an IDE bug I
am
experiencing?

Any help is aprreciated...

Regards,
Hauke

p.s. I am sorry, if this post occurs twice. I was having trouble with
the
registration.

-- 
View this message in context:
http://www.nabble.com/-Lapack-Bindings--Strange-linker-result-%28i.e.-no
t-an-unresolved-symbol-issue%29-tp19139328p19139328.html
Sent from the Boost - uBLAS mailing list archive at Nabble.com.
_______________________________________________
ublas mailing list
ublas_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/ublas