[Mono-list] Can't Port Winforms App [newbie]

sgc9812 sgc9812 at gmail.com
Sat Jan 7 09:43:28 EST 2012


Log file is attached...

http://mono.1490590.n4.nabble.com/file/n4273121/error.log error.log 


Slide wrote
> 
> On Sat, Jan 7, 2012 at 7:04 AM, sgc9812 <sgc9812@> wrote:
> 
>> The app is actually a dummy app -- something I threw together yesterday
>> to
>> check how much of the VisualC# WinForms palette could be handled by Mono.
>>  I
>> just threw in one of every widget my [future] project might need.  My
>> plan
>> was to then check the Mono port periodically during development, to know
>> when I "broke" it.  Maybe even workup some sort of "daily build"
>> including
>> the Mono port.
>>
>> My problem seems simple [the app fails to execute in Mono because
>> DllImport
>> is attempting to locate libc and libX11], yet no one else seems to share
>> my
>> problem, so this "/feels/" like an installation problem.  I'm planning to
>> uninstall, re-read the setup info, and go thru the initial installation
>> process again from scratch.
>>
>> Again, my only install/setup/config/prep activities were:
>>    1) Install Visual C# 2010 Express;
>>    2) Install Mono using the
>>
>> http://download.mono-project.com/archive/2.10.8/windows-installer/1/mono-2.10.8-gtksharp-2.12.11-win32-1.exe
>> Windows Combined Installer .
>>
>> I performed no other setup or configuration...  No environmental sets...
>> No
>> path modifications... No app configurations...  Is there any other basic
>> setup or configuration I could be missing?  Something obvious?
>>
>>
>> Stifu wrote
>> >
>> > [...snipped...]
>> > Anyway, I'm not sure what's wrong. Is the app you're trying to run
>> > available somewhere?
>> >
>> >
>> > sgc9812 wrote
>> >>
>> >> [...snipped...]
>> >> When, from the "Mono Command Prompt", I invoke:
>> >>      MyApp.exe
>> >> the app I built in VisualC# starts and operates as expected.
>> >>
>> >> However, when I invoke:
>> >>     mono MyApp.exe
>> >> [with output redirected to an error log and MONO_LOG_LEVEL=debug], it
>> >> appears that DllImport is unable to locate /libc /and /X11/.
>> >>
>> >> I don't understand why Mono is trying to locate /libc /and /libX11
>> /for
>> >> my /Windows /application?  What [basic setup] am I missing?
>> >>
>> >> Background info:
>> >>     Windows7
>> >>     Visual C# 2010 Express
>> >>     Mono installed using the
>> >>
>> http://download.mono-project.com/archive/2.10.8/windows-installer/1/mono-2.10.8-gtksharp-2.12.11-win32-1.exe
>> >> Windows Combined Installer  [WCI].
>> >>     Gtk# installed using
>> >> http://download.mono-project.com/gtk-sharp/gtk-sharp-2.12.10.win32.msi
>> >> Gtk# for .NET .
>> >>      http://mono-project.com/MoMA Mono Migration Analyzer  installed.
>> >>
>> >> [...snipped...]
>> >>
>> >
>>
>>
> Can you paste the actual errors?
> 
> slide
> 
> 
> -- 
> Website: http://earl-of-code.com
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at .ximian
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/Can-t-Port-Winforms-App-newbie-tp4270054p4273121.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list