[nem-en] Gtk not found

Michal Moskal michal.moskal at gmail.com
Wed Oct 19 10:28:54 CEST 2005


On 10/19/05, Jim Apple <japple at freeshell.org> wrote:
> when compiling the example at http://nemerle.org/Gtk_text_editor , I get
>
> [~/nemerle/code/gtk text editor]$ ncc SimpleEditor.nemerle
> SimpleEditor.nemerle:4:1:4:16: error: unbound type name `MenuItem'
> SimpleEditor.nemerle:35:1:35:17: error: unbound type name `Window'
> SimpleEditor.nemerle:38:1:38:17: error: unbound type name `TextView'
>
> I assume it's a Gtk problem; I have the base Mono install from
> http://www.mono-project.com/InstallerInstructions .
>
> What am I doing wrong?

You should add -pkg:gtk-sharp to your compilation command line. More
details here:
http://nemerle.org/Gtk_text_editor#Compiling_examples

Hope this helps!

--
   Michal Moskal,
   http://nemerle.org/~malekith/



More information about the devel-en mailing list