[Mono-list] Can't Port Winforms App [newbie]
sgc9812 at gmail.com
Sat Jan 7 09:04:44 EST 2012
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
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?
> Anyway, I'm not sure what's wrong. Is the app you're trying to run
> available somewhere?
> sgc9812 wrote
>> When, from the "Mono Command Prompt", I invoke:
>> 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:
>> Visual C# 2010 Express
>> Mono installed using the
>> Windows Combined Installer [WCI].
>> Gtk# installed using
>> Gtk# for .NET .
>> http://mono-project.com/MoMA Mono Migration Analyzer installed.
View this message in context: http://mono.1490590.n4.nabble.com/Can-t-Port-Winforms-App-newbie-tp4270054p4273006.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list