[Mono-osx] Unable to compile app

Mario De Clippeleir mariodc at sydec.be
Wed May 19 05:47:25 EDT 2010


Hi,

I was working with Mono 2.6.3 on Leopard and my application compiled and 
was working (using mkbundle). I moved everything to Snow Leopard. Did a 
clean install of Mono Framework and its CSDK, but now i am getting 
always errors while trying to compile :

  [mkbundle] In file included from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/glib-2.0/include/glibconfig.h:9,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib/gtypes.h:34,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib/galloca.h:34,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib.h:32,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/assembly.h:4,
  [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib/gmacros.h:40:20: 
error: stddef.h: No such file or directory
  [mkbundle] In file included from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib/gtypes.h:34,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib/galloca.h:34,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib.h:32,
  [mkbundle]                  from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0/mono/metadata/assembly.h:4,
  [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/glib-2.0/include/glibconfig.h:11:20: 
error: limits.h: No such file or directory
  [mkbundle] 
/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/glib-2.0/include/glibconfig.h:12:19: 
error: float.h: No such file or directory
  [mkbundle] In file included from 
/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0/glib/gthread.h:34,

etc....

Output of pkg-config --cflags -libs mono is :
-D_THREAD_SAFE -D_REENTRANT 
-I/Library/Frameworks/Mono.framework/Versions/2.6.4/include/mono-1.0 
-I/Library/Frameworks/Mono.framework/Versions/2.6.4/include/glib-2.0 
-I/Library/Frameworks/Mono.framework/Versions/2.6.4/lib/glib-2.0/include 
  -pthread -L/Library/Frameworks/Mono.framework/Versions/2.6.4/lib 
-lmono -lpthread -lm -lgthread-2.0 -lglib-2.0 -lintl

Any ideas what's  causing this ?

Thx,

Mario


More information about the Mono-osx mailing list