[MacPorts] #38430: opencv: error: dispatch/dispatch.h: No such file or directory

MacPorts noreply at macports.org
Mon Mar 18 21:54:06 PDT 2013


#38430: opencv: error: dispatch/dispatch.h: No such file or directory
---------------------------+--------------------------------
  Reporter:  amontinari@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  opencv        |
---------------------------+--------------------------------

Comment (by larryv@…):

 Replying to [comment:3 egall@…]:
 > That makes sense, considering that `dispatch/dispatch.h` is part of
 > Grand Central Dispatch, which was introduced in 10.6, and apparently
 > OP is only 10.5. I can think of two solutions: either prevent OpenCV
 > from building on 10.5, or create a port for `libdispatch` that runs on
 > 10.5. I actually already know of an implementation of `libdispatch`
 > that runs on 10.5: http://daagaak.github.com/WiganWallgate/

 Or patch it so it doesn’t try to use GCD.

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


More information about the macports-tickets mailing list