Problem when using NCurses

olivier auverlot <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <CAJK8VoZmHCOyayhGf7Zv6k-4jAgiuren9etUpNZPkn8GQxLzNA@mail.gmail.com>
Hi,

I try to use NCurses with GNU Smalltalk but I have some difficulties.

I have downloaded the version 3.2.5 of GNU Smalltalk and compiled it on a
Debian server (8.3 - 64 bits).

Gst works fine but if I try to use NCurses with the code:

PackageLoader fileInPackage: 'NCurses'.
NCWindow clock

I got the following error message:

Object: CFunctionDescriptor new: 1 "<0x7f23abdbb2c0>" error: Invalid C
call-out initscr
SystemExceptions.CInterfaceError(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.CInterfaceError class(Exception class)>>signal:
(ExcHandling.st:161)
CFunctionDescriptor(CCallable)>>callInto: (CCallable.st:165)
NCWindow class>>primInitScr (NCurses.star#VFS.ZipFile/ncurses.st:1)
NCWindow class>>initscr (NCurses.star#VFS.ZipFile/ncurses.st:1360)
NCWindow class>>clock (NCurses.star#VFS.ZipFile/ncurses.st:2712)
UndefinedObject>>executeStatements (a String:1)
nil


libncurses is already installed in my system and I have no error at
compile time.

Someone has an idea ?

Best regards

Olivier
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.