Hi allard

LAPACK is a FORTRAN package, and Microsoft does not support FORTRAN.
On Windows, you have to use CLAPACK, a C version generated largely by
automatic translation.  CLAPACK still acts like FORTRAN, though, so
you need several special headers and libraries to mediate between the
C and FORTRAN environments (you also have to get used to 1-origin
array indexing).  And you need a couple of "blas" libraries that
provide the low-level arithmetic routines on which LAPACK depends
(typically the blas codes are processor-specific, for speed, but there
are generic versions too).

And as with all Windows builds, you have to deal with the fact that
you need separate debug and release versions of every library, that
must have been built with the same compiler version that builds your
app.

So you would have to do a whole lot of preparative work before you
could build Hugin with LAPACK on Windows.  The resulting gain of
optimizer speed would be of little value, since stitching throughput
is hardly limited by the optimizer.

So in short, you will be much happier if you build without LAPACK.

Indeed, LAPACK should be removed from Hugin, as it offers only
trouble.  There are alternative hgih performance Levenberg-Marquardt
codes in C++ (for example at AlgLib) if one really needed to tune up
the optimizer.

-- Tom


On Jun 8, 4:00 am, allard <[email protected]> wrote:
> On Jun 8, 12:33 am, Lukáš Jirkovský <[email protected]> wrote:
>
> > 2009/6/8 allard <[email protected]>:
> > If you doesn't have lapack hugin will still build and work.
>
> My experience is different. Hugin will not build. This probably is
> because I don't know how to tell MSVC to ignore all the Lapack
> dependencies. On the other hand, I did download & install the Lapack
> source and libraries. If I can, I'd like to include Lapack. I have no
> clue whether the actions performed by the installer of Lapack are
> enough or if I need to manually compile some of that code too.
> The .sln file that came with Lapack does not work in my MSVC 2009.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to