[Mono-dev] Where is mono_burg_arity supposed to be defined ?
robertj at gmx.net
Fri Aug 25 08:36:30 EDT 2006
Andreas Lagemann wrote:
> I'm trying to compile mono on WinXP because I want to use the mono
> runtime in a C++ application(i.e. embedding mono) running under windows.
> So in order to get a working libmono.lib I tried to compile mono from
> svn as described on the mono pages. So first I built the whole thing
> under cygwin. Then I opened mono.sln and went with clean sln and build
> sln. After adding a couple of files to the solution which were missing
> I'm stuck with an: "unresolved external symbol _mono_burg_arity". The
> mini.h file declares this as external so it's supposed to be linked in
> from some library or object file, but I can't figure out which file this
> could be. As it is apparently missing from the solution properties I
> would be glad if someone could tell me which file I have to add to the
> solution to get this build finished. There are other _mono_burg...
> symbols missing as well but I suppose there all in the same file.
I can't help you with the build issue, because the VS.NET build
is unsupported and broken from time to time.
I can provide you a VC++ DEF file for the runtime DLL
(mono-1.dll), that gets installed with Mono's Win32 Installer.
Having this file (see atachment), you don't need to build Mono
with VC++ any more.
Q: How do I generate a LIB file from the DEF?
A: Using VC++'s LIB.EXE tool:
lib /def:mono-1.def /out:mono-1.lib /machine:x86
Q: How do you I compile with VC++ against Mono's runtime DLL?
A: Have a look at this command line and at the sample C code.
monotest.c /MD mono-1.lib
root = mono_jit_init ("test");
printf ("%d\n", root != NULL);
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12183 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060825/776de99e/attachment.gz
More information about the Mono-devel-list