Hey Yuv

On Aug 2, 10:09 am, Yuval Levy <[email protected]> wrote:

> the current policy for the windows binary is to avoid DLHell and link
> statically.
>

That is a good policy with respect to many of the open source
libraries included in the Hugin code base, that tend to be in a
constant state of flux.  Building them along with Hugin is a sensible
defense against "version Hell".

It is not a good policy with respect to stable, standardized system
components such as GLUT.  Using DLLs for such things is absolutely
correct, and on Windows is actually more reliable as well as far
easier than trying to create equivalent static libraries.  Would you
suggest that we replace mingw10.dll with a static link library?  I
might point out that all "professional" versions of Unix (and even
Linux) make extensive use of dynamically linked shared libraries; so
does your web browser; so does Java....

I can remember when Windows really was "DLL Hell".  But that was a
very long time ago; now it would be more accurate to say Windows is
"static library Hell", as all the checks, balances, revlocks and
manifests Microsoft has set up since then (many to get DLL Hell under
control) now place a terrible burden on the static builder.  Building
DLLs is easy by comparison.

Deploying a specific DLL to support a specific program is just as
reliable as deploying any other executable: simply put it in your
product's executables directory.  Then your product will always link
to it, and no other product will ever see it.  MS had to rewrite a lot
of the Windows (NT 4.0) kernel to implement that sensible policy; but
now that it is in place, there is no more DLL Hell.

Cheers, Tom




I would suggest the following policy.  If you can get a prebuilt
standard DLL you need to run Hugin, from a reputable developer, use
that.  Build from source only when you wrote or modified the source.
--~--~---------~--~----~------------~-------~--~----~
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