c - Ubuntu libdispatch what to include -


i trying port gcd (grand central dispatch) application ubuntu , found libdispatch ubuntu package with

    apt-get install libdispatch0 

and appeared install correctly (running command dlocate libdispatch0 indicates exists). c header file use has

    #include <dispatch/dispatch.h> 

but when try compile using clang says dispatch/dispatch.h not found. i've been looking include use while now. using dlocate, found dispatch.hpp file,

    #include <dispatch/dispatch.hpp>  

didn't work either. doing dlocate gcd found gcd.h, but

   *include <gcd.h>  

didn't work either.

anybody work gcd on ubuntu?

the solution run

    apt-get install libdispatch-dev  

instead of libdispatch0, not include header files, man pages , want if want make programs use gcd. apparently libdispatch0 people want ubuntu use gcd internally.


Comments