[Mono-list] beginner trying to create a application
wberrier at novell.com
Fri Jul 6 00:59:00 EDT 2007
On Fri, 2007-06-29 at 19:52 +0200, TeamChaos wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> i like to create an application with a database usable in windows, linux
> and mac.
> so i choose mono, gtk# and sqlite for my purpose.
> but i'm getting a lil frustrated because support is heavily available
> especially for beginners i think.
> i did a lil test app, not big thing really:
> i'm using monodevelop within ubuntu.
> i started a new project choosing "Gtk# 2.0 Project" in Monodevelop.
> then i put 2 or 3 buttons on the main window and some label and text entry.
> then i added some testing for the sqlite database. just connection and
> creating a new database.
> that all works perverctly when running from monodevelop or even in linux.
> but swifting to windows... (i don't have mac yet).
> it puts me a error saying it can't find and by that load the gtk-sharp
> assembly (version 2.10).
> i thought that is installed with the mono windows package?
> but even if i download it manually it gives the same error.
> what is wrong?
The issue is that your app is compiled against gtk# 2.10, where the
windows installer comes with gtk# 2.8. (The win32 installer will
probably upgraded to 2.10 for the next release).
A solution needs to be found to easily compile against older gtk#
versions to enable running on different/older systems. Until that
happens, this will be a common problem for people deploying gtk# apps
without recompiling. Mike Kestner talked about having "sdk" installs
for older gtk# versions to make this possible.
The Mac installation doesn't come with gtk#. There are some tutorials
out there on getting it installed, but it's quite the endeavor compared
to a simple install.
More information about the Mono-list