← Back to team overview

hugin-devs team mailing list archive

[Bug 913146] Re: enblend trunk on MacOSX fails to compile on strerror_r declaration

 

The third pano with the patched enblend ended in error:

enblend: an exception occured
enblend: Minimizer1D::set_bracket: minimum not bracketed
enblend: info: remove invalid output image "enblend.jpg"

The Version 4 enblend blends this pano correctly. I don't know whether
my patch causes this or a recent development or my pano source images.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/913146

Title:
  enblend trunk on MacOSX fails to compile on strerror_r declaration

Status in Enblend:
  New

Bug description:
  hg sum
  parent: 767:bba98602023b tip
   Set for previous commit
  branch: default
  commit: 89 unknown (clean)
  update: (current)

  MacOSX 10.6.8 Intel : compilation of both 32bit Intel and 64bit intel
  version crash on:

  [ 42%] Building CXX object src/CMakeFiles/enblend.dir/error_message.o
  In file included from /Users/Shared/development/hugin_related/ExternalPrograms/enblend-hg/src/error_message.cc:31:
  /Users/Shared/development/hugin_related/ExternalPrograms/enblend-hg/src/error_message.h:29: error: new declaration ‘char* strerror_r(int, char*, size_t)’
  /usr/include/string.h:97: error: ambiguates old declaration ‘int strerror_r(int, char*, size_t)’
  /Users/Shared/development/hugin_related/ExternalPrograms/enblend-hg/src/error_message.cc: In function ‘std::string enblend::errorMessage(int)’:
  /Users/Shared/development/hugin_related/ExternalPrograms/enblend-hg/src/error_message.cc:57: error: invalid conversion from ‘int’ to ‘char*’
  make[2]: *** [src/CMakeFiles/enblend.dir/error_message.o] Error 1
  make[1]: *** [src/CMakeFiles/enblend.dir/all] Error 2
  make: *** [all] Error 2

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


References