[Mono-osx] Unable to compile app

Francisco Figueiredo Jr. francisco at npgsql.org
Wed May 26 19:30:44 EDT 2010


On Wed, May 19, 2010 at 06:47, Mario De Clippeleir <mariodc at sydec.be> wrote:
> Hi,
>
Hi!

Have you seen the post on this list titled:
[Mono-osx] Redistributable Mac OSX app without mono using mkbundle2

I think you can get a lot of information there.

I hope it helps.


> 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
>



-- 
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://fxjr.blogspot.com
http://twitter.com/franciscojunior


More information about the Mono-osx mailing list