[MacPorts] #38430: opencv: error: dispatch/dispatch.h: No such file or directory
MacPorts
noreply at macports.org
Mon Mar 18 21:43:28 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 egall@…):
Replying to [comment:2 ryandesign@…]:
> The relevant error seems to be:
> {{{
> :info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.4.4/modules/core/src/parallel.cpp:106:39:
error: dispatch/dispatch.h: No such file or directory
> }}}
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/
--
Ticket URL: <https://trac.macports.org/ticket/38430#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list