applewm.c:42:34: error: HIServices/Processes.h: No such file or directory

Colin Guthrie gmane at colin.guthr.ie
Sun Jul 19 06:47:54 PDT 2009


'Twas brillig, and Justin Mattock at 18/07/09 00:17 did gyre and gimble:
> Not sure if this is relevant but when compiling
> libAppleWM on a linux machine I receive this error:
> 
> applewm.c:42:34: error: HIServices/Processes.h: No such file or directory
> applewm.c: In function 'XAppleWMSendPSN':
> applewm.c:355: error: 'ProcessSerialNumber' undeclared (first use in
> this function)
> applewm.c:355: error: (Each undeclared identifier is reported only once
> applewm.c:355: error: for each function it appears in.)
> applewm.c:355: error: expected ';' before 'psn'
> applewm.c:356: error: 'OSErr' undeclared (first use in this function)
> applewm.c:356: error: expected ';' before 'err'
> applewm.c:362: error: 'err' undeclared (first use in this function)
> applewm.c:362: warning: implicit declaration of function 'GetCurrentProcess'
> applewm.c:362: warning: nested extern declaration of 'GetCurrentProcess'
> applewm.c:362: error: 'psn' undeclared (first use in this function)
> applewm.c:364: error: 'noErr' undeclared (first use in this function)
> make[2]: *** [libAppleWM_la-applewm.lo] Error 1
> 
> Should I even bother with this lib, or should
> I add some header to compile this lib in?

Oh, *that* was the error I saw too. I just posted a vaguer message about 
this problem.

I was questioning about the usefulness of this lib+proto on non-OSX 
systems too.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




More information about the xorg mailing list