← Back to team overview

hugin-bug-hunters team mailing list archive

[Bug 686480] Re: Building panotool with mingw.

 

With changeset c251644f9866 libipano can be compiled with mingw (CMake
build system)

** Changed in: panotools
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Hugin Bug
Hunters, which is subscribed to Panotools.
https://bugs.launchpad.net/bugs/686480

Title:
  Building panotool with mingw.

Status in Panorama Tools:
  Fix Committed

Bug description:
  Hello,
  I've been trying to build panotool with mingw under windows.

  with the last svn version (I also tested with the last beta released
  by Bruno Postle, the results were not much different.)

  ./configure --prefix=/mingw
  make

  But I am getting errors:

  of different kinds:

  One minor error about libpng,
  The generated Makefile searches for /mingw/lib/.libs/libpng.dll.a which is obviously wrong.
  I don't know if this comes from my mingw install (or libpng install), but it's minor anyway.

  Some undefined reference in ColourBrightness.c , fixed by compiling
  with -lwsock32.

  Some Undefined symbol presents:

  
  I see no implementation of it.

  Cannot export CreatePSD: symbol not defined
  => It was renamed to panoCreatePSD but it is still called by its old name in PTcommon.c

  Cannot export CreatePanorama: symbol not defined
  Cannot export FlattenTIFF: symbol not defined
  Cannot export ReplaceExt: symbol not defined
  => Seem defined/implemented in PTcommons.c/h 

  Cannot export VerifyTiffsAreCompatible: symbol not defined
  Cannot export AddStitchingMasks: symbol not defined
  => Seem defined in PTcommons.h but without Implementation.

  Cannot export TiffGetImageParameters: symbol not defined
  Cannot export TiffSetImageParameters: symbol not defined
  => Defined in pttiff.h but without Implementation.

  Cannot export makeTempPath: symbol not defined
  Cannot export readImage: symbol not defined
  Cannot export writeImage: symbol not defined
  => Defined in filter.h but without implementation.

  Cannot export DLLInit@12: symbol not defined
  Cannot export DispPrg@16: symbol not defined
  Cannot export InfoPrg@16: symbol not defined
  Cannot export SetWindowOwner: symbol not defined
  => Seem to be defined and implemented in sys_win.c / sys_win.h
  but the compilation compiles against sys_ansi.c/h, which don't contain them.

  There are also undefined references:

  _wndOwner
  _hDllInstance
  _SetWindowOwner
  _CenterDialog
  => Implemetned in sys_win.c / sys_win.h

  _panoPPMRead
  => implemented in ppm.c I don't know what the exact cause for this one.

  So here's the questions:

  Are those issues only showing with mingw and not with vc7? (or later)
  How does vc handles those?

  What to do of the sys_win.c / sys_win.h issues?

  Am I right in assuming that the various undefined symbols are not used
  or Am I missing something there?

To manage notifications about this bug go to:
https://bugs.launchpad.net/panotools/+bug/686480/+subscriptions