The Following 9 Users Say Thank You to pipeline For This Useful Post: | ||
![]() |
2008-02-29
, 14:06
|
Posts: 19 |
Thanked: 6 times |
Joined on Oct 2007
|
#2
|
![]() |
2008-02-29
, 15:46
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#3
|
The Following User Says Thank You to pipeline For This Useful Post: | ||
![]() |
2008-03-01
, 22:02
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#4
|
The Following User Says Thank You to pipeline For This Useful Post: | ||
![]() |
2008-03-07
, 14:31
|
Posts: 53 |
Thanked: 44 times |
Joined on Feb 2008
|
#5
|
The Following User Says Thank You to psykosis For This Useful Post: | ||
![]() |
2008-03-07
, 17:15
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#6
|
![]() |
2008-03-08
, 17:03
|
Posts: 53 |
Thanked: 44 times |
Joined on Feb 2008
|
#7
|
![]() |
2008-03-21
, 02:16
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#8
|
The Following User Says Thank You to pipeline For This Useful Post: | ||
![]() |
2008-03-21
, 04:53
|
Posts: 157 |
Thanked: 16 times |
Joined on Jan 2008
|
#9
|
![]() |
2008-03-21
, 11:28
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#10
|
Here's the quick howto for setting up Mono 'compile-on-device' for OS2008/7 (not sure about 2006)
Step 1 :
Add mono repo : (name 'Mono', web address 'http://go-mono.com/maemo', distribution 'bora', components 'user')
Install mono-runtime and publicly-available mono libraries (this first iteration uses 1.0 libaries)
- Install mono-runtime
- Install gtk-sharp2
- Install libmono-system1.0-cil
- Optional grab all the other mono libs since they take up so little space
(close app manager)
Step 2 :
Install my deb of mono pkg-config files (needed for 'linking' against libs) :
http://wardenclyffetower.com/MaemoFi...-1.2.5.all.deb
Step 3 :
Install my deb of the mono compilers (since not available from mono maemo repo) :
http://wardenclyffetower.com/MaemoFi...-1.9.0.all.deb
Step 4 :
Enable red pill mode in the App Manager and then install this (pkg-config utility) :
http://wardenclyffetower.com/MaemoFi....2-1_armel.deb
Now go back into blue pill mode in app manager... and your done.
You can now natively compile mono gtk apps on device.
Step 5 :
Underneath your home directory create a new directory to work in.
Create hello.cs file there containing :
If you use namespaces in other assemblies, make sure you not only include the namespace but add the package to the compile command line.
For example a gtk/glade application will need to be compiled with :
mcs myappname.cs -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0
Last edited by pipeline; 2008-04-06 at 23:31.