beginner trying to create a application

View: New views
3 Messages — Rating Filter:   Alert me  

beginner trying to create a application

by TeamChaos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

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?

thank you all!

greets,
dars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGhUbZlXy8PDXPCtYRAp6GAJ9vqekdpyVHcBExDa+fQDdbMSJ1aACfTohi
KrPcriuGYlQKZtAQzLQoN2I=
=GQwh
-----END PGP SIGNATURE-----
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: beginner trying to create a application

by choclatboy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

TeamChaos wrote:
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?
hi,

I suppose you're starting the application (exe file) directly by double click on it or from the console.
The solution is:
 - Execute you application using the mono.exe (C:\program files\mono-xxx\bin\mono.exe) like this: "mono youApp.exe".
 - If you want to execute you apps using the MS Framework and the GT# libraries, you have to add this libraries to the GAC.

Re: beginner trying to create a application

by Wade Berrier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Fri, 2007-06-29 at 19:52 +0200, TeamChaos wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi,
>
> 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.

Wade

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list