[Mono-list] Unable to compile my app

Mario De Clippeleir mariodc at sydec.be
Thu May 20 05:47:27 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
_______________________________________________
Mono-osx mailing list
Mono-osx at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-osx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100520/1e938e51/attachment.html 


More information about the Mono-list mailing list