[Mono-list] Problems with Visual Studio 2005 compiled code
eric at rengeo.com
Thu Aug 30 12:55:55 EDT 2007
I can send you the executable and libraries, but I cannot send the source
code. Would you prefer if I emailed it or uploaded a tar.gz to our site?
The size is around 8mb I believe.
Can you please explain what PE+ means? At first, I targetted x64 platform.
Then, I tried "Any CPU". The reason is, because even with a 64bit version
of mono, on a 64bit machine, we are still getting out of memory exceptions
when our program gets too large, even when there's plenty of memory
available (like.. 8gb workstations). We assumed it was because the compiled
source code is still compiled for a 32bit platform and hits that address
space limit, which is why we're trying to compile like this in the first
To make the csharp code native, would I need to compile with mcs/gmcs on
Thank you for your help!
On 8/30/07, Jonathan Chambers <joncham at gmail.com> wrote:
> This definitely looks like an issue with running a PE+ executable
> (produced if you target the x64 platform). If I try to run a PE+ executable
> under mono I get:
> Cannot open assembly test.exe.
> Mono currently does not support PE+, although it may in the near term as
> the consensus is that is shouldn't be too hard to do. I'm guessing both
> times you somehow produced a PE+ executable. Try specifically targeting x86
> as the platform and see if you application runs.
> On 8/30/07, Paolo Molaro <lupus at ximian.com> wrote:
> > On 08/29/07 Eric Morgan wrote:
> > > Code compiled from VS2005 does not run under mono. It says that it
> > cannot
> > > open the assembly (Main executable). The same mono version will run
> > other
> > > apps compiled with our old VS2003. Is there some configuration option
> > I'm
> > > missing? What else can I do to troubleshoot it to at least see what's
> > wrong?
> > >
> > > Mono-INFO: Assembly Loader probing location:
> > >
> > '/home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe'.
> > >
> > > Mono-INFO: Unloading image
> > >
> > /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe
> > > [0x7826c0].
> > > Cannot open assembly
> > >
> > /home/rengeo/RenegadeGeophysics/SeismicStudioLinux/SeismicStudio1.3.3/SeismicStudio.exe.
> > I guess you can't share that app with us? It looks like an issue with
> > the loader: it may be over-zealous in some sanity checks it is doing.
> > If you can't send the program to me (there is no need to send it to the
> > list), you could try to send me just the first 4 or 8 KBs of it: it may
> > be possible that would be enough to see what is going on.
> > Or if you can get a binary of some other program compiled with VS2005
> > that fails to load in the same way, that would work too.
> > Thanks!
> > lupus
> > --
> > -----------------------------------------------------------------
> > lupus at debian.org debian/rules
> > lupus at ximian.com Monkeys do it better
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list