← Back to team overview

hugin-devs team mailing list archive

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

 

To answer bit by bit (as the compilation takes long):

Wrt the compilation error:
It turned out I had two config.h. Possbily due to my cross compiling actions for the hugin bundle, working on a "semi integration" in the hugin bundle for new binaries (e.g. enblend from trunk and multiblend), and the straight compilation for testing purposes.
I undid the patch, removed the build folder, did a make distclean in the main source folder.
Created a new build folder and ran "../configure etc" and then "make". It now functions OK.

I'm sorry for that. I should better separate my build environments.

1) The output up to the exception:
See attached log.

Further results will come due time.

** Attachment added: "log of enblend run of positioned images"
   https://bugs.launchpad.net/enblend/+bug/913146/+attachment/2668300/+files/enblend.log.bz2

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