[MacPorts] #40330: hugin-app: failure to compile when including boost headers

MacPorts noreply at macports.org
Sat Nov 9 06:59:41 PST 2013


#40330: hugin-app: failure to compile when including boost headers
------------------------------+--------------------------------
  Reporter:  mojca@…          |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  hugin-app boost  |
------------------------------+--------------------------------

Comment (by mojca@…):

 Interesting. I had exactly that line, but I was trying to set it to one. I
 upgraded boost to 1.55.0b1, set this value to zero and stumbled across an
 weird issue with `libtiff`:
 {{{
 In file included from
 /path/to/hugin-
 app/work/hugin-2013.0.0/src/hugin1/stitch_project/hugin_stitch_project.cpp:46:

 In file included from /opt/local/include/tiffio.h:33:
 /opt/local/include/tiff.h:78:23: error: typedef redefinition with
 different
 types ('unsigned long' vs 'uint64_t' (aka 'unsigned long long'))
 typedef TIFF_UINT64_T uint64;
                       ^
 //System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:53:18:
 note: previous definition is here
 typedef uint64_t uint64;
                  ^
 2 warnings and 1 error generated.
 }}}
 but after I manually fixed that one, Hugin.app compiled fine and it seems
 to work.

 Now, I'm not exactly sure which one of the two changes (upgrading boost or
 setting the value to 0) made the compilation possible, but it worked for
 me.

-- 
Ticket URL: <https://trac.macports.org/ticket/40330#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list