[SOLVED] C# and Gtk-Sharp on A20

Started by armandob, September 26, 2013, 05:32:56 PM

Previous topic - Next topic

armandob

http://img23.imageshack.us/img23/7868/oat4.png

in this images: oxymentary icon theme - oxygen theme - comex-gtk (C# application with gtk-sharp gui to exchange data with smartcards)

i followed this steps:

MONO FRAMEWORK
from post http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=37174&start=42 of raspberry download
binaries:
# wget https://www.dropbox.com/s/sask17flot3zqlg/mono_2_11_4_armv6hf_binary.tgz

extract it on root:
Quote# tar zxf mono_2_11_4_armv6hf_binary.tgz
# cp -R usr / (will create /usr/local/bin/ .... mono packages and gac assemblies)
# ldconfig

at now get latest from git
# git clone -b armhf-port git://github.com/directhex/mono-1.git
# cd mono-1
# git submodule init
# git submodule update
# ./autogen.sh --prefix=/usr/local
# make CFLAGS=-DARM_FPU_VFP_HARD
# make install


workaround for gac on directhex repo:
# cd /usr/local/lib/mono
# mv 4.0 4.0bak
# ln -s 4.5 4.0



GTK-SHARP (GTK from C#)
# git clone -b gtk-sharp-2-12-branch https://github.com/mono/gtk-sharp.git
# cd gtk-sharp
# ./autogen.sh --prefix=/usr/local
# make
# make install