On 24 sep, 04:17, Yuval Levy <[email protected]> wrote:
> On September 23, 2010 10:03:32 am kfj wrote:
> > Having finally managed to build libpano and collateral software using
> > minGW and msys,
[...]
> AFAIK yours is the only recent success at building anything related to Hugin
> with MinGW.  More power to you.

Does building libpano13 using the mingw-cross-env cross building
environment [0] count? I've successfully built APSC for Windows from a
Ubuntu virtual machine last week. This required only very little
manual intervention:

libpano13:
- enable PPM support for MINGW target, to prevent linker errors later
on. This should probably go into Makefile.am, but I edited the already
generated Makefile.in instead, which was faster. Is there a reason why
PPM support was disabled in the first place?
- sys_win.h includes WINDOWSX.H (all uppercase), but the file is
called windowsx.h (all lowercase) when using mingw-cross-env. Not sure
if this is specific to mingw-cross-env.
- some tweaks specific to mingw-cross-env for file naming and usage of
tools, handled by mingw-cross-env.

APSC:
- manually edited the order of inclusion of libraries, since I
couldn't get (the cross build) GCC to work with the automatically
generated, but improper order. I don't know of any way to correct the
order using CMake? Of is there a GCC option I missed to instruct the
linker to search for symbols in all libs provided on the command line?

The PPM tweak for libpano13 is on its way into the mingw-cross-env
sources and will work with the current libpano13 release, the other
tweaks were already included. Probably it should be fixed in libpano13
itself though, and maybe also the uppercase/lowercase fix, is it's not
mingw-cross-env specific.

[0] http://mingw-cross-env.nongnu.org/#packages

--
Bart

-- 
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