I am trying to debug C code, mostly to step through the mono runtime itself.
The issue seems to arise really quickly and I do not expect c# code (mine or
the framework's) to be at fault here. That said, I would not at all refuse a
howto guide for mixed mode (C and C#) debugging on Linux (not pos
I have an R package with embedded Mono, on Linux, that is working on Mono
3.12.x series but broken since Mono 4.0.x.
Crashes with:
Assertion at sgen-alloc.c:774, condition `tlab_next_addr_offset != -1' not
met
Repro and details at https://github.com/jmp75/rClr/issues/7, but optional for
th
The csproj files can be generated by a C# program under msvc/scripts. The
resulting csproj are pushed to github from time to time, but you can generate
them yourself if need be. I worked on this a couple of years ago, and I think
Miguel did further work in May 2014.
Hi,
Just reporting I got similar issues compiling from the 3.8.0 tarball, on a
CentOS system (with or without a previous working mono runtime already
available). Not quite the message in that bug report, but failing to find a
working gmcs (sorry cannot access the message details right now), wit
The solutions under msvc/script are (were) generated by parsing the Makefiles.
Work done ~2 years ago was to make the resulting sln/csproj files more
navigable (F12 and so on) from visual studio. While attempted, building to
completion a substantial subset of the c# part of Mono was (is?) in the
Michael,
how are you fitting msbuild in the build process? Just to confirm if you using
the generation of csharp project files and solutions for visual studio? A
couple of years back I worked on unwinding the circular build dependencies to
build the assemblies from VS. As I recall, even then I
Sorry, somehow I misread who was saying what; I should have addressed the mail
primarily to Miguel.
Happy to provide further information. I think Marek Saraf is the person that
merged these updates in 2012 to the VS build process.
For reference (won't provide much additional material) I have a
I can report I could compile from the git tag 3.2.8 and the tarball, on a
Debian unstable x64, doing a make while a mono 3.2.3 was installed. I had
messed up my local 3.2.3 and needed to rebuild/reinstall it to successfully
compile 3.2.8.
I also had some difficulties on CentOS starting from the
Hi,
I am trying to test an app on Mono 3.2.7, but cannot seem to get it to build
properly. I can check out the 3.2.3 branch, and build/install it bootstrapped
with the prepackaged 3.0.6, but whether I use 3.2.3 or 3.0.6 as a bootstrap the
build of 3.2.7 fails.
If anyone has a hunch or advice.
Hi Edward,
At least a couple of people including myself have an interest in recommended
dev env to work on Mono itself (
http://lists.ximian.com/pipermail/mono-devel-list/2013-July/040638.html). A
Howto on recommended setup for Mono contributions would save a fair bit of time
and hassle for co
Hi Marcello,
I cannot provide knowledge on xbuld/msbuild as such but can give some
background on the .csproj files.
I worked on the csproj file generation 1-2 years ago, and introduced the
multiple csproj files with the profile as extension. The idea is to aim for
solutions that should “just b
Hi Alex,
Thanks for the information; I sometimes need to dive into the C code to get it
to compile under MSVC and your heads up is a time saver. You may want to
fork+branch and do a pull request if you think these fixes are not temporary
hacks.
profiler-cov is a .vcxproj file, and AFAIK not ge
A blank line is certainly not the expected behaviour of a Mono 'make'. I tried
to checkout the master branch to double check what you describe but encountered
instead "fatal: Not a git repository" for an external module. Seen that git
annoyance in the past, can fix but I don't have enough time.
Hi,
I have bumped in a bug with time zone date-time conversion
(https://r2clr.codeplex.com/workitem/65 but I am pretty sure the underlying
issue is e.g. https://bugzilla.xamarin.com/show_bug.cgi?id=1849)
I'd like to see whether I can contribute a fix. I am used to test-driven
development with
Hi,
I'd like some guidance on how to free memory in an embedded Mono scenario.
I 'monkeyed' a few things started from the embedded samples in the mono
codebase, but they are limited to g_free calls on UTF8 strings. I think I
figured out I needed to use mono_gchandle_new and mono_gchandle_free t
It seems I was barking up the wrong tree. A week ago the following variable
assignments were added to the threads.c, coming from the NaCl contributions it
seems. For some reason, the MSVC++ compiler is not happy. Commenting out and
then libmonoruntime.vcxproj compiles.
Any suggestions? I strongl
Hi Jonathan,
I don't think there are some tools to update the VCXproj files. These do not
need changing often so a manual process is fine.
I still have trouble compiling, in fact with a most recent checkout, I cannot
get a compiled mono-2.0.dll in any of the solution's combinations of
configur
Hi,
I also noticed a couple of issues building a recent tag (3.0.9) with MSVC,
mostly trivia but one of them trickier and preventing building x64 on Windows.
I'll try to look at it further in the coming month and put a pull request if
successful. By the way is it acceptable to migrate the proje
Hi,
While trying to use xbuild on Windows I noticed that dmcs.bat seems to be
missing from the 3.0.6 /bin directory
Microsoft.CSharp.targets: error : Error executing tool
'C:\PROGRA~1\MONO-3~1.6\bin\dmcs.bat' [...] Native error= The system cannot
find the file specified.
I think it is
Hi,
While trying to use xbuild on Windows I noticed that dmcs.bat seems to be
missing from the 3.0.6 /bin directory
Microsoft.CSharp.targets: error : Error executing tool
'C:\PROGRA~1\MONO-3~1.6\bin\dmcs.bat' [...] Native error= The system cannot
find the file specified.
I think it is
Hi,
I have a scenario where some C function is getting a MonoObject (*pobj) that
happens to be an IntPtr. As the native pointer is known to be of a certain
native type (SEXP), how do I retrieve it? I tried a few things, the latest
being:
type_il =
mono_type_get_type(mono_class_get_typ
Hi,
The compilation instructions (on the web site and in the msvc README) are a bit
outdated, but this is relatively easy to figure out.
I can compile libmono and its dependencies with minimal changes to a recent git
clone. I used VS2012 but I don't think VS2010 would be a very different story.
Hi,
A project of mine using Mono embedding started displayed issues when I started
to execute managed code with extension methods. I've isolated the issue and can
submit one or two bug reports, but in the meantime advice/insight is welcome.
Being stuck, I'd gladly take any suggestion on a worka
Hi,
I finally followed up on some upgrades to the build process generating the
visual studio csproj and solution files. For reference prior discussions are at
http://lists.ximian.com/pipermail/mono-devel-list/2012-May/thread.html#38852.
I have a fork at https://github.com/jmp75/mono/commits/mas
Hi,
I am working on a package to access the Mono (resp. MS.NET) CLR from the R
statistical language. I am trying to convert 'simple' CLR value types (e.g.
string, double, bool, DateTime) to marshall them to their R equivalent. I
managed to deal with the 'bool', but stumbled on the DateTime
Hi Marek,
I have ironed out most issues I had to get to compiling a large part of the
assemblies in VS/msbuild from scratch. What was the scope of the cleanup you
are undertaking? I'd like to put in a pull request, but would like to have an
idea of the scope of your change to minimise duplicate
Hi Miguel, mono-devel subscribers,
Thanks Miguel, your description helped me figure out a couple of key things.
I'm gradually getting on top of the mcs/class build process and its
translation to VS solutions/projects. There was already a lot of prior work
done by Sebastien Pouliot (I think) a
Thank you for this info Miguel
Making progress with msvc, with a lot of second guessing, but I cannot seem to
fully get out of the circular dependencies easily. After fixing a few things,
there seems to be a two to three stage build process ('basic', 'build' and,
well, the huge rest). I can bui
Hi,
I gather that some effort was made to compile Mono with VS or the .NET
framework SDK on Windows a few years ago. This past couple of days I looked
into it as I am developing for Mono and MS .NET embedding. While I use
occasionally MonoDevelop, which may be the preferred tool now, with debug
29 matches
Mail list logo