[Openmcl-devel] Building the ApplicationServices framework

Didier Verna didier at lrde.epita.fr
Fri Jun 27 01:30:17 PDT 2008


[ my original reply is blocked because it's too large (I included a log
  file), so here is the short version ]

Gary Byers <gb at clozure.com> wrote:

> I just built  ApplicationServices.ffi, using the apple-gcc-5465 based
> ffigen and the enclosed
>
> ccl/darwin-x86-headers64/applicationservices/C/populate.sh
>
> script.

Still no luck. Here's my own populate.sh (just FYI), and some errors I
get with yours (the same as before). 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: populate.sh.mine
Type: application/octet-stream
Size: 330 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20080627/b6e04406/attachment.obj>
-------------- next part --------------


| In file included from /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:40,
|                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:30,
|                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:33,
|                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:126,
|                  from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:21,
|                  from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:22,
|                  from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:21,
|                  from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:9,
|                  from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:108,
|                  from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
| /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h: In function '_mm_cvtsi32_si64':
| /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h:68: error: can't convert between vector values of different size
|  _m_from_int
|  _mm_cvtsi64_si32
|  _m_to_int
|  _mm_packs_pi16
| 
| /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h: In function '_mm_packs_pi16':
| /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/mmintrin.h:150: error: can't convert between vector values of different size
|  _m_packsswb
|  _mm_packs_pi32
| 
| [...]



> I'm not really sure that that's necessary, since Cocoa.h seems to (via
> a twisty maze of #include's, all alike ...) already include
> ApplicationServices.h. (I may be mistaken about that, but that's my
> recollection.)

   Hmmm, I had to use things like CGColorGetConstantColor and
 kCGColorBlack and stuff, but CCL complained it didn't know these things.
 So I read Apple's dev documentation and figured out it was part of the
 ApplicationServices framework...

-- 
5th European Lisp Workshop at ECOOP 2008, July 7: http://elw.bknr.net/2008/

Didier Verna, didier at lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (0)1 44 08 01 85
94276 Le Kremlin-Bic?tre, France   Fax.+33 (0)1 53 14 59 22  didier at xemacs.org


More information about the Openmcl-devel mailing list