Re: [Vala] Vala and Curses



Check out this:

http://hg.youterm.com/racu

Thats a tiled window managing library for handling simple textual widgets with  ncurses in Vala.

Read the makefiles tonsee how to link against ncurses from vala.

dpkg -L libncurses5-dev 

There's also ncurses<tab>-config program that works like pkg-config to get the cflags and ldflags.

Hope it helps

On 25/04/2011, at 20:23, Lewis Gunsch <lgunsch gmail com> wrote:

Hi,

Is there not a package for Monodepelop already? You should be able to just
install it using Add/Remove Programs.

As for the make error, you will have to post more details before I can help.

~Lewis

On Fri, Apr 22, 2011 at 2:22 PM, Timothy Sassone <timothy s dev gmail com>wrote:

Hello, my name is Timothy; I recently set up the Gnome version of Linux
Mint
to dual-boot on my desktop.  I do a fair bit of hobby programming, mostly
in
C++ or C# up to this point, and I'd like to try Vala.  I've followed the
avaliable tutorials, and I'm getting the hang of the differences between it
and C# (as well as Java, which the university I'm attending teaches).  I
would like to try developing a curses-based (ncurses) application using
Vala
and MonoDevelop, but I'm having some difficulties in setting it up.

I first tried downloading the tar through firefox, unzipped it, and tried
to
build it using:

./configure
make

The configure command worked, but I received errors when I tried to make
it:

make[1]: *** [../objects/cursesf.o] Error 127
make[1]: Leaving directory `/home/-------/Desktop/ncurses-5.9/c++'
make: *** [all] Error 2

At a later suggestion I found through Google, I tried to apt-get ncurses:
sudo apt-get install build-essentials
sudo apt-get install libncurses5-dev

But it couldn't seem to find either package.  Unfortunately, my only real
experience in programming thus far has been in either NetBeans or Visual
Studio, and both on Windows.  Any pointers on how to set up
MonoDevelop/Vala
to work with curses would be most appreciated!  Ncurses was attempted only
because my initial searches for Vala curses bindings/vapi file returned
results from this mailing list, in which is mentioned being tested and
functional with ncurses.  Any curses variant/branch which works with Vala
would be fine.

Thank you for your time and effort,
Timothy S.

_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list


_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]