[Mono-list] Mono embedded runtime

Paolo Molaro lupus@ximian.com
Tue, 26 Nov 2002 16:39:08 +0100


On 11/23/02 Kai Strempel wrote:
> today I tried to use the mono embedded runtime. I have a link problem
> with it. I linked a small test program to load an assembly with
> mono_assembly_load. When I link with -lmono -lglib-2.0 -lgmodule I get
> an link error against the 'mono_assembly_load' command.
> 
> Have I forgot an lib or anything ???
> 
> Are anywhere examples to embedded the runtime ???

Look into mono/samples/embed.
Note, you should use pkg-config to get the arguments to hand to the
compiler to properly link and compile the program.
Also, make sure you installed the libraries properly and you don't have
old versions somewhere on your system.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better